# CVE-2023-54178: of: unittest: fix null pointer dereferencing in of_unittest_find_node_by_name()

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.25%, higher than 17% of CVEs (2026-12-01)
- Published: 2025-12-30T12:08:50.324Z
- Modified: 2026-06-17T06:46:56.863Z
- Assigned by: Linux

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

(As written by CVE List.)

## Affected

- Linux Linux: from 0d638a07d3a1e98a7598eb2812a6236324e4c55f before c364fa869b33ca42a263bf91c22fce7e6c61d479; from 0d638a07d3a1e98a7598eb2812a6236324e4c55f before 0b7d715511915a1b39f5fdcbe57a7922dfd66513; from 0d638a07d3a1e98a7598eb2812a6236324e4c55f before dadf0d0dfcc81cdcb27ba5426676d13a9e4fb925; from 0d638a07d3a1e98a7598eb2812a6236324e4c55f before f41c65f8d05be734898cbe72af59a401b97d298a; from 0d638a07d3a1e98a7598eb2812a6236324e4c55f before ea5bc6f5aa099e3e84d037282836234ad77cba88; from 0d638a07d3a1e98a7598eb2812a6236324e4c55f before 43cc228099c514467b8074d7ede6673cef9f33b9; from 0d638a07d3a1e98a7598eb2812a6236324e4c55f before c74ae8124f9687062dd99858f34c9d027ddd73da; from 0d638a07d3a1e98a7598eb2812a6236324e4c55f before 2dd8ee9de71ad8447f8459fb01dade7f6c7132da; from 0d638a07d3a1e98a7598eb2812a6236324e4c55f before d6ce4f0ea19c32f10867ed93d8386924326ab474; 4.14 (not affected: before 4.14; from 4.14.326 up to 4.14.*; from 4.19.295 up to 4.19.*; from 5.4.257 up to 5.4.*; from 5.10.195 up to 5.10.*; from 5.15.132 up to 5.15.*; from 6.1.53 up to 6.1.*; from 6.4.16 up to 6.4.*; from 6.5.3 up to 6.5.*; from 6.6 up to *)

## References

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

## Sources

- CVE List: [CVE-2023-54178](https://www.cve.org/CVERecord?id=CVE-2023-54178), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2023-54178](https://nvd.nist.gov/vuln/detail/CVE-2023-54178), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2023-54178 · Whole record: https://cve.day/CVE-2023-54178.json · Rebuilt by cve.day 2026-11-25T22:58:35.208Z
