CVE-2023-54178

Source
https://cve.org/CVERecord?id=CVE-2023-54178
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-54178.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2023-54178
Downstream
Related
Published
2025-12-30T12:08:50.324Z
Modified
2026-03-23T05:31:10.446456Z
Summary
of: unittest: fix null pointer dereferencing in of_unittest_find_node_by_name()
Details

In the Linux kernel, the following vulnerability has been resolved:

of: unittest: fix null pointer dereferencing in ofunittestfindnodeby_name()

when kmalloc() fail to allocate memory in kasprintf(), name or full_name will be NULL, strcmp() will cause null pointer dereference.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/54xxx/CVE-2023-54178.json",
    "cna_assigner": "Linux"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
0d638a07d3a1e98a7598eb2812a6236324e4c55f
Fixed
c364fa869b33ca42a263bf91c22fce7e6c61d479
Fixed
0b7d715511915a1b39f5fdcbe57a7922dfd66513
Fixed
dadf0d0dfcc81cdcb27ba5426676d13a9e4fb925
Fixed
f41c65f8d05be734898cbe72af59a401b97d298a
Fixed
ea5bc6f5aa099e3e84d037282836234ad77cba88
Fixed
43cc228099c514467b8074d7ede6673cef9f33b9
Fixed
c74ae8124f9687062dd99858f34c9d027ddd73da
Fixed
2dd8ee9de71ad8447f8459fb01dade7f6c7132da
Fixed
d6ce4f0ea19c32f10867ed93d8386924326ab474

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-54178.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
4.14.0
Fixed
4.14.326
Type
ECOSYSTEM
Events
Introduced
4.15.0
Fixed
4.19.295
Type
ECOSYSTEM
Events
Introduced
4.20.0
Fixed
5.4.257
Type
ECOSYSTEM
Events
Introduced
5.5.0
Fixed
5.10.195
Type
ECOSYSTEM
Events
Introduced
5.11.0
Fixed
5.15.132
Type
ECOSYSTEM
Events
Introduced
5.16.0
Fixed
6.1.53
Type
ECOSYSTEM
Events
Introduced
6.2.0
Fixed
6.4.16
Type
ECOSYSTEM
Events
Introduced
6.5.0
Fixed
6.5.3

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-54178.json"