CVE-2022-50104

powerpc/xive: Fix refcount leak in xive_get_max_prio

MEDIUM
5.5
CVSS Score
Published: June 18, 2025 at 11:02 AM UTC
Updated: June 17, 2026 at 05:22 AM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.5
Exploit prediction
EPSS 0.2%

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.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

4.14 ≤ v < 4.14.2914.14 ≤ v < 4.19.2564.14 ≤ v < 5.10.1374.14 ≤ v < 5.15.614.14 ≤ v < 5.18.184.14 ≤ v < 5.19.24.14 ≤ v < 5.4.2114.14 ≤ v < 6.04.15 ≤ v < 4.19.2564.20 ≤ v < 5.4.2115.11 ≤ v < 5.15.615.16 ≤ v < 5.18.185.19 ≤ v < 5.19.25.5 ≤ v < 5.10.1374.14eac1e731b59ee3b5f5e641a7765c7ed41ed26226
Vendor states this is fixed in 255b650cbec6849443ce2e0cdd187fd5e61c218c (fixed)
Vendor states this is fixed in 2e18b869a8d574cfe9ee64df9c3d0a7ac7ed07a8 (fixed)
Vendor states this is fixed in 5ed9709d262bf026b2ff64979fbfe0f496287588 (fixed)
Vendor states this is fixed in 6d1e53f7f181a11a8a343def1e0d0209905b7c64 (fixed)
Vendor states this is fixed in 79b8eae24b7ee157bda07695d802be8576983fa8 (fixed)
Vendor states this is fixed in d99733ad47a6c990b52e136608455643bfa708f2 (fixed)
Vendor states this is fixed in ea494e8a9852abd0ba60f69b254ce0d7c38449e2 (fixed)
Vendor states this is fixed in f658d5b528ce97a68efbb64ee54f6fe0909b189a (fixed)
Vendor states this is fixed in 4.14 (unaffected)
Vendor states this is fixed in 4.14.291 (unaffected)
Vendor states this is fixed in 4.19.256 (unaffected)
Vendor states this is fixed in 5.10.137 (unaffected)
Vendor states this is fixed in 5.15.61 (unaffected)
Vendor states this is fixed in 5.18.18 (unaffected)
Vendor states this is fixed in 5.19.2 (unaffected)
Vendor states this is fixed in 5.4.211 (unaffected)
Vendor states this is fixed in 6.0 (unaffected)

References (8)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/255b650cbec6849443ce2e0cdd187fd5e61c218c
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/2e18b869a8d574cfe9ee64df9c3d0a7ac7ed07a8
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/5ed9709d262bf026b2ff64979fbfe0f496287588
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/6d1e53f7f181a11a8a343def1e0d0209905b7c64
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/79b8eae24b7ee157bda07695d802be8576983fa8
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/d99733ad47a6c990b52e136608455643bfa708f2
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/ea494e8a9852abd0ba60f69b254ce0d7c38449e2
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/f658d5b528ce97a68efbb64ee54f6fe0909b189a

CVSS

Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusANALYZED
CWE
NVD-CWE-Other

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card