Vulnerability in ASoC mxs: Error Handling in mxs_sgtl5000_probe
Summary
GSD-2022-1001873: ASoC: mxs: Fix error handling in mxs_sgtl5000_probe. Affects Kernel versions >= e968194b45c4e8077dada75c5bae5660b37628fe, < 44acdaf7acb60054d872bed18ce0e7db8ce900ce. 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 System on Chip) mxs is a component of the Linux Kernel. It provides support for audio devices using the mxs_sgtl5000 driver. The mxs_sgtl5000 driver is responsible for managing the SGTL5000 audio codec found on various MXS-based platforms. This vulnerability affects the mxs_sgtl5000_probe function in the mxs driver. The function is responsible for initializing and probing the SGTL5000 audio codec. The vulnerability lies in the error handling of this function.
Vulnerability Detail
The vulnerability in mxs_sgtl5000_probe function can lead to potential security issues. When an error occurs during the initialization or probing of the SGTL5000 audio codec, the error handling in the function is not properly implemented. This can result in undefined behavior or system crashes. An attacker may be able to exploit this vulnerability to execute arbitrary code or cause a denial of service. The vulnerability was introduced in version v3.5 of the Linux Kernel and has been fixed in version v5.15.33.
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 specific workaround mentioned for this vulnerability. It is advised to update the Linux Kernel to the fixed version as mentioned in the 'how_to_fix' section.
Conclusion
The vulnerability in the ASoC mxs driver's mxs_sgtl5000_probe function can lead to security issues, including arbitrary code execution and denial of service. 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 →
FAQ
ASoC mxs is a component of the Linux Kernel that provides support for audio devices using the mxs_sgtl5000 driver.
mxs_sgtl5000_probe is a function in the mxs driver responsible for initializing and probing the SGTL5000 audio codec.
The vulnerability can lead to undefined behavior or system crashes, potentially allowing an attacker to execute arbitrary code or cause a denial of service.
To fix this vulnerability, update the Linux Kernel to version v5.15.33 or later, which includes the fix for this issue.
Users can obtain the updated Linux Kernel from the official Linux Kernel repository: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
Related vulnerabilities
Recent vulnerabilities recorded for Kernel.