ASoC: SOF: Intel: Fix NULL ptr dereference when ENOMEM

Kernel Updated 02 Oct 2025

Summary

24/04/2022
N/A
No i
Unrated
Not published

GSD-2022-1001910: ASoC: SOF: Intel: Fix NULL ptr dereference when ENOMEM. Affects Kernel versions >= d16046ffa6de040bf580a64d5f4d0aa18258a854, < b6094744e261083d3790c3def770ebf5060d383b. 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 ASoC (Audio for Linux Sound System) is a subsystem in the Linux kernel that provides audio support for embedded systems. It includes drivers, codecs, and other components necessary for audio processing. The SOF (Sound Open Firmware) is an open-source audio firmware project that supports Intel platforms. It is used in conjunction with ASoC to provide audio capabilities on Intel-based devices.

The vulnerability identified in this report is related to a NULL pointer dereference issue that occurs when the system encounters an ENOMEM (Out of Memory) error. This vulnerability affects the Intel platform and can potentially lead to a system crash or other unexpected behavior.

Vulnerability Detail

The vulnerability arises from a NULL pointer dereference when the system encounters an ENOMEM error. This occurs in the ASoC SOF Intel driver code. When the system is low on memory and an allocation request fails, the driver does not handle the error properly, leading to a NULL pointer dereference. An attacker could potentially exploit this vulnerability to crash the system or execute arbitrary code.

The vulnerability was introduced in version v5.2 of the Linux Kernel by commit d16046ffa6de040bf580a64d5f4d0aa18258a854. It has been fixed in version v5.15.33 by commit b6094744e261083d3790c3def770ebf5060d383b.

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 →

Conclusion

In conclusion, the ASoC SOF Intel driver in the Linux Kernel is vulnerable to a NULL pointer dereference issue when encountering an ENOMEM error. This vulnerability can potentially lead to system crashes or arbitrary code execution. It is crucial to update the Linux Kernel to version v5.15.33 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

ASoC (Audio for Linux Sound System) is a subsystem in the Linux kernel that provides audio support for embedded systems. It includes drivers, codecs, and other components necessary for audio processing.

SOF (Sound Open Firmware) is an open-source audio firmware project that supports Intel platforms. It is used in conjunction with ASoC to provide audio capabilities on Intel-based devices.

A NULL pointer dereference occurs when a program attempts to access or manipulate memory using a pointer that is not pointing to a valid memory location (i.e., it has a value of NULL). This can lead to crashes, unexpected behavior, or potential security vulnerabilities.

ENOMEM is an error code that indicates a failure to allocate memory. It stands for 'Out of Memory.' When a system encounters an ENOMEM error, it means that it does not have enough available memory to fulfill a memory allocation request.

You can use Vulert's playground (https://vulert.com/scanner) to check if your system is affected by this vulnerability. Vulert uses a manifest file like package-lock.json to monitor and alert in real-time for open-source vulnerabilities in the software, without requiring access to the code or installation.

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