CVE-2022-49437Published Feb 26, 2025 · Feb 26Updated Oct 28
powerpc/xive: Fix refcount leak in xive_spapr_init
Linux
Medium5.5Fix available
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
powerpc/xive: Fix refcount leak in xive_spapr_init
of_find_compatible_node() 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 xive_spapr_init function leaks a device-tree node reference by failing to call of_node_put(). The input does not describe what an attacker could do or specify access, authentication, or user-interaction requirements.
Engineers running Linux kernels with powerpc/xive should check their exposure; affected versions are not specified.