Cloudanix VulnDB

CVE-2026-52963

None

CVSS

—

EPSS

0.2%

Published

Jun 24, 2026

CISA due date

—

Cloudanix analysis

Schedule a fix SSVC: Track

A specially crafted USB audio or MIDI device could cause some Linux systems to crash when it is plugged in.

Exploitation
Physical Access
Attacker needs
Physical Access
Complexity
Moderate
Impact
Denial Of Service
Component
OS kernel
Class
Improper Input Validation
Remediation
Patch
Effort
Medium
Patch risk
Medium

What it actually does

This is an improper input validation flaw in the Linux kernel ALSA USB audio/MIDI driver. When parsing class-specific USB MIDI endpoint descriptors, the descriptor walker can accept a descriptor whose bLength field extends beyond the remaining endpoint-extra buffer. Later parsing may then read flexible-array data using the descriptor-reported length rather than the actual remaining buffer size, creating an out-of-bounds read in kernel context. The most likely technical outcomes are kernel memory access faults, system instability, or denial of service when a crafted USB audio/MIDI device is enumerated; broader impact would depend on whether adjacent memory can be meaningfully consumed or exposed by the driver path.

Why it matters to the business

Systems that allow untrusted USB devices, USB docks, KVMs, embedded peripherals, or USB pass-through could be crashed or destabilized by a maliciously crafted USB audio/MIDI device. The practical risk is lower than an internet-exposed remote vulnerability because exploitation generally requires physical, local, or USB-redirection access, and the vulnerability is not listed in CISA KEV, has no known exploit maturity, and currently has a low EPSS score. However, laptops, workstations, kiosks, recording/media systems, and industrial or embedded Linux devices that routinely accept external USB peripherals may face operational disruption if they run an affected kernel.

How an attack unfolds

An attacker prepares a malicious USB device, or a USB-emulation path such as USB pass-through, that presents itself as a USB audio/MIDI device with malformed class-specific endpoint descriptors. During device enumeration, the Linux kernel loads or invokes the snd-usb-audio driver and begins walking the endpoint-extra descriptor data. The crafted descriptor advertises a bLength value that is nonzero but larger than the remaining bytes in the descriptor scan. Without the fix, the parser can return that descriptor and later code reads flexible-array fields according to the descriptor length rather than the actual available buffer. This can cause the kernel to read past the supplied descriptor data, potentially triggering a kernel fault, driver crash, or system-wide denial of service.

How to fix it

Apply the Linux kernel update from the relevant distribution or kernel vendor that includes the ALSA usb-audio fix for bounded MIDI endpoint descriptor scans. Because no product-specific fixed versions were provided, use vendor advisories and changelogs to identify the first kernel package containing the fix for this issue. Where immediate patching is not possible, reduce exposure by blocking untrusted USB peripherals, disabling USB audio/MIDI support where operationally acceptable, unloading or blacklisting the snd-usb-audio driver on systems that do not require it, enforcing USB device control policies, and limiting USB pass-through into virtual machines or remote desktop sessions.

How to confirm the fix worked

Confirm that the running kernel package, not only the installed package, includes the vendor fix; reboot after updating if required. Check whether USB audio support is present or loaded using commands such as lsmod for snd_usb_audio and by reviewing kernel configuration for USB audio support. Validate endpoint exposure by confirming that untrusted USB device attachment and USB pass-through are restricted on systems where patching is delayed. In a controlled lab only, regression-test with malformed USB descriptor cases or vendor-provided kernel self-tests/fuzzing harnesses to confirm the descriptor parser rejects descriptors whose bLength is zero or extends beyond the remaining endpoint-extra scan.

Typical attack path

  1. Attacker obtains physical access to a Linux system or access to a channel that can present USB devices, such as USB redirection, a malicious dock, or a compromised peripheral path.
  2. Attacker connects or exposes a crafted USB audio/MIDI device with malformed MIDIStreaming endpoint descriptor length fields.
  3. The Linux kernel enumerates the device and invokes the ALSA USB audio driver.
  4. The vulnerable descriptor-walking logic accepts a class-specific endpoint descriptor whose bLength exceeds the remaining endpoint-extra buffer.
  5. Subsequent MIDI descriptor parsing performs out-of-bounds reads in kernel context.
  6. The system may log USB/audio driver errors, produce a kernel oops, hang, reboot, or otherwise become unstable.

How to detect it

To determine whether this may already have been exploited, review kernel logs, system journals, crash dumps, and endpoint telemetry around the time of USB device insertion or unexpected reboots. Focus on logs from dmesg, journalctl -k, /var/log/kern.log, /var/log/messages, crash dump facilities such as kdump, and endpoint USB-device inventory events. Look for newly attached or unusual USB audio/MIDI devices immediately followed by ALSA, snd-usb-audio, usbcore, or kernel oops messages. Useful artifacts include stack traces referencing snd_usbmidi_get_ms_info or snd-usb-audio, repeated USB enumeration failures, sudden host reboots after USB attachment, and unexpected composite devices identifying as audio or MIDI peripherals. Because exploitation requires a crafted descriptor and may leave no stable file artifact, absence of logs does not prove non-exploitation, especially if kernel logs rotate on reboot.

  • snd_usbmidi_get_ms_info
  • snd-usb-audio
  • snd_usb_audio
  • ALSA: usb-audio
  • usb-audio
  • MIDIStreaming
  • BUG: kernel NULL pointer dereference
  • BUG: unable to handle kernel paging request
  • Oops:
  • general protection fault
  • kernel panic
  • usbcore: registered new interface driver snd-usb-audio
  • new full-speed USB device
  • new high-speed USB device

What your security team should do

  • Prioritize kernel updates for Linux laptops, workstations, kiosks, media-production systems, embedded devices, and any hosts where users or third parties can attach USB peripherals.
  • If patching is delayed, temporarily restrict untrusted USB devices using endpoint management, udev/USBGuard policies, BIOS/UEFI port controls, or physical port controls.
  • Disable, unload, or blacklist snd-usb-audio on systems that do not require USB audio or MIDI functionality.
  • Review virtualization, VDI, and remote support configurations to prevent arbitrary USB audio/MIDI pass-through from untrusted clients.
  • Monitor kernel logs for USB enumeration failures, ALSA USB audio errors, and kernel oops traces involving snd-usb-audio after USB device insertion.
  • Treat unexplained crashes following attachment of audio, MIDI, docking, conferencing, or composite USB devices as potentially relevant and preserve kernel logs for investigation.

The record

In the Linux kernel, the following vulnerability has been resolved: ALSA: usb-audio: Bound MIDI endpoint descriptor scans snd_usbmidi_get_ms_info() validates the internal MIDIStreaming endpoint descriptor size before using baAssocJackID[], but the descriptor walker can still return a class-specific endpoint descriptor whose bLength exceeds the remaining bytes in the endpoint-extra scan. That leaves later flexible-array reads bounded by bLength, but not by the remaining bytes in the endpoint-extra scan. Stop walking when bLength is zero or extends past the remaining endpoint-extra scan.

Affected packages

Ecosystem Package Introduced Fixed