{"id":"CVE-2025-39820","published":"2025-09-16T13:00:20Z","modified":"2026-05-11T21:36:59Z","title":"drm/msm/dpu: Add a null ptr check for dpu_encoder_needs_modeset","vendor":"Linux","product":"Linux","tier":"tail","description":{"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/","provenance":"source","from":"CVE.org"},"cvss":{"score":5.5,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","provenance":"source","from":"CISA ADP Vulnrichment"},"epss":{"score":0.00194,"percentile":0.05248,"provenance":"source"},"cwes":[{"id":"CWE-476","name":"NULL Pointer Dereference"}],"references":[{"url":"https://git.kernel.org/stable/c/aaec54254b02f5959c3670177037464d828b2140","tags":[]},{"url":"https://git.kernel.org/stable/c/abebfed208515726760d79cf4f9f1a76b9a10a84","tags":[]}],"priority":{"score":4.9,"factors":[{"name":"EPSS percentile","points":1.05},{"name":"CVSS severity","points":3.85}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= 1ce69c265a53c61c5c29f97f542ff89af3f3d7e7, < aaec54254b02f5959c3670177037464d828b2140",">= 1ce69c265a53c61c5c29f97f542ff89af3f3d7e7, < abebfed208515726760d79cf4f9f1a76b9a10a84"]},{"vendor":"Linux","product":"Linux","versions":["6.15"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-01-14T18:16:31.299127Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2025-29594","exploited":false,"provenance":"source"}}