CVE-2023-54319

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

State
Published
Severity
Not scored
Published
Dec 30, 2025
Updated
May 11, 2026
Reserved
Dec 30, 2025

Read the record on cve.org

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

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 776180848b574c9c01217fa958f10843ffce584f to before 8d788f2ba830d6d32499b198c526d577c590eedfAffected
  • 776180848b574c9c01217fa958f10843ffce584f to before 3e8ce1d5a1a9d758b359e5c426543957f35991f8Affected
  • 776180848b574c9c01217fa958f10843ffce584f to before aa3932eb07392d626486428e2ffddc660658e22aAffected
  • 776180848b574c9c01217fa958f10843ffce584f to before f3c7b95c9991dab02e616fc251b6c3516e0bd0acAffected
  • 776180848b574c9c01217fa958f10843ffce584f to before 0a95dd17a73b7603818ad7c46c99d757232be331Affected
  • 776180848b574c9c01217fa958f10843ffce584f to before 0af388fce352ed2ab383fd5d1a08db551ca15c38Affected
  • 776180848b574c9c01217fa958f10843ffce584f to before 5bfd577cc728270d6cd7af6c652a1e7661f25487Affected
  • 776180848b574c9c01217fa958f10843ffce584f to before 8a1fa202f47f39680a4305af744f499a324f8a03Affected
  • 776180848b574c9c01217fa958f10843ffce584f to before f6fd5d4ff8ca0b24cee1af4130bcb1fa96b61aa0Affected
LinuxLinux
  • 4.4Affected
  • before 4.4Not affected
  • 4.14.322 through 4.14.*Not affected
  • 4.19.291 through 4.19.*Not affected
  • 5.4.251 through 5.4.*Not affected
  • 5.10.188 through 5.10.*Not affected
  • 5.15.121 through 5.15.*Not affected
  • 6.1.39 through 6.1.*Not affected
  • 6.3.13 through 6.3.*Not affected
  • 6.4.4 through 6.4.*Not affected
  • 6.5 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.