CVE-2023-54122 drm/msm/dpu: Add check for cstate
A missing null check in the Linux kernel DPU driver can cause a crash via null pointer dereference, leading to denial of service.
- 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-54122?
CVE-2023-54122 is a vulnerability in Linux, published on 24 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:
drm/msm/dpu: Add check for cstate
As kzalloc may fail and return NULL pointer, it should be better to check cstate in order to avoid the NULL pointer dereference in __drm_atomic_helper_crtc_reset.
Patchwork: https://patchwork.freedesktop.org/patch/514163/
Which versions are affected by CVE-2023-54122?
How do I fix CVE-2023-54122?
Apply the vendor's patch.
Is CVE-2023-54122 being exploited?
There is no known exploitation of CVE-2023-54122 in the wild and no public exploit code.
Sources
Also known as BELL-CVE-2023-54122, DEBIAN-CVE-2023-54122, GHSA-74cv-3gqc-87fm, UBUNTU-CVE-2023-54122.