ALSA: pcm: Fix potential AB/BA lock with buffer_mutex and mmap_lock

Kernel Updated 02 Oct 2025

Summary

24/04/2022
N/A
No i
Unrated
Not published

GSD-2022-1001304: ALSA: pcm: Fix potential AB/BA lock with buffer_mutex and mmap_lock. Affects Kernel versions >= dd2f8c684da3e226e5ec7a81c89ff5fd4a957a03, < be9813ad2fc8f0885f5ce6925af0d993ce5da4e5. 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) package 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 audio-related tasks. The pcm component in ALSA is responsible for handling PCM (Pulse Code Modulation) audio data. PCM is a standard method for digitally representing analog audio signals.

Vulnerability Detail

The vulnerability in the pcm component of ALSA is related to a potential AB/BA lock issue with the buffer_mutex and mmap_lock. This vulnerability could lead to a deadlock situation, where two threads or processes are waiting for each other to release a lock, resulting in a system freeze or unresponsiveness. An attacker could potentially exploit this vulnerability to cause a denial-of-service (DoS) condition or disrupt audio functionality on affected systems.

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 vulnerability in the pcm component of ALSA can be fixed by updating the Linux Kernel to version v5.17.2 or later. It is important to apply this update to ensure the security and stability of the system. 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 drivers.

PCM (Pulse Code Modulation) is a standard method for digitally representing analog audio signals.

A deadlock is a situation where two or more threads or processes are waiting for each other to release a lock, resulting in a system freeze or unresponsiveness.

A denial-of-service (DoS) attack is an attempt to disrupt the normal functioning of a system or network, typically by overwhelming it with a flood of requests or causing it to crash.

To update the Linux Kernel, you can obtain the latest version from the official Linux Kernel repository and follow the installation instructions provided.

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