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-1002382: ALSA: pcm: oss: Fix negative period/buffer sizes. Affects Kernel versions < 502e1146873d870f87da3b8f93d6bf2de5f38d0c. 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 Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

Background

The Kernel is a critical component of the Linux operating system that provides core functionalities and acts as an interface between hardware and software. It manages system resources, including memory, processes, and device drivers. The Advanced Linux Sound Architecture (ALSA) is a part of the Kernel that provides audio support for Linux-based systems. ALSA's PCM (Pulse Code Modulation) subsystem handles audio data transfer between applications and sound hardware. The OSS (Open Sound System) compatibility layer within ALSA allows applications that were designed for the older OSS API to work with ALSA. However, a vulnerability has been identified in the ALSA PCM OSS module that could lead to negative period/buffer sizes.

Vulnerability Detail

The vulnerability in the ALSA PCM OSS module allows for negative period/buffer sizes. This issue arises due to improper handling of these sizes, which can result in memory corruption or other unexpected behavior. An attacker could potentially exploit this vulnerability to execute arbitrary code, escalate privileges, or cause a denial-of-service condition. The impact and attack plausibility of this vulnerability have not been proven yet.

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. However, users can mitigate the risk by keeping their systems up to date with the latest Kernel version.

Conclusion

The ALSA PCM OSS vulnerability in the Kernel can have serious security implications, including memory corruption and arbitrary code execution. It is crucial for users to update their Kernel to the latest version to ensure the vulnerability is patched. 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 part of the Linux Kernel that provides audio support for Linux-based systems. It handles audio data transfer between applications and sound hardware.

The ALSA PCM OSS module is a compatibility layer within ALSA that allows applications designed for the older OSS (Open Sound System) API to work with ALSA.

The impact of this vulnerability could include memory corruption, arbitrary code execution, privilege escalation, or denial-of-service.

There is no evidence of this vulnerability being exploited in the wild at the moment.

To protect your system, it is recommended to update your Kernel to the latest version available. Regularly applying security patches is crucial to mitigate the risk of known vulnerabilities.

Related vulnerabilities

Recent vulnerabilities recorded for Kernel.

Sponsored Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

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