CVE-2023-54319

Linux Kernel - Null Pointer Dereference in pinctrl at91-pio4 via devm_kasprintf() Failure

Title source: llm
STIX 2.1

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")

Scores

EPSS 0.0019
EPSS Percentile 8.8%

Details

Status published
Products (28)
linux/Kernel 4.15.0 - 4.19.291linux
linux/Kernel 4.20.0 - 5.4.251linux
linux/Kernel 4.4.0 - 4.14.322linux
linux/Kernel 5.11.0 - 5.15.121linux
linux/Kernel 5.16.0 - 6.1.39linux
linux/Kernel 5.5.0 - 5.10.188linux
linux/Kernel 6.2.0 - 6.3.13linux
linux/Kernel 6.4.0 - 6.4.4linux
Linux/Linux < 4.4
Linux/Linux 4.14.322 - 4.14.*
... and 18 more
Published Dec 30, 2025
Tracked Since Feb 18, 2026