CVE-2023-54178
of: unittest: fix null pointer dereferencing in of_unittest_find_node_by_name()
Mitigation
- No fix listed yet: follow the vendor advisory.
Who should check
- Anyone running Linux >= 0d638a07d3a1e98a7598eb2812a6236324e4c55f, < c364fa869b33ca42a263bf91c22fce7e6c61d479; >= 0d638a07d3a1e98a7598eb2812a6236324e4c55f, < 0b7d715511915a1b39f5fdcbe57a7922dfd66513; >= 0d638a07d3a1e98a7598eb2812a6236324e4c55f, < dadf0d0dfcc81cdcb27ba5426676d13a9e4fb925; >= 0d638a07d3a1e98a7598eb2812a6236324e4c55f, < f41c65f8d05be734898cbe72af59a401b97d298a; >= 0d638a07d3a1e98a7598eb2812a6236324e4c55f, < ea5bc6f5aa099e3e84d037282836234ad77cba88; >= 0d638a07d3a1e98a7598eb2812a6236324e4c55f, < 43cc228099c514467b8074d7ede6673cef9f33b9; >= 0d638a07d3a1e98a7598eb2812a6236324e4c55f, < c74ae8124f9687062dd99858f34c9d027ddd73da; >= 0d638a07d3a1e98a7598eb2812a6236324e4c55f, < 2dd8ee9de71ad8447f8459fb01dade7f6c7132da; >= 0d638a07d3a1e98a7598eb2812a6236324e4c55f, < d6ce4f0ea19c32f10867ed93d8386924326ab474
- Anyone running Linux 4.14
Vulnerability facts
- Affected
- Linux >= 0d638a07d3a1e98a7598eb2812a6236324e4c55f, < c364fa869b33ca42a263bf91c22fce7e6c61d479; >= 0d638a07d3a1e98a7598eb2812a6236324e4c55f, < 0b7d715511915a1b39f5fdcbe57a7922dfd66513; >= 0d638a07d3a1e98a7598eb2812a6236324e4c55f, < dadf0d0dfcc81cdcb27ba5426676d13a9e4fb925; >= 0d638a07d3a1e98a7598eb2812a6236324e4c55f, < f41c65f8d05be734898cbe72af59a401b97d298a; >= 0d638a07d3a1e98a7598eb2812a6236324e4c55f, < ea5bc6f5aa099e3e84d037282836234ad77cba88; >= 0d638a07d3a1e98a7598eb2812a6236324e4c55f, < 43cc228099c514467b8074d7ede6673cef9f33b9; >= 0d638a07d3a1e98a7598eb2812a6236324e4c55f, < c74ae8124f9687062dd99858f34c9d027ddd73da; >= 0d638a07d3a1e98a7598eb2812a6236324e4c55f, < 2dd8ee9de71ad8447f8459fb01dade7f6c7132da; >= 0d638a07d3a1e98a7598eb2812a6236324e4c55f, < d6ce4f0ea19c32f10867ed93d8386924326ab474; Linux 4.14
- Fixed in
- Linux 0b7d715511915a1b39f5fdcbe57a7922dfd66513, Linux 43cc228099c514467b8074d7ede6673cef9f33b9, Linux 2dd8ee9de71ad8447f8459fb01dade7f6c7132da
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Unknown
- CVSS
- Not scored yet
- EPSS
- 0.30% chance of exploitation in 30 days (percentile 15, 2026-11-26)
- Modified
Description
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.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= 0d638a07d3a1e98a7598eb2812a6236324e4c55f, < c364fa869b33ca42a263bf91c22fce7e6c61d479; >= 0d638a07d3a1e98a7598eb2812a6236324e4c55f, < 0b7d715511915a1b39f5fdcbe57a7922dfd66513; >= 0d638a07d3a1e98a7598eb2812a6236324e4c55f, < dadf0d0dfcc81cdcb27ba5426676d13a9e4fb925; >= 0d638a07d3a1e98a7598eb2812a6236324e4c55f, < f41c65f8d05be734898cbe72af59a401b97d298a; >= 0d638a07d3a1e98a7598eb2812a6236324e4c55f, < ea5bc6f5aa099e3e84d037282836234ad77cba88; >= 0d638a07d3a1e98a7598eb2812a6236324e4c55f, < 43cc228099c514467b8074d7ede6673cef9f33b9; >= 0d638a07d3a1e98a7598eb2812a6236324e4c55f, < c74ae8124f9687062dd99858f34c9d027ddd73da; >= 0d638a07d3a1e98a7598eb2812a6236324e4c55f, < 2dd8ee9de71ad8447f8459fb01dade7f6c7132da; >= 0d638a07d3a1e98a7598eb2812a6236324e4c55f, < d6ce4f0ea19c32f10867ed93d8386924326ab474 | — | cvelist |
| Linux | 4.14 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2023-54178. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2023-54178.md Affected: Linux >= 0d638a07d3a1e98a7598eb2812a6236324e4c55f, < c364fa869b33ca42a263bf91c22fce7e6c61d479; >= 0d638a07d3a1e98a7598eb2812a6236324e4c55f, < 0b7d715511915a1b39f5fdcbe57a7922dfd66513; >= 0d638a07d3a1e98a7598eb2812a6236324e4c55f, < dadf0d0dfcc81cdcb27ba5426676d13a9e4fb925; >= 0d638a07d3a1e98a7598eb2… Fixed in: Linux 0b7d715511915a1b39f5fdcbe57a7922dfd66513, Linux 43cc228099c514467b8074d7ede6673cef9f33b9, Linux 2dd8ee9de71ad8447f8459fb01dade7f6c7132da Steps: 1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Other
- https://git.kernel.org/stable/c/c364fa869b33ca42a263bf91c22fce7e6c61d479
- https://git.kernel.org/stable/c/0b7d715511915a1b39f5fdcbe57a7922dfd66513
- https://git.kernel.org/stable/c/dadf0d0dfcc81cdcb27ba5426676d13a9e4fb925
- https://git.kernel.org/stable/c/f41c65f8d05be734898cbe72af59a401b97d298a
- https://git.kernel.org/stable/c/ea5bc6f5aa099e3e84d037282836234ad77cba88
- https://git.kernel.org/stable/c/43cc228099c514467b8074d7ede6673cef9f33b9
- https://git.kernel.org/stable/c/c74ae8124f9687062dd99858f34c9d027ddd73da
- https://git.kernel.org/stable/c/2dd8ee9de71ad8447f8459fb01dade7f6c7132da
- https://git.kernel.org/stable/c/d6ce4f0ea19c32f10867ed93d8386924326ab474
FAQ
Is CVE-2023-54178 being exploited?
There is no confirmed exploitation: CVE-2023-54178 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.30% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2023-54178?
It has no CVSS score yet. Unknown.
Which versions are affected by CVE-2023-54178?
Linux >= 0d638a07d3a1e98a7598eb2812a6236324e4c55f, < c364fa869b33ca42a263bf91c22fce7e6c61d479; >= 0d638a07d3a1e98a7598eb2812a6236324e4c55f, < 0b7d715511915a1b39f5fdcbe57a7922dfd66513; >= 0d638a07d3a1e98a7598eb2812a6236324e4c55f, < dadf0d0dfcc81cdcb27ba5426676d13a9e4fb925; >= 0d638a07d3a1e98a7598eb2812a6236324e4c55f, < f41c65f8d05be734898cbe72af59a401b97d298a; >= 0d638a07d3a1e98a7598eb2812a6236324e4c55f, < ea5bc6f5aa099e3e84d037282836234ad77cba88; >= 0d638a07d3a1e98a7598eb2812a6236324e4c55f, < 43cc228099c514467b8074d7ede6673cef9f33b9; >= 0d638a07d3a1e98a7598eb2812a6236324e4c55f, < c74ae8124f9687062dd99858f34c9d027ddd73da; >= 0d638a07d3a1e98a7598eb2812a6236324e4c55f, < 2dd8ee9de71ad8447f8459fb01dade7f6c7132da; >= 0d638a07d3a1e98a7598eb2812a6236324e4c55f, < d6ce4f0ea19c32f10867ed93d8386924326ab474; Linux 4.14.
Is there a fix for CVE-2023-54178?
Yes. Fixed in Linux 0b7d715511915a1b39f5fdcbe57a7922dfd66513, Linux 43cc228099c514467b8074d7ede6673cef9f33b9, Linux 2dd8ee9de71ad8447f8459fb01dade7f6c7132da. No fix listed yet: follow the vendor advisory.
How do I check if I'm affected by CVE-2023-54178?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.