Bug 2348054 (CVE-2022-49480) - CVE-2022-49480 kernel: ASoC: imx-hdmi: Fix refcount leak in imx_hdmi_probe
Summary: CVE-2022-49480 kernel: ASoC: imx-hdmi: Fix refcount leak in imx_hdmi_probe
Keywords:
Status: NEW
Alias: CVE-2022-49480
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-02-26 03:16 UTC by OSIDB Bzimport
Modified: 2025-02-26 18:12 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2025-02-26 03:16:01 UTC
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.

Comment 1 Avinash Hanwate 2025-02-26 13:49:47 UTC
Upstream advisory:
https://lore.kernel.org/linux-cve-announce/2025022604-CVE-2022-49480-1f86@gregkh/T

Comment 5 Avinash Hanwate 2025-02-26 18:11:55 UTC
Upstream advisory:
https://lore.kernel.org/linux-cve-announce/2025022604-CVE-2022-49480-1f86@gregkh/T


Note You need to log in before you can comment on or make changes to this bug.