VYPR
Medium severity5.5NVD Advisory· Published Sep 16, 2025· Updated Jun 17, 2026

CVE-2025-39820

CVE-2025-39820

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

7
  • Linux/Kernel6 versions
    cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*+ 5 more
    • cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*range: >=6.15,<6.16.5
    • cpe:2.3:o:linux:linux_kernel:6.17:rc1:*:*:*:*:*:*
    • cpe:2.3:o:linux:linux_kernel:6.17:rc2:*:*:*:*:*:*
    • cpe:2.3:o:linux:linux_kernel:6.17:rc3:*:*:*:*:*:*
    • (no CPE)range: 6.15
    • (no CPE)
  • osv-coords
    Range: >= 6.15.0, < 6.16.5

Patches

Vulnerability mechanics

References

2

News mentions

0

No linked articles in our index yet.