CVE-2023-54178: of: unittest: fix null pointer dereferencing in of_unittest_find_node_by_name()
In the Linux kernel, the following vulnerability has been resolved:
of: unittest: fix null pointer dereferencing in of_unittest_find_node_by_name()
when kmalloc() fail to allocate memory in kasprintf(), name
or full_name will be NULL, strcmp() will cause
null pointer dereference.
Security readout for executives and security teams
Plain-English summary
This Linux kernel issue can crash code in an Open Firmware unittest path when memory allocation fails and the code compares a NULL string. The bundle does not show remote exploitation, privilege escalation, or active abuse.
Executive priority
Treat as routine kernel maintenance unless your environment depends on affected builds. There is no source-backed evidence of active exploitation or broad remote attackability.
Technical view
The resolved flaw is a NULL pointer dereference in of_unittest_find_node_by_name(). If kasprintf() fails, name or full_name may be NULL, and strcmp() can dereference it. The source bundle lists Linux kernel stable fixes across multiple branches.
Likely exposure
Exposure appears limited to Linux kernels in the listed affected stable version ranges or downstream builds that include the vulnerable code before the referenced fixes.
Exploitation context
No KEV listing is present, and the provided sources do not claim active exploitation. The trigger described is an allocation failure before strcmp() in unittest-related kernel code.
Researcher notes
The record lacks CVSS, CWE, and detailed exploitability context. Analysis should stay anchored to the stated NULL dereference in unittest code and the linked stable kernel commits.
Mitigation direction
Update affected Linux kernels to vendor packages containing the referenced stable fixes.
Check your Linux distribution advisory for the exact fixed package version.
Prioritize systems running listed affected kernel branches before the fixed releases.
If immediate upgrade is blocked, monitor vendor guidance for supported mitigations.
Validation and detection
Inventory running Linux kernel versions across managed systems.
Compare versions against the affected and fixed branch data in the CVE bundle.
Verify the relevant stable fix commit or downstream backport is present.
Review kernel logs for NULL dereference crashes involving of_unittest_find_node_by_name().
Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.
Potential ATT&CK relevance
Conservative CVE-to-ATT&CK context
These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.
ATT&CK lookup starting points
Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.
cve · low confidence lookup
CVE-2023-54178 mapping review
Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.
These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.
0CVSS vectors
3Timeline events
0ADP providers
10Source links
Vulnerability timeline
Timeline events are normalized from CVE metadata, CNA source timelines, ADP timelines, and KEV metadata when present.
CVE reservedCVE Program
The CVE ID was reserved by the assigning CNA.
CVE publishedCVE Program
The CVE record was published.
Dec 30, 2025, 12:08 UTC (UTC+00:00)
CVE updatedCVE Program
The CVE record metadata indicates this as the latest update time.