
Cloud Vulnerability DB
A community-led vulnerabilities database
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).
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).
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).
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).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."