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-1001297: ASoC: SOF: Intel: Fix NULL ptr dereference when ENOMEM. Affects Kernel versions >= d16046ffa6de040bf580a64d5f4d0aa18258a854, < 67f7bd9ff9079c1ee2de58e024fb582905c74c16. 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 ASoC (Audio for Linux Sound System) is a subsystem in the Linux kernel that provides support for audio devices. It includes drivers, codecs, and core components for managing audio functionality. The SOF (Sound Open Firmware) is an open-source audio firmware project developed by Intel for their audio hardware. It is used in conjunction with the ASoC framework to provide audio capabilities on Intel-based systems. The vulnerability in question involves a NULL pointer dereference when encountering an ENOMEM (Out of Memory) error.

Vulnerability Detail

The vulnerability occurs in the SOF driver for Intel audio hardware in the Linux kernel. When the driver encounters an ENOMEM error, it attempts to access a NULL pointer, leading to a system crash or potential privilege escalation. An attacker could potentially exploit this vulnerability to crash the system or execute arbitrary code with elevated privileges. The vulnerability was introduced in Linux Kernel version v5.2 and has been fixed in version v5.17.2.

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. It is necessary to apply the fix by updating the Linux kernel.

Conclusion

The ASoC SOF Intel NULL ptr dereference vulnerability in the Linux kernel can lead to system crashes or potential privilege escalation. It is recommended to update the Linux kernel to version v5.17.2 or later to fix this vulnerability. For further support on vulnerability remediation, you can 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 support for audio devices. It includes drivers, codecs, and core components for managing audio functionality.

SOF (Sound Open Firmware) is an open-source audio firmware project developed by Intel for their audio hardware. It is used in conjunction with the ASoC framework to provide audio capabilities on Intel-based systems.

A NULL pointer dereference occurs when a program attempts to access or manipulate data using a pointer that points to NULL (a memory address that does not exist). This can lead to a system crash or potential security vulnerabilities.

ENOMEM is an error code in the Linux kernel that indicates a failure to allocate memory. It stands for 'Out of Memory'. This error can occur when the system does not have enough available memory to fulfill a memory allocation request.

To update the Linux kernel, you can download the latest kernel source code from the official Linux kernel repository (https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/) and compile it for your system. Alternatively, you can wait for your Linux distribution to release an updated kernel 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