CVE-2023-54319
pinctrl: at91-pio4: check return value of devm_kasprintf()
Mitigation
- No fix listed yet: follow the vendor advisory.
Who should check
- Anyone running Linux >= 776180848b574c9c01217fa958f10843ffce584f, < 8d788f2ba830d6d32499b198c526d577c590eedf; >= 776180848b574c9c01217fa958f10843ffce584f, < 3e8ce1d5a1a9d758b359e5c426543957f35991f8; >= 776180848b574c9c01217fa958f10843ffce584f, < aa3932eb07392d626486428e2ffddc660658e22a; >= 776180848b574c9c01217fa958f10843ffce584f, < f3c7b95c9991dab02e616fc251b6c3516e0bd0ac; >= 776180848b574c9c01217fa958f10843ffce584f, < 0a95dd17a73b7603818ad7c46c99d757232be331; >= 776180848b574c9c01217fa958f10843ffce584f, < 0af388fce352ed2ab383fd5d1a08db551ca15c38; >= 776180848b574c9c01217fa958f10843ffce584f, < 5bfd577cc728270d6cd7af6c652a1e7661f25487; >= 776180848b574c9c01217fa958f10843ffce584f, < 8a1fa202f47f39680a4305af744f499a324f8a03; >= 776180848b574c9c01217fa958f10843ffce584f, < f6fd5d4ff8ca0b24cee1af4130bcb1fa96b61aa0
- Anyone running Linux 4.4
Vulnerability facts
- Affected
- Linux >= 776180848b574c9c01217fa958f10843ffce584f, < 8d788f2ba830d6d32499b198c526d577c590eedf; >= 776180848b574c9c01217fa958f10843ffce584f, < 3e8ce1d5a1a9d758b359e5c426543957f35991f8; >= 776180848b574c9c01217fa958f10843ffce584f, < aa3932eb07392d626486428e2ffddc660658e22a; >= 776180848b574c9c01217fa958f10843ffce584f, < f3c7b95c9991dab02e616fc251b6c3516e0bd0ac; >= 776180848b574c9c01217fa958f10843ffce584f, < 0a95dd17a73b7603818ad7c46c99d757232be331; >= 776180848b574c9c01217fa958f10843ffce584f, < 0af388fce352ed2ab383fd5d1a08db551ca15c38; >= 776180848b574c9c01217fa958f10843ffce584f, < 5bfd577cc728270d6cd7af6c652a1e7661f25487; >= 776180848b574c9c01217fa958f10843ffce584f, < 8a1fa202f47f39680a4305af744f499a324f8a03; >= 776180848b574c9c01217fa958f10843ffce584f, < f6fd5d4ff8ca0b24cee1af4130bcb1fa96b61aa0; Linux 4.4
- Fixed in
- Linux 8d788f2ba830d6d32499b198c526d577c590eedf, Linux 3e8ce1d5a1a9d758b359e5c426543957f35991f8, Linux 0a95dd17a73b7603818ad7c46c99d757232be331, Linux 0af388fce352ed2ab383fd5d1a08db551ca15c38, Linux 5bfd577cc728270d6cd7af6c652a1e7661f25487, Linux 8a1fa202f47f39680a4305af744f499a324f8a03
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Unknown
- CVSS
- Not scored yet
- EPSS
- 0.30% chance of exploitation in 30 days (percentile 15, 2026-11-26)
- Modified
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")
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= 776180848b574c9c01217fa958f10843ffce584f, < 8d788f2ba830d6d32499b198c526d577c590eedf; >= 776180848b574c9c01217fa958f10843ffce584f, < 3e8ce1d5a1a9d758b359e5c426543957f35991f8; >= 776180848b574c9c01217fa958f10843ffce584f, < aa3932eb07392d626486428e2ffddc660658e22a; >= 776180848b574c9c01217fa958f10843ffce584f, < f3c7b95c9991dab02e616fc251b6c3516e0bd0ac; >= 776180848b574c9c01217fa958f10843ffce584f, < 0a95dd17a73b7603818ad7c46c99d757232be331; >= 776180848b574c9c01217fa958f10843ffce584f, < 0af388fce352ed2ab383fd5d1a08db551ca15c38; >= 776180848b574c9c01217fa958f10843ffce584f, < 5bfd577cc728270d6cd7af6c652a1e7661f25487; >= 776180848b574c9c01217fa958f10843ffce584f, < 8a1fa202f47f39680a4305af744f499a324f8a03; >= 776180848b574c9c01217fa958f10843ffce584f, < f6fd5d4ff8ca0b24cee1af4130bcb1fa96b61aa0 | — | cvelist |
| Linux | 4.4 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2023-54319. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2023-54319.md Affected: Linux >= 776180848b574c9c01217fa958f10843ffce584f, < 8d788f2ba830d6d32499b198c526d577c590eedf; >= 776180848b574c9c01217fa958f10843ffce584f, < 3e8ce1d5a1a9d758b359e5c426543957f35991f8; >= 776180848b574c9c01217fa958f10843ffce584f, < aa3932eb07392d626486428e2ffddc660658e22a; >= 776180848b574c9c01217fa… Fixed in: Linux 8d788f2ba830d6d32499b198c526d577c590eedf, Linux 3e8ce1d5a1a9d758b359e5c426543957f35991f8, Linux 0a95dd17a73b7603818ad7c46c99d757232be331, Linux 0af388fce352ed2ab383fd5d1a08db551ca15c38, Linux 5bfd577cc728270d6cd7af6c652a1e7661f25487, Linux 8a1fa202f47f39680a4305af744f499a324f8a03 Steps: 1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Other
- https://git.kernel.org/stable/c/8d788f2ba830d6d32499b198c526d577c590eedf
- https://git.kernel.org/stable/c/3e8ce1d5a1a9d758b359e5c426543957f35991f8
- https://git.kernel.org/stable/c/aa3932eb07392d626486428e2ffddc660658e22a
- https://git.kernel.org/stable/c/f3c7b95c9991dab02e616fc251b6c3516e0bd0ac
- https://git.kernel.org/stable/c/0a95dd17a73b7603818ad7c46c99d757232be331
- https://git.kernel.org/stable/c/0af388fce352ed2ab383fd5d1a08db551ca15c38
- https://git.kernel.org/stable/c/5bfd577cc728270d6cd7af6c652a1e7661f25487
- https://git.kernel.org/stable/c/8a1fa202f47f39680a4305af744f499a324f8a03
- https://git.kernel.org/stable/c/f6fd5d4ff8ca0b24cee1af4130bcb1fa96b61aa0
FAQ
Is CVE-2023-54319 being exploited?
There is no confirmed exploitation: CVE-2023-54319 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.30% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2023-54319?
It has no CVSS score yet. Unknown.
Which versions are affected by CVE-2023-54319?
Linux >= 776180848b574c9c01217fa958f10843ffce584f, < 8d788f2ba830d6d32499b198c526d577c590eedf; >= 776180848b574c9c01217fa958f10843ffce584f, < 3e8ce1d5a1a9d758b359e5c426543957f35991f8; >= 776180848b574c9c01217fa958f10843ffce584f, < aa3932eb07392d626486428e2ffddc660658e22a; >= 776180848b574c9c01217fa958f10843ffce584f, < f3c7b95c9991dab02e616fc251b6c3516e0bd0ac; >= 776180848b574c9c01217fa958f10843ffce584f, < 0a95dd17a73b7603818ad7c46c99d757232be331; >= 776180848b574c9c01217fa958f10843ffce584f, < 0af388fce352ed2ab383fd5d1a08db551ca15c38; >= 776180848b574c9c01217fa958f10843ffce584f, < 5bfd577cc728270d6cd7af6c652a1e7661f25487; >= 776180848b574c9c01217fa958f10843ffce584f, < 8a1fa202f47f39680a4305af744f499a324f8a03; >= 776180848b574c9c01217fa958f10843ffce584f, < f6fd5d4ff8ca0b24cee1af4130bcb1fa96b61aa0; Linux 4.4.
Is there a fix for CVE-2023-54319?
Yes. Fixed in Linux 8d788f2ba830d6d32499b198c526d577c590eedf, Linux 3e8ce1d5a1a9d758b359e5c426543957f35991f8, Linux 0a95dd17a73b7603818ad7c46c99d757232be331, Linux 0af388fce352ed2ab383fd5d1a08db551ca15c38, Linux 5bfd577cc728270d6cd7af6c652a1e7661f25487, Linux 8a1fa202f47f39680a4305af744f499a324f8a03. No fix listed yet: follow the vendor advisory.
How do I check if I'm affected by CVE-2023-54319?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.