← CVE Intelligence

CVE-2025-39820

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

Description (CNA)

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 (CNA)

Vendor / productVersions
Linux / Linuxaffected 1ce69c265a53c61c5c29f97f542ff89af3f3d7e7 before aaec54254b02f5959c3670177037464d828b2140; affected 1ce69c265a53c61c5c29f97f542ff89af3f3d7e7 before abebfed208515726760d79cf4f9f1a76b9a10a84
Linux / Linuxaffected 6.15; unaffected 0 before 6.15; unaffected 6.16.5 through 6.16.*; unaffected 6.17 through *

CWE

No CWE identifiers supplied.

References

ADP enrichment

CISA-ADP

No English description supplied.

No references supplied.