CVE-2022-50104

powerpc/xive: Fix refcount leak in xive_get_max_prio

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:

powerpc/xive: Fix refcount leak in xive_get_max_prio

of_find_node_by_path() returns a node pointer with refcount incremented, we should use of_node_put() on it when done. 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
  • eac1e731b59ee3b5f5e641a7765c7ed41ed26226 to before 5ed9709d262bf026b2ff64979fbfe0f496287588Affected
  • eac1e731b59ee3b5f5e641a7765c7ed41ed26226 to before f658d5b528ce97a68efbb64ee54f6fe0909b189aAffected
  • eac1e731b59ee3b5f5e641a7765c7ed41ed26226 to before d99733ad47a6c990b52e136608455643bfa708f2Affected
  • eac1e731b59ee3b5f5e641a7765c7ed41ed26226 to before 6d1e53f7f181a11a8a343def1e0d0209905b7c64Affected
  • eac1e731b59ee3b5f5e641a7765c7ed41ed26226 to before ea494e8a9852abd0ba60f69b254ce0d7c38449e2Affected
  • eac1e731b59ee3b5f5e641a7765c7ed41ed26226 to before 2e18b869a8d574cfe9ee64df9c3d0a7ac7ed07a8Affected
  • eac1e731b59ee3b5f5e641a7765c7ed41ed26226 to before 79b8eae24b7ee157bda07695d802be8576983fa8Affected
  • eac1e731b59ee3b5f5e641a7765c7ed41ed26226 to before 255b650cbec6849443ce2e0cdd187fd5e61c218cAffected
LinuxLinux
  • 4.14Affected
  • before 4.14Not affected
  • 4.14.291 through 4.14.*Not affected
  • 4.19.256 through 4.19.*Not 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.