ALSA: pcm: oss: Limit the period size to 16MB

Kernel Updated 02 Oct 2025

Summary

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

GSD-2021-1002597: ALSA: pcm: oss: Limit the period size to 16MB. Affects Kernel versions < 35a3e511032146941085f87dd9fb5b82ea5c00a2. 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 ALSA (Advanced Linux Sound Architecture) package is responsible for providing audio and MIDI functionality to the Linux operating system. It is a software framework that enables sound card drivers and sound servers to communicate with the audio hardware. ALSA supports various audio interfaces and provides APIs for audio playback, recording, and mixing. The vulnerability in question affects the ALSA pcm oss module, which is responsible for providing compatibility with the OSS (Open Sound System) API. This module allows applications that rely on the OSS API to work with ALSA. However, a flaw in the module's implementation allows the period size to exceed 16MB, potentially leading to memory corruption or other security issues.

Vulnerability Detail

The vulnerability arises from a lack of proper validation and limitation of the period size in the ALSA pcm oss module. By exceeding the maximum allowed period size of 16MB, an attacker could exploit this flaw to trigger memory corruption or other security vulnerabilities. The exact impact and attack vectors have not been proven yet, but the potential for exploitation exists. It is important to note that this vulnerability has been addressed in the Linux Kernel version v5.15.8 by commit 35a3e511032146941085f87dd9fb5b82ea5c00a2.

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 v5.15.8 or later. This update includes the necessary patch to limit the period size to 16MB in the ALSA pcm oss module. Users can obtain the updated kernel from the official Linux Kernel repository or through their respective Linux distribution's package management system. It is crucial to keep the system up to date with the latest security patches to mitigate the risk of exploitation.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Workaround

As this vulnerability has been fixed in the Linux Kernel, there is no specific workaround available. Users are advised to update their kernel to the patched version.

Conclusion

The ALSA pcm oss module in the Linux Kernel was found to have a vulnerability that allowed the period size to exceed 16MB, potentially leading to memory corruption or other security issues. This vulnerability has been addressed in the Linux Kernel version v5.15.8 by commit 35a3e511032146941085f87dd9fb5b82ea5c00a2. Users are advised to update their kernel to the patched version to mitigate the risk of exploitation. 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 and MIDI functionality to the Linux operating system. It enables sound card drivers and sound servers to communicate with the audio hardware.

The ALSA pcm oss module is responsible for providing compatibility with the OSS (Open Sound System) API. It allows applications that rely on the OSS API to work with ALSA.

The vulnerability allows the period size in the ALSA pcm oss module to exceed 16MB, potentially leading to memory corruption or other security issues. The exact impact and attack vectors have not been proven yet.

Yes, this vulnerability has been fixed in the Linux Kernel version v5.15.8 by commit 35a3e511032146941085f87dd9fb5b82ea5c00a2.

To fix this vulnerability, it is recommended to update the Linux Kernel to version v5.15.8 or later. This update includes the necessary patch to limit the period size to 16MB in the ALSA pcm oss module.

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.

To fix this vulnerability, it is recommended to update the Linux Kernel to version v5.15.8 or later. This update includes the necessary patch to limit the period size to 16MB in the ALSA pcm oss module. Users can obtain the updated kernel from the official Linux Kernel repository or through their respective Linux distribution's package management system. It is crucial to keep the system up to date with the latest security patches to mitigate the risk of exploitation.

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.