CVE-2025-39820
JSON

5.5medium

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

Severity
5.5medium CVSS:3.1 by CISA-ADP
Exploit likelihood
0.13% (higher than 3% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Linux

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

Product or packageVersionsReported by
Linux Linuxfrom 1ce69c265a53c61c5c29f97f542ff89af3f3d7e7 before aaec54254b02f5959c3670177037464d828b2140, from 1ce69c265a53c61c5c29f97f542ff89af3f3d7e7 before abebfed208515726760d79cf4f9f1a76b9a10a84, 6.15
Not affected: before 6.15, from 6.16.5 up to 6.16.*, from 6.17 up to *
CVE List
linux linux_kernelfrom 6.15 before 6.16.5, 6.17NVD

All scores

CISA-ADP5.5medium CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
NVD5.5medium CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Classification

CWE-476

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

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/

NVD (es)

En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta: drm/msm/dpu: Añadir una comprobación de puntero nulo para dpu_encoder_needs_modeset La drm_atomic_get_new_connector_state() puede devolver NULL si el conector no forma parte del estado atómico. Añadir una comprobación para prevenir una desreferencia de puntero NULL. Esto sigue el mismo patrón usado en dpu_encoder_update_topology() dentro del mismo archivo, que comprueba si es NULL antes de usar conn_state. Patchwork: https://patchwork.freedesktop.org/patch/665188/

References

Sources

SourceRecordLicence
CVE ListCVE-2025-39820 changed 2026-05-11CVE Terms of Use
NVDCVE-2025-39820 changed 2026-10-19Public domain