CVE-2022-49480

medium

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.

References

https://git.kernel.org/stable/c/ed46731d8e86c8d65f5fc717671e1f1f6c3146d2

https://git.kernel.org/stable/c/cf760e494ee5fa6bc2dc222f0098c741ad460801

https://git.kernel.org/stable/c/8205a0114db10ec41bd2b748cdd7528632082eca

https://git.kernel.org/stable/c/81b7edaabd44ba133006ad72056914eb36828d60

Details

Source: Mitre, NVD

Published: 2025-02-26

Updated: 2025-02-26

Risk Information

CVSS v2

Base Score: 5.6

Vector: CVSS2#AV:L/AC:L/Au:N/C:P/I:N/A:C

Severity: Medium

CVSS v3

Base Score: 5.5

Vector: CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Severity: Medium