{"id":"CVE-2023-54319","summary":"pinctrl: at91-pio4: check return value of devm_kasprintf()","details":"In the Linux kernel, the following vulnerability has been resolved:\n\npinctrl: at91-pio4: check return value of devm_kasprintf()\n\ndevm_kasprintf() returns a pointer to dynamically allocated memory.\nPointer could be NULL in case allocation fails. Check pointer validity.\nIdentified with coccinelle (kmerr.cocci script).\n\nDepends-on: 1c4e5c470a56 (\"pinctrl: at91: use devm_kasprintf() to avoid potential leaks\")\nDepends-on: 5a8f9cf269e8 (\"pinctrl: at91-pio4: use proper format specifier for unsigned int\")","modified":"2026-03-31T17:29:18.529941693Z","published":"2025-12-30T12:34:13.468Z","related":["SUSE-SU-2026:0263-1","SUSE-SU-2026:0278-1","SUSE-SU-2026:0281-1","SUSE-SU-2026:0293-1","SUSE-SU-2026:0315-1","SUSE-SU-2026:0317-1","SUSE-SU-2026:0411-1","SUSE-SU-2026:0617-1","SUSE-SU-2026:20477-1","SUSE-SU-2026:20498-1","SUSE-SU-2026:20845-1","SUSE-SU-2026:20876-1"],"database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/54xxx/CVE-2023-54319.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/0a95dd17a73b7603818ad7c46c99d757232be331"},{"type":"WEB","url":"https://git.kernel.org/stable/c/0af388fce352ed2ab383fd5d1a08db551ca15c38"},{"type":"WEB","url":"https://git.kernel.org/stable/c/3e8ce1d5a1a9d758b359e5c426543957f35991f8"},{"type":"WEB","url":"https://git.kernel.org/stable/c/5bfd577cc728270d6cd7af6c652a1e7661f25487"},{"type":"WEB","url":"https://git.kernel.org/stable/c/8a1fa202f47f39680a4305af744f499a324f8a03"},{"type":"WEB","url":"https://git.kernel.org/stable/c/8d788f2ba830d6d32499b198c526d577c590eedf"},{"type":"WEB","url":"https://git.kernel.org/stable/c/aa3932eb07392d626486428e2ffddc660658e22a"},{"type":"WEB","url":"https://git.kernel.org/stable/c/f3c7b95c9991dab02e616fc251b6c3516e0bd0ac"},{"type":"WEB","url":"https://git.kernel.org/stable/c/f6fd5d4ff8ca0b24cee1af4130bcb1fa96b61aa0"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/54xxx/CVE-2023-54319.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-54319"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"776180848b574c9c01217fa958f10843ffce584f"},{"fixed":"8d788f2ba830d6d32499b198c526d577c590eedf"},{"fixed":"3e8ce1d5a1a9d758b359e5c426543957f35991f8"},{"fixed":"aa3932eb07392d626486428e2ffddc660658e22a"},{"fixed":"f3c7b95c9991dab02e616fc251b6c3516e0bd0ac"},{"fixed":"0a95dd17a73b7603818ad7c46c99d757232be331"},{"fixed":"0af388fce352ed2ab383fd5d1a08db551ca15c38"},{"fixed":"5bfd577cc728270d6cd7af6c652a1e7661f25487"},{"fixed":"8a1fa202f47f39680a4305af744f499a324f8a03"},{"fixed":"f6fd5d4ff8ca0b24cee1af4130bcb1fa96b61aa0"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2023-54319.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"4.4.0"},{"fixed":"4.14.322"}]},{"type":"ECOSYSTEM","events":[{"introduced":"4.15.0"},{"fixed":"4.19.291"}]},{"type":"ECOSYSTEM","events":[{"introduced":"4.20.0"},{"fixed":"5.4.251"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.5.0"},{"fixed":"5.10.188"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.11.0"},{"fixed":"5.15.121"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.16.0"},{"fixed":"6.1.39"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.2.0"},{"fixed":"6.3.13"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.4.0"},{"fixed":"6.4.4"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2023-54319.json"}}],"schema_version":"1.7.5"}