CVE-2022-49480

ASoC: imx-hdmi: Fix refcount leak in imx_hdmi_probe

State
Published
Severity
5.5 Medium
Published
Feb 26, 2025
Updated
May 11, 2026
Reserved
Feb 26, 2025

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.15.5 MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HCISA-ADP

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 6a5f850aa83a1d844d27e3e53ca2f247e55d438b to before cf760e494ee5fa6bc2dc222f0098c741ad460801Affected
  • 6a5f850aa83a1d844d27e3e53ca2f247e55d438b to before 8205a0114db10ec41bd2b748cdd7528632082ecaAffected
  • 6a5f850aa83a1d844d27e3e53ca2f247e55d438b to before 81b7edaabd44ba133006ad72056914eb36828d60Affected
  • 6a5f850aa83a1d844d27e3e53ca2f247e55d438b to before ed46731d8e86c8d65f5fc717671e1f1f6c3146d2Affected
LinuxLinux
  • 5.11Affected
  • before 5.11Not affected
  • 5.15.46 through 5.15.*Not affected
  • 5.17.14 through 5.17.*Not affected
  • 5.18.3 through 5.18.*Not affected
  • 5.19 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.