Skip to content
CVE PROGRAM SOURCE RECORD5.5 Medium

CVE-2022-49480

ASoC: imx-hdmi: Fix refcount leak in imx_hdmi_probe

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.

Affected products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

Linux Linux

Default version status: unaffected

  • 6a5f850aa83a1d844d27e3e53ca2f247e55d438b to < cf760e494ee5fa6bc2dc222f0098c741ad460801affected
  • 6a5f850aa83a1d844d27e3e53ca2f247e55d438b to < 8205a0114db10ec41bd2b748cdd7528632082ecaaffected
  • 6a5f850aa83a1d844d27e3e53ca2f247e55d438b to < 81b7edaabd44ba133006ad72056914eb36828d60affected
  • 6a5f850aa83a1d844d27e3e53ca2f247e55d438b to < ed46731d8e86c8d65f5fc717671e1f1f6c3146d2affected

Linux Linux

Default version status: affected

  • 5.11affected
  • 0 to < 5.11unaffected
  • 5.15.46 to ≤ 5.15.*unaffected
  • 5.17.14 to ≤ 5.17.*unaffected
  • 5.18.3 to ≤ 5.18.*unaffected
  • 5.19 to ≤ *unaffected

References