CVE-2023-54319
pinctrl: at91-pio4: check return value of devm_kasprintf()
Check your servers for CVE-2023-54319
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-54319 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: at91-pio4: check return value of devm_kasprintf()
devm_kasprintf() returns a pointer to dynamically allocated memory. Pointer could be NULL in case allocation fails. Check pointer validity. Identified with coccinelle (kmerr.cocci script).
Depends-on: 1c4e5c470a56 ("pinctrl: at91: use devm_kasprintf() to avoid potential leaks") Depends-on: 5a8f9cf269e8 ("pinctrl: at91-pio4: use proper format specifier for unsigned int")
Exploitation
EPSS 0.23%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 14.9% of all scored CVEs. Scores of 1 Dec 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from 776180848b574c9c01217fa958f10843ffce584f, before 8d788f2ba830d6d32499b198c526d577c590eedf affected from 776180848b574c9c01217fa958f10843ffce584f, before 3e8ce1d5a1a9d758b359e5c426543957f35991f8 affected from 776180848b574c9c01217fa958f10843ffce584f, before aa3932eb07392d626486428e2ffddc660658e22a affected from 776180848b574c9c01217fa958f10843ffce584f, before f3c7b95c9991dab02e616fc251b6c3516e0bd0ac affected from 776180848b574c9c01217fa958f10843ffce584f, before 0a95dd17a73b7603818ad7c46c99d757232be331 affected from 776180848b574c9c01217fa958f10843ffce584f, before 0af388fce352ed2ab383fd5d1a08db551ca15c38 affected from 776180848b574c9c01217fa958f10843ffce584f, before 5bfd577cc728270d6cd7af6c652a1e7661f25487 affected from 776180848b574c9c01217fa958f10843ffce584f, before 8a1fa202f47f39680a4305af744f499a324f8a03 affected from 776180848b574c9c01217fa958f10843ffce584f, before f6fd5d4ff8ca0b24cee1af4130bcb1fa96b61aa0
Other versions: unaffected
|
| Linux |
affected 4.4 unaffected before 4.4 unaffected from 4.14.322 up to and including 4.14.* unaffected from 4.19.291 up to and including 4.19.* unaffected from 5.4.251 up to and including 5.4.* unaffected from 5.10.188 up to and including 5.10.* unaffected from 5.15.121 up to and including 5.15.* unaffected from 6.1.39 up to and including 6.1.* unaffected from 6.3.13 up to and including 6.3.* unaffected from 6.4.4 up to and including 6.4.* unaffected 6.5 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-54319 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2023-54319
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-54319
trivy image --scanners vuln IMAGE | grep CVE-2023-54319
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/8d788f2ba830d6d32499b198c526d577c590eedf git.kernel.org
- https://git.kernel.org/stable/c/3e8ce1d5a1a9d758b359e5c426543957f35991f8 git.kernel.org
- https://git.kernel.org/stable/c/aa3932eb07392d626486428e2ffddc660658e22a git.kernel.org
- https://git.kernel.org/stable/c/f3c7b95c9991dab02e616fc251b6c3516e0bd0ac git.kernel.org
- https://git.kernel.org/stable/c/0a95dd17a73b7603818ad7c46c99d757232be331 git.kernel.org
- https://git.kernel.org/stable/c/0af388fce352ed2ab383fd5d1a08db551ca15c38 git.kernel.org
- https://git.kernel.org/stable/c/5bfd577cc728270d6cd7af6c652a1e7661f25487 git.kernel.org
- https://git.kernel.org/stable/c/8a1fa202f47f39680a4305af744f499a324f8a03 git.kernel.org
- https://git.kernel.org/stable/c/f6fd5d4ff8ca0b24cee1af4130bcb1fa96b61aa0 git.kernel.org
Source: the record CVE-2023-54319 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