ALSA: usb-audio: Cancel pending work at closing a MIDI substream

Kernel Updated 02 Oct 2025

Summary

28/06/2022
N/A
No i
Unrated
Not published

GSD-2022-1003160: ALSA: usb-audio: Cancel pending work at closing a MIDI substream. Affects Kernel versions < 5e5fe2b6065541c6216a7a003b0cddf386be0d2d. No fix is published. How to fix ↓

Free scan

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.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored MarkAI Find prospects already talking about the problem you solve AI watches the communities your customers use to find qualified prospects, then alerts you when a conversation is worth joining. See MarkAI

Background

The ALSA (Advanced Linux Sound Architecture) is a software framework and part of the Linux kernel that provides an API for sound card device drivers. It allows multiple sound sources to be played on a single sound card simultaneously. The usb-audio driver is a part of ALSA that enables USB audio devices to be used with the Linux system. MIDI (Musical Instrument Digital Interface) is a protocol used for communicating musical information between devices. The usb-audio driver supports MIDI functionality for USB audio devices. However, a vulnerability has been discovered in the usb-audio driver that can be exploited when closing a MIDI substream.

Vulnerability Detail

The vulnerability in the usb-audio driver occurs when closing a MIDI substream. A substream is a logical audio channel within a sound card that can be independently controlled. When closing a MIDI substream, there is a possibility of pending work not being properly canceled. This can lead to a use-after-free vulnerability, where a reference to freed memory is still accessed. An attacker could potentially exploit this vulnerability to execute arbitrary code or cause a denial-of-service condition. The vulnerability has been fixed in Linux Kernel version v5.17.14 by commit 5e5fe2b6065541c6216a7a003b0cddf386be0d2d.

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 →

Conclusion

The ALSA usb-audio driver in the Linux Kernel is vulnerable to a use-after-free vulnerability when closing a MIDI substream. This vulnerability has been fixed in Linux Kernel version v5.17.14. It is recommended to update the Linux Kernel to the fixed version to mitigate the risk of exploitation. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

ALSA (Advanced Linux Sound Architecture) is a software framework and part of the Linux kernel that provides an API for sound card device drivers.

The usb-audio driver is a part of ALSA that enables USB audio devices to be used with the Linux system.

MIDI (Musical Instrument Digital Interface) is a protocol used for communicating musical information between devices.

A substream is a logical audio channel within a sound card that can be independently controlled.

To fix this vulnerability, update the Linux Kernel to version v5.17.14 or later.

Related vulnerabilities

Recent vulnerabilities recorded for Kernel.

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 →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback