CVE-2023-54319

pinctrl: at91-pio4: check return value of devm_kasprintf()

published December 30, 2025

CVSS
—
EPSS
0%
Percentile
11.4
In the wild
Unconfirmed
What it is

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

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.00216 · 11.4th percentile
Published
2025-12-30T12:34Z
EPSS history
Timeline
  • 30 DEC 12:34Z
    pinctrl: at91-pio4: check return value of devm_kasprintf()
    cvelistv5