CVE-2023-54178
Linux Kernel vulnerability analysis and mitigation

Overview

CVE-2023-54178 is a null pointer dereference vulnerability in the Linux kernel's Open Firmware (OF) unit test subsystem, specifically within the of_unittest_find_node_by_name() function. The flaw occurs when kmalloc() fails to allocate memory during a kasprintf() call, leaving name or full_name as NULL; a subsequent strcmp() call on the NULL pointer causes a kernel null pointer dereference. The vulnerability affects Linux kernel versions starting from commit 0d638a07d3a1 and was patched across multiple stable branches. It was published on December 30, 2025, with a CVSS category estimate of Medium and an EPSS score of approximately 0.058% (Feedly, EUVD).

Technical details

The root cause is a missing NULL check after memory allocation failure (CWE-476: NULL Pointer Dereference). In of_unittest_find_node_by_name(), the kernel's kasprintf() function internally uses kmalloc() to allocate a formatted string buffer; if this allocation fails (e.g., under memory pressure), the returned pointer is NULL. The code then passes this NULL pointer directly to strcmp(), which dereferences it and triggers a kernel panic. The vulnerability is confined to the of/unittest subsystem — a testing/debugging component — which limits its practical attack surface to scenarios where the unit test code path is executed. Fixes were applied across multiple stable kernel branches via patches to add NULL pointer checks before the strcmp() call (Feedly, EUVD).

Impact

Successful triggering of this vulnerability causes a kernel null pointer dereference, which typically results in a kernel panic (system crash), impacting availability. Because the flaw resides in the of/unittest subsystem — a unit testing framework not normally active in production kernels — the practical impact is limited primarily to systems where kernel unit tests are explicitly run (e.g., development or CI environments). There is no evidence of confidentiality or integrity impact, and lateral movement or data exfiltration are not realistic outcomes from this vulnerability (Feedly).

Mitigation and workarounds

The Linux kernel maintainers have released patches across multiple stable branches. Fixed versions include: 4.14.326, 4.19.295, 5.4.257, 5.10.195, 5.15.132, 6.1.53, 6.4.16, 6.5.3, and 6.6. Users should update to the appropriate patched stable kernel version for their branch. As the vulnerability is in the unit test subsystem (of/unittest), production systems that do not run kernel unit tests are at negligible risk, but upgrading remains the recommended remediation (EUVD, Feedly).

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