NULL pointer dereference in Linux
CVE-2025-39820
- CVSS v3
- 5.5 Medium
- Public exploits
- None known
- EPSS
- 0.001 · 2.9th percentile
- Published
- 2025-09-16
In the Linux kernel, the following vulnerability has been resolved:
drm/msm/dpu: Add a null ptr check for dpu_encoder_needs_modeset
The drm_atomic_get_new_connector_state() can return NULL if the
connector is not part of the atomic state. Add a check to prevent
a NULL pointer dereference.
This follows the same pattern used in dpu_encoder_update_topology()
within the same file, which checks for NULL before using conn_state.
Patchwork: https://patchwork.freedesktop.org/patch/665188/
Published · last modified .
CVSS v3 metric
CVSS v3 base score 5.5 (Medium). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H.
- Attack Vector
- Local
AV:L - Attack Complexity
- Low
AC:L - Privileges Required
- Low
PR:L - User Interaction
- None
UI:N - Scope
- Unchanged
S:U - Confidentiality
- None
C:N - Integrity
- None
I:N - Availability
- High
A:H
EPSS exploit prediction
EPSS 0.001, 2.9th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Linux — versions 1ce69c265a53c61c5c29f97f542ff89af3f3d7e7, 6.15, 0
- Linux Kernel — versions 6.17