ASoC: SOF: ipc3-topology: Set scontrol->priv to NULL after freeing it
Summary
GSD-2022-1002809: ASoC: SOF: ipc3-topology: Set scontrol->priv to NULL after freeing it. Affects Kernel versions >= b5cee8feb1d482a9d07b677f4f2f9565bacda53e, < d808f3b74b3101a8098a10233d12025f9f5425a8. 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) package is a subsystem in the Linux Kernel that provides audio support for various sound systems on chip. It includes drivers, codecs, and other components necessary for audio processing. The ipc3-topology module within ASoC is responsible for managing the topology of the Intel Smart Sound Technology (SST) IPC3 DSP. This module allows communication between the DSP and the host system. However, a vulnerability has been discovered in the ipc3-topology module that can potentially be exploited by attackers.
Vulnerability Detail
The vulnerability in the ipc3-topology module arises from a failure to properly set the scontrol->priv pointer to NULL after freeing it. This can lead to a use-after-free condition, where an attacker can manipulate the freed memory to execute arbitrary code or cause a denial of service. The impact and attack plausibility of this vulnerability have not been proven yet, but it is important to address it to prevent potential security risks.
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 ipc3-topology module in the Linux Kernel is vulnerable to a use-after-free vulnerability. To address this issue, it is crucial to update the kernel to version v5.18.3 or later. This will ensure that the scontrol->priv pointer is correctly handled after freeing, reducing the risk of exploitation. For further support on vulnerability remediation, please contact DevNack.com.
See every vulnerability recorded for Kernel →
FAQ
ASoC stands for Audio for Linux Sound System on Chip. It is a subsystem in the Linux Kernel that provides audio support for various sound systems on chip.
The ipc3-topology module is a component of ASoC that manages the topology of the Intel Smart Sound Technology (SST) IPC3 DSP. It facilitates communication between the DSP and the host system.
A use-after-free vulnerability occurs when a program continues to use a memory region after it has been freed. This can lead to memory corruption and potentially allow an attacker to execute arbitrary code or cause a denial of service.
The impact of this vulnerability is not yet proven. However, if successfully exploited, it could allow an attacker to execute arbitrary code or cause a denial of service.
To fix this vulnerability, it is recommended to update the Linux Kernel to version v5.18.3 or later. This will ensure that the scontrol->priv pointer is properly set to NULL after freeing it, mitigating the risk of a use-after-free vulnerability.
Related vulnerabilities
Recent vulnerabilities recorded for Kernel.