CVE-2023-54205Published Dec 30, 2025 · Dec 30Updated Oct 30
pinctrl: stm32: Fix refcount leak in stm32_pctrl_get_irq_domain
Linux
Unrated
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ d86f4d71e42a9fa1866f030074e54d7571d16ec1 · < dcef18c8ac40aa85bb339f64c1dd31dd458b06fb| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
pinctrl: stm32: Fix refcount leak in stm32_pctrl_get_irq_domain
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 STM32 pinctrl code can leak a device-tree node reference when getting an IRQ domain. The input does not specify whether an attacker can trigger the leak or what access or interaction would be required.
Engineers running Linux kernels with STM32 pinctrl support should check their versions; affected versions are not specified.