CVE-2022-50104Published Jun 18, 2025 · Jun 18Updated Nov 7
powerpc/xive: Fix refcount leak in xive_get_max_prio
Linux
Medium5.5Fix available
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ eac1e731b59ee3b5f5e641a7765c7ed41ed26226 · < 2e18b869a8d574cfe9ee64df9c3d0a7ac7ed07a8| No fix yet |
| Linux Linux |
|
|
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.
From the CVE record · Linux
The Linux kernel’s powerpc/xive code leaks a device-tree node reference in xive_get_max_prio because it does not release the reference returned by of_find_node_by_path(). The input does not describe an attacker action or specify access, authentication, or user-interaction conditions.
Engineers running the Linux kernel should check whether their kernel includes the affected powerpc/xive code; affected versions are not specified.