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-1002460: ALSA: pcm: oss: Limit the period size to 16MB. Affects Kernel versions < 76f19e4cbb548e28547f8c328aa0bfb3a10222d3. 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 MarkAI Find prospects already talking about the problem you solve AI watches the communities your customers use to find qualified prospects, then alerts you when a conversation is worth joining. See MarkAI

Background

The ALSA (Advanced Linux Sound Architecture) is a software framework and part of the Linux kernel that provides an API for sound card drivers. It allows applications to communicate with the sound card hardware and provides features such as audio playback, recording, and mixing. The PCM (Pulse Code Modulation) subsystem within ALSA handles digital audio data and provides an interface for applications to access and manipulate audio streams. The OSS (Open Sound System) is a deprecated audio API for Unix-like operating systems, including Linux. It provides compatibility with older applications that use the OSS API. The vulnerability in the ALSA pcm oss driver allows for an excessively large period size, which can lead to memory corruption and potential security issues.

Vulnerability Detail

The vulnerability in the ALSA pcm oss driver allows for an excessively large period size, which can lead to memory corruption. By specifying a large period size, an attacker could potentially overwrite adjacent memory regions, leading to a variety of security issues such as privilege escalation, information disclosure, or denial of service. The impact and attack plausibility of this vulnerability have not been proven, but it is considered a potential security risk.

How To Fix

No fixed version is published for this vulnerability.

The vulnerability has been fixed in Linux Kernel version v5.4.165 by commit 76f19e4cbb548e28547f8c328aa0bfb3a10222d3. To fix the vulnerability, users should update their Linux kernel to version v5.4.165 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 their specific system. Alternatively, users can wait for their Linux distribution to provide an updated kernel package and install it through the package manager.

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 driver vulnerability allows for an excessively large period size, which can lead to memory corruption and potential security issues. It is recommended to update the Linux kernel to version v5.4.165 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 and part of the Linux kernel that provides an API for sound card drivers.

PCM (Pulse Code Modulation) is a digital representation of an analog audio signal.

OSS (Open Sound System) is a deprecated audio API for Unix-like operating systems, including Linux.

The impact of this vulnerability includes potential memory corruption, which can lead to security issues such as privilege escalation, information disclosure, or denial of service.

To fix this vulnerability, update your Linux kernel to version v5.4.165 or later.

Related vulnerabilities

Recent vulnerabilities recorded for Kernel.

How To Fix

No fixed version is published for this vulnerability.

The vulnerability has been fixed in Linux Kernel version v5.4.165 by commit 76f19e4cbb548e28547f8c328aa0bfb3a10222d3. To fix the vulnerability, users should update their Linux kernel to version v5.4.165 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 their specific system. Alternatively, users can wait for their Linux distribution to provide an updated kernel package and install it through the package manager.

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.