ALSA: oss: Fix PCM OSS buffer allocation overflow

Kernel Updated 02 Oct 2025

Summary

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

GSD-2022-1001941: ALSA: oss: Fix PCM OSS buffer allocation overflow. Affects Kernel versions < 7a40cbf3579a8e14849ba7ce46309c1992658d2b. 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 Mobile apps built by Devnack Design, build and launch iOS and Android apps with a senior product team. From idea to store release Start a project

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 audio operations. The PCM (Pulse Code Modulation) subsystem in ALSA handles digital audio data, including recording and playback. The PCM OSS (Open Sound System) is a compatibility layer that allows applications using the legacy OSS API to work with ALSA.

The vulnerability identified in the PCM OSS buffer allocation can lead to an overflow. This vulnerability can potentially be exploited by an attacker to execute arbitrary code or cause a denial-of-service condition. The impact and attack plausibility of this vulnerability have not been proven yet.

Vulnerability Detail

The vulnerability in the PCM OSS buffer allocation occurs due to improper handling of buffer sizes. When allocating memory for PCM OSS buffers, the code does not properly validate the requested buffer size, leading to an overflow. An attacker could craft a malicious request that triggers this vulnerability, potentially allowing them to execute arbitrary code or crash the system.

The vulnerability has been fixed in Linux Kernel version v5.15.32 by commit 7a40cbf3579a8e14849ba7ce46309c1992658d2b.

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 vulnerability in the PCM OSS buffer allocation has the potential to be exploited by attackers to execute arbitrary code or cause a denial-of-service condition. It is crucial to update the Linux Kernel to version v5.15.32 or later to mitigate this vulnerability. Following best practices for system security is also recommended. For further support on vulnerability remediation, you can reach out to 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 and handles audio operations.

PCM OSS (Pulse Code Modulation Open Sound System) is a compatibility layer in ALSA that allows applications using the legacy OSS API to work with ALSA.

The impact of this vulnerability is not yet proven, but it could potentially allow an attacker to execute arbitrary code or cause a denial-of-service condition.

To fix this vulnerability, update the Linux Kernel to version v5.15.32 or later by pulling the latest updates from the official Linux Kernel repository.

No specific workarounds have been mentioned for this vulnerability. It is recommended to update the kernel to the fixed version.

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