CVE-2023-54205 pinctrl: stm32: Fix refcount leak in stm32_pctrl_get_irq_domain
A refcount leak in the STM32 pinctrl driver can lead to resource exhaustion and denial of service.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2023-54205?
CVE-2023-54205 is a denial of service vulnerability in Linux, published on 30 Dec 2025. It can only be exploited from the same machine or local network, with no action from the victim.
Official description
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.
Which versions are affected by CVE-2023-54205?
How do I fix CVE-2023-54205?
Apply the vendor's patch.
Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.
Is CVE-2023-54205 being exploited?
There is no known exploitation of CVE-2023-54205 in the wild and no public exploit code.
Sources
Also known as BELL-CVE-2023-54205, DEBIAN-CVE-2023-54205, GHSA-h58x-q2v9-x289, UBUNTU-CVE-2023-54205.