Vulnerability in ASoC: mediatek: Fix error handling in mt8173_max98090_dev_probe
Summary
GSD-2022-1003927: ASoC: mediatek: Fix error handling in mt8173_max98090_dev_probe. Affects Kernel versions >= 94319ba10ecabc8f28129566d1f5793e3e7a0a79, < cc43b9fdca519c5b13be6a717bacbebccd628cf6. 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) framework in the Linux Kernel is responsible for managing audio functionality on various hardware platforms. One of the supported platforms is MediaTek's mt8173 SoC, which includes the max98090 audio codec. The mt8173_max98090_dev_probe function is responsible for initializing the audio codec driver for this platform. However, there is an error handling issue in this function that can lead to potential security vulnerabilities.
Vulnerability Detail
The vulnerability arises from improper error handling in the mt8173_max98090_dev_probe function of the ASoC driver for the MediaTek mt8173 SoC. If an error occurs during the initialization process, the function fails to properly clean up resources, leading to potential memory leaks or other undefined behavior. An attacker could potentially exploit this vulnerability to cause a denial-of-service (DoS) condition or execute arbitrary code with elevated privileges.
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 recommended to apply the fix mentioned above by updating the Linux Kernel.
Conclusion
In conclusion, the ASoC driver for the MediaTek mt8173 SoC contains a vulnerability that can lead to memory leaks or other undefined behavior. It is recommended to update the Linux Kernel to the latest version that includes the fix for this vulnerability. For further support on vulnerability remediation, please contact DevNack.com.
See every vulnerability recorded for Kernel →
FAQ
ASoC stands for Audio System on Chip. It is a framework in the Linux Kernel that provides support for audio functionality on various hardware platforms.
mt8173 is a System on Chip (SoC) developed by MediaTek. It is used in various devices and includes an audio codec called max98090.
mt8173_max98090_dev_probe is a function in the ASoC driver for the MediaTek mt8173 SoC. It is responsible for initializing the audio codec driver for this platform.
This vulnerability can potentially lead to memory leaks or other undefined behavior. An attacker could exploit this vulnerability to cause a denial-of-service (DoS) condition or execute arbitrary code with elevated privileges.
To fix this vulnerability, it is recommended to update the Linux Kernel to version v4.19.247 or later. This fix is included in commit cc43b9fdca519c5b13be6a717bacbebccd628cf6.
Related vulnerabilities
Recent vulnerabilities recorded for Kernel.