CVE-2023-54304 firmware: meson_sm: fix to avoid potential NULL pointer dereference
A missing NULL check in the Linux kernel meson_sm firmware driver can cause a system crash, requiring a kernel patch.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2023-54304?
CVE-2023-54304 is a vulnerability in Linux, published on 30 Dec 2025. It can only be exploited from the same machine or local network, with no action from the victim.
Official description
In the Linux kernel, the following vulnerability has been resolved:
firmware: meson_sm: fix to avoid potential NULL pointer dereference
of_match_device() may fail and returns a NULL pointer.
Fix this by checking the return value of of_match_device.
Which versions are affected by CVE-2023-54304?
How do I fix CVE-2023-54304?
Apply the vendor's patch.
Is CVE-2023-54304 being exploited?
There is no known exploitation of CVE-2023-54304 in the wild and no public exploit code.
Sources
Also known as BELL-CVE-2023-54304, DEBIAN-CVE-2023-54304, GHSA-52hx-p4rh-g7pf, UBUNTU-CVE-2023-54304.