CVE-2022-50194

soc: qcom: aoss: Fix refcount leak in qmp_cooling_devices_register

State
Published
Severity
Not scored
Published
Jun 18, 2025
Updated
May 11, 2026
Reserved
Jun 18, 2025

Read the record on cve.org

Description

In the Linux kernel, the following vulnerability has been resolved:

soc: qcom: aoss: Fix refcount leak in qmp_cooling_devices_register

Every iteration of for_each_available_child_of_node() decrements the reference count of the previous node. When breaking early from a for_each_available_child_of_node() loop, we need to explicitly call of_node_put() on the child node. Add missing of_node_put() to avoid refcount leak.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 05589b30b21ac0273970b61edd50c07d2ba156af to before bc73c72a856c26df7410ddf15f42257cb4960fe9Affected
  • 05589b30b21ac0273970b61edd50c07d2ba156af to before 97713ed9b6cc4abaa2dcc8357113c56520dc6d7fAffected
  • 05589b30b21ac0273970b61edd50c07d2ba156af to before 053543ac1d095132fcfd1263805d6e25afbdc6a8Affected
  • 05589b30b21ac0273970b61edd50c07d2ba156af to before ca83c61a6ccf3934cf8d01d5ade30a5034993a86Affected
  • 05589b30b21ac0273970b61edd50c07d2ba156af to before 591f0697ccbac33760d3bb1ad96a5ba2b76ae9f0Affected
  • 05589b30b21ac0273970b61edd50c07d2ba156af to before e6e0951414a314e7db3e9e24fd924b3e15515288Affected
LinuxLinux
  • 5.4Affected
  • before 5.4Not affected
  • 5.4.211 through 5.4.*Not affected
  • 5.10.137 through 5.10.*Not affected
  • 5.15.61 through 5.15.*Not affected
  • 5.18.18 through 5.18.*Not affected
  • 5.19.2 through 5.19.*Not affected
  • 6.0 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.