CVE-2025-39820

published 16 Sep 2025 · updated 11 May 2026

drm/msm/dpu: Add a null ptr check for dpu_encoder_needs_modeset

5.5MediumCVSS 5.5EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel aaec54254b02f5959c3670177037464d828b2140 and Kernel abebfed208515726760d79cf4f9f1a76b9a10a84.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel=6.15, >=1ce69c265a53c61c5c29f97f542ff89af3f3d7e7 <aaec54254b02f5959c3670177037464d828b2140, >=1ce69c265a53c61c5c29f97f542ff89af3f3d7e7 <abebfed208515726760d79cf4f9f1a76b9a10a84aaec54254b02f5959c3670177037464d828b2140, abebfed208515726760d79cf4f9f1a76b9a10a84

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2025-39820 severity on Zeptric[![CVE-2025-39820](https://zeptric.io/badge/cve/CVE-2025-39820.svg)](https://zeptric.io/cve/CVE-2025-39820)