{"id":"CVE-2023-54319","published":"2025-12-30T12:34:13Z","modified":"2026-05-11T19:59:40Z","title":"pinctrl: at91-pio4: check return value of devm_kasprintf()","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"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\")","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.003,"percentile":0.15165,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/8d788f2ba830d6d32499b198c526d577c590eedf","tags":[]},{"url":"https://git.kernel.org/stable/c/3e8ce1d5a1a9d758b359e5c426543957f35991f8","tags":[]},{"url":"https://git.kernel.org/stable/c/aa3932eb07392d626486428e2ffddc660658e22a","tags":[]},{"url":"https://git.kernel.org/stable/c/f3c7b95c9991dab02e616fc251b6c3516e0bd0ac","tags":[]},{"url":"https://git.kernel.org/stable/c/0a95dd17a73b7603818ad7c46c99d757232be331","tags":[]},{"url":"https://git.kernel.org/stable/c/0af388fce352ed2ab383fd5d1a08db551ca15c38","tags":[]},{"url":"https://git.kernel.org/stable/c/5bfd577cc728270d6cd7af6c652a1e7661f25487","tags":[]},{"url":"https://git.kernel.org/stable/c/8a1fa202f47f39680a4305af744f499a324f8a03","tags":[]},{"url":"https://git.kernel.org/stable/c/f6fd5d4ff8ca0b24cee1af4130bcb1fa96b61aa0","tags":[]}],"priority":{"score":3.0,"factors":[{"name":"EPSS percentile","points":3.03}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= 776180848b574c9c01217fa958f10843ffce584f, < 8d788f2ba830d6d32499b198c526d577c590eedf",">= 776180848b574c9c01217fa958f10843ffce584f, < 3e8ce1d5a1a9d758b359e5c426543957f35991f8",">= 776180848b574c9c01217fa958f10843ffce584f, < aa3932eb07392d626486428e2ffddc660658e22a",">= 776180848b574c9c01217fa958f10843ffce584f, < f3c7b95c9991dab02e616fc251b6c3516e0bd0ac",">= 776180848b574c9c01217fa958f10843ffce584f, < 0a95dd17a73b7603818ad7c46c99d757232be331",">= 776180848b574c9c01217fa958f10843ffce584f, < 0af388fce352ed2ab383fd5d1a08db551ca15c38",">= 776180848b574c9c01217fa958f10843ffce584f, < 5bfd577cc728270d6cd7af6c652a1e7661f25487",">= 776180848b574c9c01217fa958f10843ffce584f, < 8a1fa202f47f39680a4305af744f499a324f8a03",">= 776180848b574c9c01217fa958f10843ffce584f, < f6fd5d4ff8ca0b24cee1af4130bcb1fa96b61aa0"]},{"vendor":"Linux","product":"Linux","versions":["4.4"]}],"euvd":{"id":"EUVD-2023-60485","exploited":false,"provenance":"source"}}