{"id":"CVE-2024-27041","published":"2024-05-01T12:54:04Z","modified":"2026-10-30T12:18:09Z","title":"drm/amd/display: fix NULL checks for adev->dm.dc in amdgpu_dm_fini()","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/amd/display: fix NULL checks for adev->dm.dc in amdgpu_dm_fini()\n\nSince 'adev->dm.dc' in amdgpu_dm_fini() might turn out to be NULL\nbefore the call to dc_enable_dmub_notifications(), check\nbeforehand to ensure there will not be a possible NULL-ptr-deref\nthere.\n\nAlso, since commit 1e88eb1b2c25 (\"drm/amd/display: Drop\nCONFIG_DRM_AMD_DC_HDCP\") there are two separate checks for NULL in\n'adev->dm.dc' before dc_deinit_callbacks() and dc_dmub_srv_destroy().\nClean up by combining them all under one 'if'.\n\nFound by Linux Verification Center (linuxtesting.org) with static\nanalysis tool SVACE.","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.00305,"percentile":0.15644,"provenance":"source"},"cwes":[{"id":"CWE-476","name":"NULL Pointer Dereference"}],"references":[{"url":"https://git.kernel.org/stable/c/cef0f2fe65ccee638e48fd5c1d590a3c0539acdd","tags":[]},{"url":"https://git.kernel.org/stable/c/e040f1fbe9abae91b12b074cfc3bbb5367b79811","tags":[]},{"url":"https://git.kernel.org/stable/c/ca2eb375db76fd50f31afdd67d6ca4f833254957","tags":[]},{"url":"https://git.kernel.org/stable/c/1c62697e4086de988b31124fb8c79c244ea05f2b","tags":[]},{"url":"https://git.kernel.org/stable/c/2a3cfb9a24a28da9cc13d2c525a76548865e182c","tags":[]}],"priority":{"score":7.0,"factors":[{"name":"EPSS percentile","points":3.13},{"name":"CVSS severity","points":3.85}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= 81927e2808be5adace93c2012d45d6938d3a7aa0, < cef0f2fe65ccee638e48fd5c1d590a3c0539acdd",">= 81927e2808be5adace93c2012d45d6938d3a7aa0, < e040f1fbe9abae91b12b074cfc3bbb5367b79811",">= 81927e2808be5adace93c2012d45d6938d3a7aa0, < ca2eb375db76fd50f31afdd67d6ca4f833254957",">= 81927e2808be5adace93c2012d45d6938d3a7aa0, < 1c62697e4086de988b31124fb8c79c244ea05f2b",">= 81927e2808be5adace93c2012d45d6938d3a7aa0, < 2a3cfb9a24a28da9cc13d2c525a76548865e182c"]},{"vendor":"Linux","product":"Linux","versions":["5.14"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2024-05-24T14:44:31.681685Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2024-24303","exploited":false,"provenance":"source"}}