What’s Vulnerable › Vulnerabilities
CVE-2025-39820: drm/msm/dpu: Add a null ptr check for dpu_encoder_needs_modeset
- Severity: medium (CVSS 5.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.1% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2025-09-16 · updated 2026-10-19
- Weakness: CWE-476
Description
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/
Affected products
- Linux kernel: from 6.15 before 6.16.5; 6.17-rc1, 6.17-rc2, 6.17-rc3 — fixed in 6.16.5
How to fix
Upgrade to a fixed version: Linux kernel 6.16.5. Check the vendor advisory for mitigations.
References
- https://git.kernel.org/stable/c/aaec54254b02f5959c3670177037464d828b2140
- https://git.kernel.org/stable/c/abebfed208515726760d79cf4f9f1a76b9a10a84
Get alerted when CVE-2025-39820 or the next vulnerability affects your stack