Bug 2348054 (CVE-2022-49480)

Summary: CVE-2022-49480 kernel: ASoC: imx-hdmi: Fix refcount leak in imx_hdmi_probe
Product: [Other] Security Response Reporter: OSIDB Bzimport <bzimport>
Component: vulnerabilityAssignee: Product Security DevOps Team <prodsec-dev>
Status: NEW --- QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: dfreiber, drow, jburrell, vkumar
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

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