{"id":"CVE-2025-39820","aliases":["CVE-2025-39820"],"related":[],"kind":"vulnerability","state":"published","title":"drm/msm/dpu: Add a null ptr check for dpu_encoder_needs_modeset","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/msm/dpu: Add a null ptr check for dpu_encoder_needs_modeset\n\nThe drm_atomic_get_new_connector_state() can return NULL if the\nconnector is not part of the atomic state. Add a check to prevent\na NULL pointer dereference.\n\nThis follows the same pattern used in dpu_encoder_update_topology()\nwithin the same file, which checks for NULL before using conn_state.\n\nPatchwork: https://patchwork.freedesktop.org/patch/665188/","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/msm/dpu: Add a null ptr check for dpu_encoder_needs_modeset\n\nThe drm_atomic_get_new_connector_state() can return NULL if the\nconnector is not part of the atomic state. Add a check to prevent\na NULL pointer dereference.\n\nThis follows the same pattern used in dpu_encoder_update_topology()\nwithin the same file, which checks for NULL before using conn_state.\n\nPatchwork: https://patchwork.freedesktop.org/patch/665188/","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta:\n\ndrm/msm/dpu: Añadir una comprobación de puntero nulo para dpu_encoder_needs_modeset\n\nLa 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.\n\nEsto 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.\n\nPatchwork: https://patchwork.freedesktop.org/patch/665188/","source":"nvd"}],"published":"2025-09-16T13:00:20.059Z","modified":"2026-10-19T21:10:00.160Z","severity":{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},"severities":[{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"}],"cwes":["CWE-476"],"affected":[{"ranges":[{"type":"git","introduced":"1ce69c265a53c61c5c29f97f542ff89af3f3d7e7","fixed":"aaec54254b02f5959c3670177037464d828b2140","status":"affected"},{"type":"git","introduced":"1ce69c265a53c61c5c29f97f542ff89af3f3d7e7","fixed":"abebfed208515726760d79cf4f9f1a76b9a10a84","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"6.15","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.15","status":"unaffected"},{"type":"semver","introduced":"6.16.5","lastAffected":"6.16.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.17","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"6.15","fixed":"6.16.5"},{"status":"affected","version":"6.17"},{"status":"affected","version":"6.17"},{"status":"affected","version":"6.17"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/aaec54254b02f5959c3670177037464d828b2140","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/abebfed208515726760d79cf4f9f1a76b9a10a84","tags":["patch"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-01-14T18:16:31.299Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-39820","url":"https://www.cve.org/CVERecord?id=CVE-2025-39820","licence":"CVE Terms of Use","modified":"2026-05-11T21:36:59.060Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-39820","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-39820","licence":"Public domain","modified":"2026-10-19T21:10:00.160Z"}],"updatedAt":"2026-11-25T22:59:04.727Z","epss":{"score":0.00133,"percentile":0.0305,"date":"2026-12-01T12:00:22.000Z"}}