Technical impact
The vulnerability resides in the ALSA rawmidi driver in the Linux kernel and introduces a use‑after‑free condition. When a USB MIDI device’s subscription is removed, work that has already been queued can still run after the runtime memory is freed, causing the kernel to read from deallocated memory. An attacker feeding crafted data via a USB MIDI device could trigger a crash or, in the worst case, execute arbitrary code with kernel privileges. The secure‑coding inference indicates that this flaw has the potential for privilege escalation, but the exact impact is limited to the size of the exposed memory and the ability to cause a kernel fault. The description is directly supplied by the CVE text.
Affected Systems
All Linux kernel releases that include the ALSA rawmidi implementation before the patch are affected. The vendor is the Linux kernel maintainers, and the product is the generic Linux distribution kernel. No specific version range is listed, so all kernels lacking the runtime drain fix are potentially vulnerable.
Risk and Exploitability
No EPSS score is published and the vulnerability is not listed in the CISA KEV catalog, suggesting limited known exploitation. Based on the description, it is inferred that the exploit requires a local USB MIDI device, making the attack vector local. The likely exploit scenario is that a malicious user plugs a crafted device while the system is running, causing the kernel to process the enqueued work after the runtime has been freed, leading to a use‑after‑free. The severity, as measured by CVSS, remains high due to the kernel distance and privilege escalation potential. The exploitation probability is considered moderate if an attacker can supply a USB MIDI device; otherwise it is unlikely.