CVE-2023-54178
Not scored
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.
Exploit probability
0.2%
Published
December 30, 2025
Required by
Not available
Last source change
August 12, 2026
02 / AFFECTED SOFTWARE
Affected packages
03 / CONNECTIONS
Connected vulnerabilities
04 / EVIDENCE
Source records
Open Source Vulnerabilities
CVE-2023-54178
View original source
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.
05 / REFERENCES
Further evidence
- https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
- https://git.kernel.org/stable/c/0b7d715511915a1b39f5fdcbe57a7922dfd66513
- https://git.kernel.org/stable/c/2dd8ee9de71ad8447f8459fb01dade7f6c7132da
- https://git.kernel.org/stable/c/43cc228099c514467b8074d7ede6673cef9f33b9
- https://git.kernel.org/stable/c/c364fa869b33ca42a263bf91c22fce7e6c61d479
- https://git.kernel.org/stable/c/c74ae8124f9687062dd99858f34c9d027ddd73da
- https://git.kernel.org/stable/c/d6ce4f0ea19c32f10867ed93d8386924326ab474
- https://git.kernel.org/stable/c/dadf0d0dfcc81cdcb27ba5426676d13a9e4fb925
- https://git.kernel.org/stable/c/ea5bc6f5aa099e3e84d037282836234ad77cba88
- https://git.kernel.org/stable/c/f41c65f8d05be734898cbe72af59a401b97d298a
- https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/54xxx/CVE-2023-54178.json
- https://nvd.nist.gov/vuln/detail/CVE-2023-54178