ASoC: fsl: Fix refcount leak in imx_sgtl5000_probe
Summary
GSD-2022-1003780: ASoC: fsl: Fix refcount leak in imx_sgtl5000_probe. Affects Kernel versions >= 81e8e4926167ab32593bbb915b45a42024ca1020, < 96fc3da6184af5687e153d420cd7dcdeefdd2f9a. 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 provides support for audio devices integrated into system-on-chip (SoC) platforms. The fsl (Freescale) module is responsible for handling audio functionality on Freescale SoC platforms. The imx_sgtl5000_probe function is used to initialize the SGTL5000 audio codec on i.MX SoC platforms. This function is vulnerable to a refcount leak, which can lead to resource exhaustion and potential system instability.
Vulnerability Detail
The vulnerability in the imx_sgtl5000_probe function is caused by a failure to properly release a reference count when an error occurs during initialization. This can result in a refcount leak, where resources allocated during initialization are not properly freed. An attacker could potentially exploit this vulnerability to exhaust system resources, leading to a denial of service condition or other system instability. The vulnerability was introduced in version v3.5 of the Linux Kernel and has been fixed in version v5.4.198.
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 as soon as possible.
Conclusion
The imx_sgtl5000_probe function in the ASoC fsl module of the Linux Kernel is vulnerable to a refcount leak, which can result in resource exhaustion and system instability. It is recommended to update the Linux Kernel to version v5.4.198 or later to fix this vulnerability. For further support on vulnerability remediation, please contact DevNack.com.
See every vulnerability recorded for Kernel →
FAQ
ASoC (Audio System on Chip) is a framework in the Linux Kernel that provides support for audio devices integrated into system-on-chip (SoC) platforms.
The fsl (Freescale) module is responsible for handling audio functionality on Freescale SoC platforms.
The imx_sgtl5000_probe function is used to initialize the SGTL5000 audio codec on i.MX SoC platforms.
A refcount leak occurs when a reference count is not properly released, leading to resource exhaustion and potential system instability.
This vulnerability can lead to resource exhaustion and potential system instability, potentially resulting in a denial of service condition.
Related vulnerabilities
Recent vulnerabilities recorded for Kernel.