ALSA: pcm: Check for null pointer of pointer substream before dereferencing it

Kernel Updated 02 Oct 2025

Summary

28/06/2022
N/A
No i
Unrated
Not published

GSD-2022-1003120: ALSA: pcm: Check for null pointer of pointer substream before dereferencing it. Affects Kernel versions >= d4cfb30fce03093ad944e0b44bd8f40bdad5330e, < 1f2e28857be1e5c7db39bbc221332215fc5467e3. 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 Mobile apps built by Devnack Design, build and launch iOS and Android apps with a senior product team. From idea to store release Start a project

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 sound devices and provides features such as audio playback, recording, and mixing. The PCM (Pulse Code Modulation) subsystem in ALSA handles digital audio data and is responsible for managing audio streams.

The vulnerability in the PCM subsystem arises from a failure to check for a null pointer of a pointer substream before dereferencing it. This can lead to a null pointer dereference, causing a system crash or potential privilege escalation if exploited by an attacker.

Vulnerability Detail

The vulnerability occurs in the PCM subsystem of ALSA when a null pointer of a pointer substream is not properly checked before dereferencing it. This can result in a null pointer dereference, leading to a system crash or potential privilege escalation.

The vulnerability was introduced in version v5.6 of the Linux Kernel by commit d4cfb30fce03093ad944e0b44bd8f40bdad5330e and is fixed in version v5.17.14 by commit 1f2e28857be1e5c7db39bbc221332215fc5467e3.

To exploit this vulnerability, an attacker would need to have local access to the affected system and the ability to execute arbitrary code. The impact of this vulnerability can vary depending on the context in which the PCM subsystem is used, but it has the potential to cause system instability or allow an attacker to gain elevated privileges.

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 known workaround for this vulnerability at this time.

Conclusion

The vulnerability in the PCM subsystem of ALSA can lead to a null pointer dereference, causing a system crash or potential privilege escalation. It is recommended to update the Linux Kernel to version v5.17.14 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 and handles audio data.

The PCM (Pulse Code Modulation) subsystem in ALSA is responsible for managing digital audio streams, including playback, recording, and mixing.

The vulnerability arises from a failure to properly check for a null pointer of a pointer substream before dereferencing it, leading to a null pointer dereference.

The impact of this vulnerability can vary depending on the context in which the PCM subsystem is used. It can result in a system crash or potential privilege escalation if exploited by an attacker.

To fix this vulnerability, it is recommended to update the Linux Kernel to version v5.17.14 or later. Alternatively, wait for your Linux distribution to release an updated package that includes the fix.

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