ASoC: imx-hdmi: Fix refcount leak in imx_hdmi_probe
Summary
GSD-2022-1003397: ASoC: imx-hdmi: Fix refcount leak in imx_hdmi_probe. Affects Kernel versions >= 6a5f850aa83a1d844d27e3e53ca2f247e55d438b, < cf760e494ee5fa6bc2dc222f0098c741ad460801. 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 on embedded systems. The imx-hdmi driver is responsible for handling HDMI audio on i.MX SoCs. This driver is utilized in various devices that use i.MX SoCs and require HDMI audio functionality.
Vulnerability Detail
The imx_hdmi_probe function in the imx-hdmi driver in the ASoC subsystem of the Linux Kernel suffers from a refcount leak. This vulnerability was introduced in version v5.11 of the Linux Kernel by commit 6a5f850aa83a1d844d27e3e53ca2f247e55d438b. An attacker could exploit this vulnerability to cause a denial-of-service condition or potentially execute arbitrary code with kernel privileges. The vulnerability has been fixed in version v5.15.46 of the Linux Kernel by commit cf760e494ee5fa6bc2dc222f0098c741ad460801.
How To Fix
No fixed version is published for this vulnerability.
To fix this vulnerability, it is recommended to update the Linux Kernel to version v5.15.46 or later. This can be done by fetching the latest version of the Linux Kernel source code from the official repository (https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/) and compiling it for the target system. Alternatively, users can wait for their Linux distribution to provide an updated package containing the fixed version of the Linux Kernel.
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.
Conclusion
The imx-hdmi driver in the ASoC subsystem of the Linux Kernel suffers from a refcount leak vulnerability. It is recommended to update the Linux Kernel to version v5.15.46 or later to mitigate this vulnerability. For further support on vulnerability remediation, please contact DevNack.com.
See every vulnerability recorded for Kernel →
FAQ
This vulnerability could allow an attacker to cause a denial-of-service condition or potentially execute arbitrary code with kernel privileges.
You can use Vulert's playground (https://vulert.com/scanner) to check if your system is affected by this vulnerability. Vulert uses a manifest file like package-lock.json to monitor and alert in real-time for open-source vulnerabilities in the software.
Yes, the vulnerability has been fixed in version v5.15.46 of the Linux Kernel by commit cf760e494ee5fa6bc2dc222f0098c741ad460801.
There are no known instances of this vulnerability being exploited in the wild.
You can find more information about this vulnerability in the GSD-2022-1003397 entry of the GSD database maintained by the Cloud Security Alliance. The source of this information can be found on GitHub (https://github.com/cloudsecurityalliance/gsd-database/blob/main/2022/1003xxx/GSD-2022-1003397.json).
Related vulnerabilities
Recent vulnerabilities recorded for Kernel.
Follow Vulert in Google
Get more Vulert vulnerability and dependency-security updates in Google Search and AI results.