CVE-2023-53239 drm/msm/mdp5: Add check for kzalloc
A missing check for kzalloc failure in the Linux kernel MDP5 driver can lead to a null pointer dereference and system crash.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2023-53239?
CVE-2023-53239 is a medium-severity vulnerability in Linux kernel, published on 15 Sep 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/mdp5: Add check for kzalloc
As kzalloc may fail and return NULL pointer, it should be better to check the return value in order to avoid the NULL pointer dereference.
Patchwork: https://patchwork.freedesktop.org/patch/514154/
Weakness: CWE-476
Which versions are affected by CVE-2023-53239?
It affects 1 product.
Products include Linux kernel.
How do I fix CVE-2023-53239?
Apply the vendor's patch.
Is CVE-2023-53239 being exploited?
There is no known exploitation of CVE-2023-53239 in the wild and no public exploit code.
Other vulnerabilities in Linux kernel
Sources
Also known as BELL-CVE-2023-53239, DEBIAN-CVE-2023-53239, GHSA-jx3w-ww7j-892q, UBUNTU-CVE-2023-53239.