CVE-2023-54319
Linux Kernel vulnerability analysis and mitigation

Overview

CVE-2023-54319 is a NULL pointer dereference vulnerability in the Linux kernel's pinctrl: at91-pio4 driver, caused by a missing return value check on devm_kasprintf(). When memory allocation fails, devm_kasprintf() returns NULL, and the unchecked pointer can lead to a kernel crash or undefined behavior. The vulnerability was published on December 30, 2025, and affects multiple stable Linux kernel branches. The CVSS base score is not yet formally assigned (estimated Medium severity by Feedly), and the EPSS score is approximately 0.044% (Feedly).

Technical details

The root cause is a missing NULL check after calling devm_kasprintf() in the pinctrl/at91-pio4 driver (CWE-476: NULL Pointer Dereference). devm_kasprintf() dynamically allocates and formats a string; if the allocation fails (e.g., under memory pressure), it returns NULL. Without validating the return value, subsequent use of the pointer can trigger a kernel NULL pointer dereference. The fix was identified using the Coccinelle static analysis tool (kmerr.cocci script) and depends on two prerequisite commits: 1c4e5c470a56 ("pinctrl: at91: use devm_kasprintf() to avoid potential leaks") and 5a8f9cf269e8 ("pinctrl: at91-pio4: use proper format specifier for unsigned int") (Feedly, Kernel Patch).

Impact

Successful triggering of this vulnerability can cause a kernel NULL pointer dereference, leading to a system crash (denial of service). Because the flaw resides in a kernel driver, exploitation could affect system availability on devices using the Microchip AT91/SAM-family pin controller. The vulnerability is limited to local or hardware-level triggering scenarios (e.g., during driver initialization under low-memory conditions), and there is no known path to privilege escalation or data exfiltration (Feedly).

Mitigation and workarounds

Patches have been backported to multiple stable Linux kernel branches. Fixed versions include 4.14.322, 4.19.291, 5.4.251, 5.10.188, 5.15.121, 6.1.39, 6.3.13, 6.4.4, and 6.5. Users should update to the appropriate patched stable kernel release for their branch. No configuration-based workaround is available; upgrading the kernel is the recommended remediation (Feedly, Kernel Patch).

Additional resources


SourceThis report was generated using AI

Related Linux Kernel vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-64557NONEN/A
  • Linux Kernel logoLinux Kernel
  • kernel-rt-selftests-internal
NoNoJul 29, 2026
CVE-2026-64556NONEN/A
  • Linux Kernel logoLinux Kernel
  • kernel-64k-devel
NoNoJul 29, 2026
CVE-2026-64555NONEN/A
  • Linux Kernel logoLinux Kernel
  • linux-azure-fde-6.14
NoNoJul 27, 2026
CVE-2026-64554NONEN/A
  • Linux Kernel logoLinux Kernel
  • linux-gcp-6.14
NoYesJul 27, 2026
CVE-2026-64553NONEN/A
  • Linux Kernel logoLinux Kernel
  • kernel-rt-64k-debug-modules-internal
NoYesJul 27, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management