CVE-2023-54205
pinctrl: stm32: Fix refcount leak in stm32_pctrl_get_irq_domain
Check your servers for CVE-2023-54205
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2023-54205 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
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.
Exploitation
EPSS 0.22%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 13.3% of all scored CVEs. Scores of 1 Dec 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from d86f4d71e42a9fa1866f030074e54d7571d16ec1, before 95ab6d7905ebb52dc2ed6357c38e536753824068 affected from d86f4d71e42a9fa1866f030074e54d7571d16ec1, before 8ab860dd8717a7e4a143988885fea0d7e5a9412e affected from d86f4d71e42a9fa1866f030074e54d7571d16ec1, before af54707c0ccab52b3d532402436ea101011a9299 affected from d86f4d71e42a9fa1866f030074e54d7571d16ec1, before 601be03fa8b81747a154bdef9b559411a5b921e8 affected from d86f4d71e42a9fa1866f030074e54d7571d16ec1, before 9ae053d1eb87875d56f95b6a123a69827225a70e affected from d86f4d71e42a9fa1866f030074e54d7571d16ec1, before dcef18c8ac40aa85bb339f64c1dd31dd458b06fb
Other versions: unaffected
|
| Linux |
affected 5.2 unaffected before 5.2 unaffected from 5.4.235 up to and including 5.4.* unaffected from 5.10.173 up to and including 5.10.* unaffected from 5.15.99 up to and including 5.15.* unaffected from 6.1.16 up to and including 6.1.* unaffected from 6.2.3 up to and including 6.2.* unaffected 6.3 and later
Other versions: affected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2023-54205 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2023-54205
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2023-54205
trivy image --scanners vuln IMAGE | grep CVE-2023-54205
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://git.kernel.org/stable/c/95ab6d7905ebb52dc2ed6357c38e536753824068 git.kernel.org
- https://git.kernel.org/stable/c/8ab860dd8717a7e4a143988885fea0d7e5a9412e git.kernel.org
- https://git.kernel.org/stable/c/af54707c0ccab52b3d532402436ea101011a9299 git.kernel.org
- https://git.kernel.org/stable/c/601be03fa8b81747a154bdef9b559411a5b921e8 git.kernel.org
- https://git.kernel.org/stable/c/9ae053d1eb87875d56f95b6a123a69827225a70e git.kernel.org
- https://git.kernel.org/stable/c/dcef18c8ac40aa85bb339f64c1dd31dd458b06fb git.kernel.org
Source: the record CVE-2023-54205 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse