ALSA: usb-audio: Cancel pending work at closing a MIDI substream
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
ALSA: usb-audio: Cancel pending work at closing a MIDI substream
At closing a USB MIDI output substream, there might be still a pending work, which would eventually access the rawmidi runtime object that is being released. For fixing the race, make sure to cancel the pending work at closing.
From the CVE record · Linux
Closing a USB MIDI output substream can leave pending work that later accesses a released rawmidi runtime object. The input does not specify how an attacker could trigger or exploit this race, or whether authentication or user interaction is required.
Engineers running the Linux kernel with ALSA USB MIDI support should check their versions; affected versions are not specified.