ASoC: imx-hdmi: Fix refcount leak in imx_hdmi_probe
Summary
GSD-2022-1002764: ASoC: imx-hdmi: Fix refcount leak in imx_hdmi_probe. Affects Kernel versions >= 6a5f850aa83a1d844d27e3e53ca2f247e55d438b, < 81b7edaabd44ba133006ad72056914eb36828d60. 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 for 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. It is used to configure and control the HDMI audio interface. This vulnerability affects the imx-hdmi driver and can lead to a refcount leak in the imx_hdmi_probe function.
Vulnerability Detail
The vulnerability in the imx-hdmi driver is caused by a refcount leak in the imx_hdmi_probe function. This can result in incorrect reference counting, leading to potential memory leaks and resource exhaustion. An attacker may be able to exploit this vulnerability to cause a denial-of-service condition or potentially execute arbitrary code with elevated privileges. The vulnerability was introduced in Linux Kernel version v5.11 by commit 6a5f850aa83a1d844d27e3e53ca2f247e55d438b.
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.
Conclusion
The ASoC imx-hdmi driver in the Linux Kernel is vulnerable to a refcount leak in the imx_hdmi_probe function. This vulnerability can lead to memory leaks and resource exhaustion, potentially allowing an attacker to cause a denial-of-service condition or execute arbitrary code with elevated privileges. It is recommended to update the Linux Kernel to version v5.18.3 or later to fix this vulnerability. For further support on vulnerability remediation, please contact DevNack.com.
See every vulnerability recorded for Kernel →
FAQ
ASoC stands for Audio for System on Chip. It is a framework in the Linux Kernel that provides support for audio on embedded systems.
The imx-hdmi driver is responsible for handling HDMI audio on i.MX SoCs. It is used to configure and control the HDMI audio interface.
A refcount leak occurs when the reference count of an object is not properly managed, leading to memory leaks and resource exhaustion.
This vulnerability can lead to memory leaks and resource exhaustion. An attacker may be able to cause a denial-of-service condition or potentially execute arbitrary code with elevated privileges.
To fix this vulnerability, update the Linux Kernel to version v5.18.3 or later. Ensure that you are using a version of the Linux Kernel that includes the fix commit 81b7edaabd44ba133006ad72056914eb36828d60 or any subsequent versions.
Related vulnerabilities
Recent vulnerabilities recorded for Kernel.