CVE-2023-54319

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

N/A
Published: December 30, 2025 at 12:34 PM UTC
Updated: June 17, 2026 at 06:47 AM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
N/A
Exploit prediction
EPSS 0.2%

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

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

4.4 ≤ v < 4.14.3224.4 ≤ v < 4.19.2914.4 ≤ v < 5.10.1884.4 ≤ v < 5.15.1214.4 ≤ v < 5.4.2514.4 ≤ v < 6.1.394.4 ≤ v < 6.3.134.4 ≤ v < 6.4.44.4 ≤ v < 6.54.4776180848b574c9c01217fa958f10843ffce584f
Vendor states this is fixed in 0a95dd17a73b7603818ad7c46c99d757232be331 (fixed)
Vendor states this is fixed in 0af388fce352ed2ab383fd5d1a08db551ca15c38 (fixed)
Vendor states this is fixed in 3e8ce1d5a1a9d758b359e5c426543957f35991f8 (fixed)
Vendor states this is fixed in 5bfd577cc728270d6cd7af6c652a1e7661f25487 (fixed)
Vendor states this is fixed in 8a1fa202f47f39680a4305af744f499a324f8a03 (fixed)
Vendor states this is fixed in 8d788f2ba830d6d32499b198c526d577c590eedf (fixed)
Vendor states this is fixed in aa3932eb07392d626486428e2ffddc660658e22a (fixed)
Vendor states this is fixed in f3c7b95c9991dab02e616fc251b6c3516e0bd0ac (fixed)
Vendor states this is fixed in f6fd5d4ff8ca0b24cee1af4130bcb1fa96b61aa0 (fixed)
Vendor states this is fixed in 4.14.322 (unaffected)
Vendor states this is fixed in 4.19.291 (unaffected)
Vendor states this is fixed in 4.4 (unaffected)
Vendor states this is fixed in 5.10.188 (unaffected)
Vendor states this is fixed in 5.15.121 (unaffected)
Vendor states this is fixed in 5.4.251 (unaffected)
Vendor states this is fixed in 6.1.39 (unaffected)
Vendor states this is fixed in 6.3.13 (unaffected)
Vendor states this is fixed in 6.4.4 (unaffected)
Vendor states this is fixed in 6.5 (unaffected)

Remediation

No guide yet

No remediation guidance has been written for this CVE yet, and no fixed version or vendor advisory is recorded against it.

Quick Info

StatusDEFERRED

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card