CVE-2023-54319
kernel: pinctrl: at91-pio4: check return value of devm_kasprintf()
Loading…
Severity
UnknownRed Hat Product Security
CVSS
Review impact separately from score.
Published · December 30, 2025
Updated · June 30, 2026
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")
Mitigation
No mitigation is specified in collected source.
CVSS / CWE
CWE not specified