ALSA: usb-audio: Cancel pending work at closing a MIDI substream
Summary
GSD-2022-1003640: ALSA: usb-audio: Cancel pending work at closing a MIDI substream. Affects Kernel versions < 40bdb5ec957aca5c5c1924602bef6b0ab18e22d3. No fix is published. How to fix ↓
Check if this vulnerability affects your application
Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.
No signup required · Results in about 60 seconds
Background
The ALSA (Advanced Linux Sound Architecture) is a software framework and part of the Linux kernel that provides an API for sound card drivers. It allows applications to communicate with sound devices and perform various audio operations. The usb-audio driver is a component of ALSA that handles USB audio devices. MIDI (Musical Instrument Digital Interface) is a protocol used for communication between musical instruments and computers. The usb-audio driver supports MIDI functionality for USB audio devices.
This vulnerability in the usb-audio driver occurs when closing a MIDI substream. A substream represents a specific audio stream within a USB audio device. When closing a MIDI substream, there is a possibility of pending work not being properly canceled, leading to potential security issues.
Vulnerability Detail
The vulnerability in the usb-audio driver allows for pending work to not be canceled when closing a MIDI substream. This can result in various security risks, although the exact impact and attack plausibility have not been proven. Attackers may potentially exploit this vulnerability to execute arbitrary code, escalate privileges, or cause a denial-of-service condition. The vulnerability has been fixed in Linux Kernel version v5.10.121 by commit 40bdb5ec957aca5c5c1924602bef6b0ab18e22d3.
How To Fix
No fixed version is published for this vulnerability.
Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →
Workaround
There is no specific workaround mentioned for this vulnerability.
Conclusion
The ALSA usb-audio driver in the Linux Kernel is vulnerable to a security issue when closing a MIDI substream. This vulnerability has been fixed in Linux Kernel version v5.10.121. It is recommended to update the kernel to the fixed version to mitigate the risk. For further support on vulnerability remediation, please contact DevNack.com.
See every vulnerability recorded for Kernel →
FAQ
ALSA (Advanced Linux Sound Architecture) is a software framework and part of the Linux kernel that provides an API for sound card drivers.
The usb-audio driver is a component of ALSA that handles USB audio devices.
MIDI (Musical Instrument Digital Interface) is a protocol used for communication between musical instruments and computers.
A substream represents a specific audio stream within a USB audio device.
To fix this vulnerability, update the Linux Kernel to version v5.10.121 or later.
Related vulnerabilities
Recent vulnerabilities recorded for Kernel.