Impact
The ALSA USB audio driver contains a race condition in the MIDI 2.0 input path. When a stream is created, URBs are submitted; if device setup later fails, the driver frees the endpoint memory but does not stop those URBs. The completion handler then dereferences freed data, causing a slab‑use‑after‑free. This flaw results in kernel memory corruption when the snd_usb driver processes a USB MIDI device that fails during initialization. The weakness is a use‑after‑free and involves improperly synchronized buffer deallocation (CWE‑825).
Affected Systems
The vulnerability exists in the Linux kernel ALSA subsystem for all builds that include the usb‑audio module. Vendor: Linux; Product: Linux kernel. Specific kernel versions are not listed, but the fix is available in later releases and by applying the upstream commit 3d961032a6e58fa485b3a4c0fe0f649334d887de. Any system running an unpatched kernel that loads the snd_usb driver and connects a USB MIDI device is potentially affected.
Risk and Exploitability
The CVSS score of 7.0 indicates high severity, while the EPSS score of <1% suggests a low current exploitation probability, and the vulnerability is not listed in the CISA KEV catalog. The flaw would be triggered during normal audio operations when a USB MIDI device is connected and the driver attempts to initialize it. Because the bug involves kernel memory corruption, any exploitation would occur at kernel level. The attack vector, as described by the bug, requires the device to be processed by the ALSA driver, which typically happens when the drivers are loaded and a USB MIDI device is present.
OpenCVE Enrichment