ALSA: pcm: oss: Fix negative period/buffer sizes in Kernel
Summary
GSD-2021-1002595: ALSA: pcm: oss: Fix negative period/buffer sizes. Affects Kernel versions < 00a860678098fcd9fa8db2b5fb9d2ddf4776d4cc. No fix is published. How to fix ↓
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.
No signup required · Results in about 60 seconds
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 →
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.