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-1001917: ALSA: pcm: Fix potential AB/BA lock with buffer_mutex and mmap_lock. Affects Kernel versions >= 47711ff10c7e126702cfa725f6d86ef529d15a5f, < 7777744e92a0b30e3e0cce2758d911837011ebd9. 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 Devnack Penetration testing for web, API and mobile Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

The ALSA (Advanced Linux Sound Architecture) package is responsible for providing audio and MIDI functionality to the Linux operating system. It includes drivers, libraries, and utilities for sound card configuration and audio playback. The pcm component within ALSA is responsible for managing the PCM (Pulse Code Modulation) audio streams. PCM is a standard method for digitally representing analog audio signals.

Vulnerability Detail

This vulnerability in the ALSA pcm component could lead to a potential AB/BA lock with the buffer_mutex and mmap_lock. The vulnerability arises due to a race condition between the buffer_mutex and mmap_lock, which could result in a deadlock situation. An attacker could potentially exploit this vulnerability to cause a denial-of-service (DoS) condition or execute arbitrary code with elevated privileges. The vulnerability was introduced in Linux Kernel version v5.15.32 and has been fixed in version v5.15.33.

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 provided for this vulnerability. It is recommended to apply the fix by updating the Linux Kernel to the patched version.

Conclusion

The ALSA pcm component in the Linux Kernel is vulnerable to a potential AB/BA lock with the buffer_mutex and mmap_lock. This vulnerability can be fixed by updating the Linux Kernel to version v5.15.33 or later. It is important to promptly apply the fix 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 audio and MIDI functionality to the Linux operating system.

The pcm component in ALSA is responsible for managing the PCM (Pulse Code Modulation) audio streams. PCM is a standard method for digitally representing analog audio signals.

A race condition is a situation in which the behavior of a system depends on the relative timing of events, which can lead to unpredictable and potentially harmful outcomes.

A deadlock is a situation where two or more processes are unable to proceed because each is waiting for the other to release a resource, resulting in a stalemate.

This vulnerability could lead to a denial-of-service (DoS) condition or allow an attacker to execute arbitrary code with elevated privileges.

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