ALSA: pcm: oss: Fix negative period/buffer sizes in Kernel

Kernel Updated 02 Oct 2025

Summary

19/12/2021
N/A
No i
Unrated
Not published

GSD-2021-1002595: ALSA: pcm: oss: Fix negative period/buffer sizes. Affects Kernel versions < 00a860678098fcd9fa8db2b5fb9d2ddf4776d4cc. 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 Kernel is a fundamental component of the Linux operating system that provides essential services and interfaces between hardware and software. It manages system resources, including memory, processes, and device drivers. The Advanced Linux Sound Architecture (ALSA) is a software framework that provides audio functionality in Linux. The PCM (Pulse Code Modulation) subsystem within ALSA handles audio data streams. The OSS (Open Sound System) compatibility layer in ALSA allows applications that were designed for the older OSS API to work with ALSA. However, a vulnerability has been discovered in the PCM OSS module that can lead to negative period/buffer sizes.

Vulnerability Detail

The vulnerability in the ALSA PCM OSS module allows for negative period/buffer sizes. This can result in various issues, including memory corruption, buffer overflows, and potential privilege escalation. An attacker may be able to exploit this vulnerability to execute arbitrary code or crash the system. The vulnerability has been fixed in Linux Kernel version v5.15.8 by commit 00a860678098fcd9fa8db2b5fb9d2ddf4776d4cc.

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 ALSA PCM OSS module in the Linux Kernel is vulnerable to negative period/buffer sizes. This can result in memory corruption, buffer overflows, and potential privilege escalation. It is recommended to update the Linux Kernel to version v5.15.8 or later 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 that provides audio functionality in Linux.

The PCM (Pulse Code Modulation) subsystem in ALSA handles audio data streams.

The OSS (Open Sound System) compatibility layer in ALSA allows applications designed for the older OSS API to work with ALSA.

The vulnerability can lead to memory corruption, buffer overflows, and potential privilege escalation. An attacker may be able to execute arbitrary code or crash the system.

To fix this vulnerability, update the Linux Kernel to version v5.15.8 or later.

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