CVE-2023-53592Published Oct 4, 2025 · Oct 4Updated Oct 28
gpio: sifive: Fix refcount leak in sifive_gpio_probe
Linux
Medium5.5Fix available
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
gpio: sifive: Fix refcount leak in sifive_gpio_probe
of_irq_find_parent() returns a node pointer with refcount incremented, We should use of_node_put() on it when not needed anymore. Add missing of_node_put() to avoid refcount leak.
From the CVE record · Linux
The Linux kernel's sifive_gpio_probe function can leak a device-tree node reference because it does not release a pointer returned by of_irq_find_parent(). The input does not describe an attacker action or specify access, authentication, or user-interaction conditions.
Engineers running Linux kernels with the SiFive GPIO driver should check their installations; affected versions are not specified.