ASoC: SOF: Intel: Fix NULL ptr dereference when ENOMEM
Summary
GSD-2022-1002128: ASoC: SOF: Intel: Fix NULL ptr dereference when ENOMEM. Affects Kernel versions >= d16046ffa6de040bf580a64d5f4d0aa18258a854, < 0c307349fe060971625b856c92f0361b8ea9a120. 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 ASoC (Audio for Linux Sound System on Chip) is a subsystem in the Linux kernel that provides support for audio devices on various system-on-chip (SoC) platforms. It enables audio functionality for devices such as smartphones, tablets, and embedded systems. The vulnerability affects the Intel SOF (Sound Open Firmware) component within the ASoC subsystem. SOF is an open-source firmware project that provides audio support for Intel platforms. The vulnerability in question involves a NULL pointer dereference when encountering an ENOMEM (Out of Memory) error.
Vulnerability Detail
The vulnerability occurs when the Intel SOF component encounters an ENOMEM error, leading to a NULL pointer dereference. This can result in a system crash or other unexpected behavior. The issue was introduced in version v5.2 of the Linux Kernel and was fixed in version v5.10.110. The impact and attack plausibility of this vulnerability have not been proven yet.
How To Fix
No fixed version is published for this vulnerability.
To fix the vulnerability, it is recommended to update the Linux Kernel to version v5.10.110 or later. This can be done by fetching the latest version from the official Linux Kernel repository and following the installation instructions provided. It is important to ensure that the updated kernel is compatible with the specific system configuration.
Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →
Workaround
No specific workaround has been mentioned for this vulnerability.
Conclusion
The ASoC vulnerability in the Intel SOF component can lead to a NULL pointer dereference when encountering an ENOMEM error. It is recommended to update the Linux Kernel to version v5.10.110 or later to mitigate this vulnerability. For further support on vulnerability remediation, please contact DevNack.com.
See every vulnerability recorded for Kernel →
FAQ
ASoC (Audio for Linux Sound System on Chip) is a subsystem in the Linux kernel that provides support for audio devices on various system-on-chip (SoC) platforms.
Intel SOF (Sound Open Firmware) is an open-source firmware project that provides audio support for Intel platforms.
A NULL pointer dereference occurs when a program attempts to access or manipulate memory using a pointer that has not been assigned a valid memory address (i.e., it points to NULL). This can lead to crashes or other unexpected behavior.
An ENOMEM error occurs when a program fails to allocate memory due to insufficient available memory resources.
You can use Vulert's playground (https://vulert.com/scanner) to check if your application is affected by this vulnerability. Simply upload your manifest file (e.g., package-lock.json) and Vulert will provide real-time monitoring and alerts for open-source vulnerabilities.
Related vulnerabilities
Recent vulnerabilities recorded for Kernel.
Follow Vulert in Google
Get more Vulert vulnerability and dependency-security updates in Google Search and AI results.