What’s Vulnerable › Vulnerabilities

CVE-2022-49480: ASoC: imx-hdmi: Fix refcount leak in imx_hdmi_probe

Description

In the Linux kernel, the following vulnerability has been resolved: ASoC: imx-hdmi: Fix refcount leak in imx_hdmi_probe of_find_device_by_node() takes reference, we should use put_device() to release it. when devm_kzalloc() fails, it doesn't have a put_device(), it will cause refcount leak. Add missing put_device() to fix this.

Affected products

How to fix

Upgrade to a fixed version: Linux kernel 5.15.46, 5.17.14, 5.18.3. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2022-49480 or the next vulnerability affects your stack