CVE-2023-54178

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

No CVSS score yet EPSS 0.25%

Published 30 Dec 2025 Updated 11 May 2026 CNA: Linux

Check your servers for CVE-2023-54178

The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2023-54178 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.

Check my servers

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.

Exploitation

EPSS 0.25%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 17.3% of all scored CVEs. Scores of 1 Dec 2026.

Affected products

As the CNA lists them.

ProductVersions
Linux
affected from 0d638a07d3a1e98a7598eb2812a6236324e4c55f, before c364fa869b33ca42a263bf91c22fce7e6c61d479
affected from 0d638a07d3a1e98a7598eb2812a6236324e4c55f, before 0b7d715511915a1b39f5fdcbe57a7922dfd66513
affected from 0d638a07d3a1e98a7598eb2812a6236324e4c55f, before dadf0d0dfcc81cdcb27ba5426676d13a9e4fb925
affected from 0d638a07d3a1e98a7598eb2812a6236324e4c55f, before f41c65f8d05be734898cbe72af59a401b97d298a
affected from 0d638a07d3a1e98a7598eb2812a6236324e4c55f, before ea5bc6f5aa099e3e84d037282836234ad77cba88
affected from 0d638a07d3a1e98a7598eb2812a6236324e4c55f, before 43cc228099c514467b8074d7ede6673cef9f33b9
affected from 0d638a07d3a1e98a7598eb2812a6236324e4c55f, before c74ae8124f9687062dd99858f34c9d027ddd73da
affected from 0d638a07d3a1e98a7598eb2812a6236324e4c55f, before 2dd8ee9de71ad8447f8459fb01dade7f6c7132da
affected from 0d638a07d3a1e98a7598eb2812a6236324e4c55f, before d6ce4f0ea19c32f10867ed93d8386924326ab474
Other versions: unaffected
Linux
affected 4.14
unaffected before 4.14
unaffected from 4.14.326 up to and including 4.14.*
unaffected from 4.19.295 up to and including 4.19.*
unaffected from 5.4.257 up to and including 5.4.*
unaffected from 5.10.195 up to and including 5.10.*
unaffected from 5.15.132 up to and including 5.15.*
unaffected from 6.1.53 up to and including 6.1.*
unaffected from 6.4.16 up to and including 6.4.*
unaffected from 6.5.3 up to and including 6.5.*
unaffected 6.6 and later
Other versions: affected

Is my server affected?

This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:

uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2023-54178 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2023-54178

With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:

trivy rootfs --scanners vuln / | grep CVE-2023-54178
trivy image --scanners vuln IMAGE | grep CVE-2023-54178

Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.

References

Other references

Source: the record CVE-2023-54178 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.