Skip to content
CVE PROGRAM SOURCE RECORD5.5 Medium

CVE-2025-39820

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

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

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

Linux Linux

Default version status: unaffected

  • 1ce69c265a53c61c5c29f97f542ff89af3f3d7e7 to < aaec54254b02f5959c3670177037464d828b2140affected
  • 1ce69c265a53c61c5c29f97f542ff89af3f3d7e7 to < abebfed208515726760d79cf4f9f1a76b9a10a84affected

Linux Linux

Default version status: affected

  • 6.15affected
  • 0 to < 6.15unaffected
  • 6.16.5 to ≤ 6.16.*unaffected
  • 6.17 to ≤ *unaffected

References