CVE-2022-49480Published Feb 26, 2025 · Feb 26Updated Oct 28
ASoC: imx-hdmi: Fix refcount leak in imx_hdmi_probe
Linux
Medium5.5Fix available
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
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.
From the CVE record · Linux
The Linux kernel's imx_hdmi_probe can leak a device reference if devm_kzalloc() fails. The input does not describe an attacker action or specify network access, authentication, or user interaction requirements.
Engineers running the Linux kernel should check whether their version includes the affected imx-hdmi code; affected versions are not specified.