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-1003425: ALSA: pcm: Check for null pointer of pointer substream before dereferencing it. Affects Kernel versions >= d4cfb30fce03093ad944e0b44bd8f40bdad5330e, < 7784d22f81a29df2ec57ca90d54f93a35cbcd1a2. 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) package is responsible for providing audio and MIDI functionality to the Linux operating system. It includes drivers, libraries, and utilities for audio devices. The PCM (Pulse Code Modulation) component of ALSA handles digital audio data streams. PCM substreams are used to manage multiple audio channels within a single PCM stream. This vulnerability specifically affects the PCM component of ALSA.

Vulnerability Detail

The vulnerability in ALSA's PCM component involves a null pointer dereference issue. When attempting to dereference a pointer to a substream, the code fails to check if the pointer itself is null. This can lead to a crash or potential exploitation if an attacker can control the null pointer. 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

If updating the kernel is not immediately feasible, a possible workaround is to avoid scenarios where a null pointer substream pointer can be dereferenced. This may involve modifying the affected code to include explicit null checks before accessing the substream pointer.

Conclusion

The ALSA PCM component is vulnerable to a null pointer dereference issue, which can lead to crashes or potential exploitation. It is recommended to update the Linux Kernel to version v5.15.46 or later to fix this vulnerability. If immediate kernel update is not possible, modifying the affected code to include null checks before accessing the substream pointer can serve as a temporary workaround. 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 audio and MIDI functionality.

PCM (Pulse Code Modulation) is a component of ALSA that handles digital audio data streams.

A null pointer dereference occurs when a program attempts to access or dereference a memory address that is null (i.e., not pointing to any valid memory location). This can lead to crashes or potential security vulnerabilities.

If an attacker can control the null pointer substream pointer, they may be able to exploit this vulnerability to crash the system or potentially execute arbitrary code.

Yes, updating the Linux Kernel to version v5.15.46 or later includes the necessary fix for this vulnerability.

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