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-1001332: ALSA: oss: Fix PCM OSS buffer allocation overflow. Affects Kernel versions < e74a069c6a7bb505f3ade141dddf85f4b0b5145a. 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 allows applications to communicate with sound cards and other audio devices. The PCM OSS (Open Sound System) is a compatibility layer in ALSA that emulates the functionality of the older OSS API. It provides support for applications that still rely on the OSS interface. However, a vulnerability has been discovered in the PCM OSS buffer allocation, which could lead to a buffer overflow.

Vulnerability Detail

The vulnerability in the PCM OSS buffer allocation can be exploited by an attacker to overwrite adjacent memory locations, potentially leading to arbitrary code execution or a system crash. By carefully crafting a malicious audio file or using a specially crafted audio input, an attacker can trigger the buffer overflow and gain control over the affected system. This vulnerability poses a significant security risk as it can be exploited remotely without requiring any user interaction.

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 known workaround for this vulnerability. It is essential to apply the patch or update the Linux Kernel to the fixed version as soon as possible.

Conclusion

The ALSA PCM OSS buffer allocation overflow vulnerability poses a significant security risk as it can be exploited remotely without user interaction. It is crucial to update the Linux Kernel to the fixed version to mitigate 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 (Open Sound System) is a compatibility layer in ALSA that emulates the functionality of the older OSS API.

A buffer overflow is a vulnerability that occurs when a program writes data beyond the boundaries of a buffer, overwriting adjacent memory locations.

This vulnerability can be exploited by crafting a malicious audio file or using a specially crafted audio input to trigger the buffer overflow and gain control over the affected system.

Yes, the vulnerability has been fixed in the Linux Kernel version v5.17.1 by commit e74a069c6a7bb505f3ade141dddf85f4b0b5145a.

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