CVE-2023-54178Published Dec 30, 2025 · Dec 30Updated Oct 28
of: unittest: fix null pointer dereferencing in of_unittest_find_node_by_name()
Linux
Unrated
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ 0d638a07d3a1e98a7598eb2812a6236324e4c55f · < 43cc228099c514467b8074d7ede6673cef9f33b9| No fix yet |
| Linux Linux |
|
|
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.
From the CVE record · Linux
The Linux kernel's of_unittest_find_node_by_name() can dereference a null pointer if memory allocation in kasprintf() fails. The input does not specify whether an attacker can trigger this, what access would be required, or whether user interaction is needed.
Engineers running the Linux kernel should check their versions; affected versions are not specified.