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-1002378: ALSA: oss: Fix PCM OSS buffer allocation overflow. Affects Kernel versions < a63af1baf0a5e11827db60e3127f87e437cab6e5. 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 Your last release was probably never penetration tested 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) is a software framework and part of the Linux kernel that provides an API for sound card device drivers. It enables audio and MIDI functionality on Linux-based systems. The PCM (Pulse Code Modulation) OSS (Open Sound System) is a component of ALSA that provides compatibility with older applications that use the OSS API for audio playback and recording.

The vulnerability identified in the PCM OSS buffer allocation can lead to an overflow. This vulnerability allows an attacker to potentially execute arbitrary code or cause a denial of service by exploiting the buffer overflow. 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 condition. An attacker can exploit this vulnerability by sending specially crafted requests to the affected system, potentially causing a buffer overflow and executing arbitrary code or causing a denial of service.

This vulnerability has been fixed in the Linux Kernel version v4.19.237 by commit a63af1baf0a5e11827db60e3127f87e437cab6e5.

How To Fix

No fixed version is published for this vulnerability.

To fix this vulnerability, it is recommended to update the Linux Kernel to version v4.19.237 or later. This can be done by downloading the updated kernel source code from the official Linux Kernel repository (https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/) and compiling it for the target system. Alternatively, users can wait for their Linux distribution to release an updated package that includes the fix.

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 can lead to a buffer overflow, potentially allowing an attacker to execute arbitrary code or cause a denial of service. It is recommended to update the Linux Kernel to version v4.19.237 or later to fix this vulnerability. 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.

PCM OSS (Pulse Code Modulation Open Sound System) is a component of ALSA that provides compatibility with older applications using the OSS API for audio playback and recording.

A buffer overflow is a vulnerability that occurs when a program writes data beyond the allocated buffer, overwriting adjacent memory. This can lead to crashes, arbitrary code execution, or other security issues.

This vulnerability can be exploited by sending specially crafted requests to the affected system, triggering a buffer overflow and potentially allowing an attacker to execute arbitrary code or cause a denial of service.

Yes, this vulnerability has been fixed in the Linux Kernel version v4.19.237 by commit a63af1baf0a5e11827db60e3127f87e437cab6e5.

Related vulnerabilities

Recent vulnerabilities recorded for Kernel.

How To Fix

No fixed version is published for this vulnerability.

To fix this vulnerability, it is recommended to update the Linux Kernel to version v4.19.237 or later. This can be done by downloading the updated kernel source code from the official Linux Kernel repository (https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/) and compiling it for the target system. Alternatively, users can wait for their Linux distribution to release an updated package that includes the fix.

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

Follow Vulert in Google

Get more Vulert vulnerability and dependency-security updates in Google Search and AI results.