irqchip/gic-v3: Fix refcount leak in gic_populate_ppi_partitions
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ e3825ba1af3a27d7522c9f5f929f5a13b8b138ae · < fa1ad9d4cc47ca2470cd904ad4519f05d7e43a2b| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
irqchip/gic-v3: Fix refcount leak in gic_populate_ppi_partitions
of_find_node_by_phandle() returns a node pointer with refcount incremented, we should use of_node_put() on it when not need anymore. Add missing of_node_put() to avoid refcount leak.
From the CVE record · Linux
The Linux kernel's gic_populate_ppi_partitions function can leak a device-tree node reference because it does not call of_node_put() after of_find_node_by_phandle(). The input does not specify whether an attacker can trigger the leak or whether doing so requires network access, authentication, or user interaction.
Engineers running Linux kernels that include the affected irqchip/gic-v3 code should check their kernel version; affected versions are not specified.