# CVE-2023-54178: of: unittest: fix null pointer dereferencing in of\_unittest\_find\_node\_by\_name()

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **EPSS:** 0.30% (percentile 15, 2026-11-26)
- **Published:** 2025-12-30T12:08:50.324Z
- **Modified:** 2026-06-17T06:46:56.863Z

## 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

## 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

- Linux: \>= 0d638a07d3a1e98a7598eb2812a6236324e4c55f, \< c364fa869b33ca42a263bf91c22fce7e6c61d479; \>= 0d638a07d3a1e98a7598eb2812a6236324e4c55f, \< 0b7d715511915a1b39f5fdcbe57a7922dfd66513; \>= 0d638a07d3a1e98a7598eb2812a6236324e4c55f, \< dadf0d0dfcc81cdcb27ba5426676d13a9e4fb925; \>= 0d638a07d3a1e98a7598eb2812a6236324e4c55f, \< f41c65f8d05be734898cbe72af59a401b97d298a; \>= 0d638a07d3a1e98a7598eb2812a6236324e4c55f, \< ea5bc6f5aa099e3e84d037282836234ad77cba88; \>= 0d638a07d3a1e98a7598eb2812a6236324e4c55f, \< 43cc228099c514467b8074d7ede6673cef9f33b9; \>= 0d638a07d3a1e98a7598eb2812a6236324e4c55f, \< c74ae8124f9687062dd99858f34c9d027ddd73da; \>= 0d638a07d3a1e98a7598eb2812a6236324e4c55f, \< 2dd8ee9de71ad8447f8459fb01dade7f6c7132da; \>= 0d638a07d3a1e98a7598eb2812a6236324e4c55f, \< d6ce4f0ea19c32f10867ed93d8386924326ab474 (cvelist)
- Linux: 4.14 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

```text
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.
```

## 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.

## References

- other: <https://git.kernel.org/stable/c/c364fa869b33ca42a263bf91c22fce7e6c61d479>
- other: <https://git.kernel.org/stable/c/0b7d715511915a1b39f5fdcbe57a7922dfd66513>
- other: <https://git.kernel.org/stable/c/dadf0d0dfcc81cdcb27ba5426676d13a9e4fb925>
- other: <https://git.kernel.org/stable/c/f41c65f8d05be734898cbe72af59a401b97d298a>
- other: <https://git.kernel.org/stable/c/ea5bc6f5aa099e3e84d037282836234ad77cba88>
- other: <https://git.kernel.org/stable/c/43cc228099c514467b8074d7ede6673cef9f33b9>
- other: <https://git.kernel.org/stable/c/c74ae8124f9687062dd99858f34c9d027ddd73da>
- other: <https://git.kernel.org/stable/c/2dd8ee9de71ad8447f8459fb01dade7f6c7132da>
- other: <https://git.kernel.org/stable/c/d6ce4f0ea19c32f10867ed93d8386924326ab474>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2023-54178>

HTML: <https://flawdb.com/CVE-2023-54178> · JSON: <https://flawdb.com/api/v1/entries/CVE-2023-54178>
