Bug 2395778 (CVE-2025-39820) - CVE-2025-39820 kernel: drm/msm/dpu: Add a null ptr check for dpu_encoder_needs_modeset
Summary: CVE-2025-39820 kernel: drm/msm/dpu: Add a null ptr check for dpu_encoder_need...
Keywords:
Status: NEW
Alias: CVE-2025-39820
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
unspecified
unspecified
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-09-16 14:01 UTC by OSIDB Bzimport
Modified: 2025-11-26 09:36 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2025-09-16 14:01:47 UTC
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/


Note You need to log in before you can comment on or make changes to this bug.