ASoC: fsl: Fix refcount leak in imx_sgtl5000_probe
Summary
GSD-2022-1003611: ASoC: fsl: Fix refcount leak in imx_sgtl5000_probe. Affects Kernel versions >= 81e8e4926167ab32593bbb915b45a42024ca1020, < e84aaf23ca82753d765bf84d05295d9d9c5fed29. 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 on embedded systems. The fsl (Freescale) module is responsible for handling audio functionality on Freescale i.MX platforms. The imx_sgtl5000_probe function is used to initialize the SGTL5000 audio codec on i.MX platforms. However, a refcount leak vulnerability has been identified in this function.
Vulnerability Detail
The refcount leak vulnerability in imx_sgtl5000_probe can lead to a resource leak, causing potential memory leaks and other related issues. An attacker could potentially exploit this vulnerability to exhaust system resources, leading to a denial-of-service condition or other security implications. The vulnerability was introduced in Linux Kernel version v3.5 and is fixed in version v5.10.121 by commit e84aaf23ca82753d765bf84d05295d9d9c5fed29.
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
No specific workaround has been provided for this vulnerability. It is recommended to apply the fix mentioned in the 'how_to_fix' section.
Conclusion
The ASoC fsl module in the Linux Kernel is vulnerable to a refcount leak in the imx_sgtl5000_probe function. This vulnerability can lead to resource leaks and other related issues. It is recommended to update the Kernel to version v5.10.121 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 System on Chip) is a framework in the Linux Kernel that provides support for audio devices on embedded systems.
The fsl (Freescale) module is responsible for handling audio functionality on Freescale i.MX platforms.
imx_sgtl5000_probe is a function used to initialize the SGTL5000 audio codec on i.MX platforms.
The refcount leak vulnerability can lead to resource leaks, memory leaks, and other related issues. It could be exploited by an attacker to exhaust system resources, potentially causing a denial-of-service condition or other security implications.
To fix this vulnerability, update the Linux Kernel to version v5.10.121 or later. Apply the commit e84aaf23ca82753d765bf84d05295d9d9c5fed29 or upgrade to a Linux distribution that includes the fixed version of the Kernel.
Related vulnerabilities
Recent vulnerabilities recorded for Kernel.