{"id":"CVE-2024-27041","aliases":["CVE-2024-27041"],"related":[],"kind":"vulnerability","state":"published","title":"drm/amd/display: fix NULL checks for adev->dm.dc in amdgpu_dm_fini()","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","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.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: drm/amd/display: corrige comprobaciones NULL para adev-&gt;dm.dc en amdgpu_dm_fini() Dado que 'adev-&gt;dm.dc' en amdgpu_dm_fini() podría resultar ser NULL antes de llamar a dc_enable_dmub_notifications(), verifique de antemano para asegurarse de que no habrá un posible NULL-ptr-deref allí. Además, desde la confirmación 1e88eb1b2c25 (\"drm/amd/display: Drop CONFIG_DRM_AMD_DC_HDCP\") hay dos comprobaciones separadas para NULL en 'adev-&gt;dm.dc' antes de dc_deinit_callbacks() y dc_dmub_srv_destroy(). Limpia combinándolos todos bajo un solo \"si\". Encontrado por el Centro de verificación de Linux (linuxtesting.org) con la herramienta de análisis estático SVACE.","source":"nvd"}],"published":"2024-05-01T12:54:04.111Z","modified":"2026-10-30T13:17:25.250Z","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"}],"cwes":["CWE-476"],"affected":[{"ranges":[{"type":"git","introduced":"81927e2808be5adace93c2012d45d6938d3a7aa0","fixed":"cef0f2fe65ccee638e48fd5c1d590a3c0539acdd","status":"affected"},{"type":"git","introduced":"81927e2808be5adace93c2012d45d6938d3a7aa0","fixed":"e040f1fbe9abae91b12b074cfc3bbb5367b79811","status":"affected"},{"type":"git","introduced":"81927e2808be5adace93c2012d45d6938d3a7aa0","fixed":"ca2eb375db76fd50f31afdd67d6ca4f833254957","status":"affected"},{"type":"git","introduced":"81927e2808be5adace93c2012d45d6938d3a7aa0","fixed":"1c62697e4086de988b31124fb8c79c244ea05f2b","status":"affected"},{"type":"git","introduced":"81927e2808be5adace93c2012d45d6938d3a7aa0","fixed":"2a3cfb9a24a28da9cc13d2c525a76548865e182c","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"5.14","status":"affected"},{"type":"semver","introduced":"0","fixed":"5.14","status":"unaffected"},{"type":"semver","introduced":"6.1.191","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.23","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.7.11","lastAffected":"6.7.*","status":"unaffected"},{"type":"semver","introduced":"6.8.2","lastAffected":"6.8.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.9","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":"5.14","fixed":"6.6.23"},{"status":"affected","introduced":"6.7","fixed":"6.7.11"},{"status":"affected","introduced":"6.8","fixed":"6.8.2"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/cef0f2fe65ccee638e48fd5c1d590a3c0539acdd","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/e040f1fbe9abae91b12b074cfc3bbb5367b79811","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/ca2eb375db76fd50f31afdd67d6ca4f833254957","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/1c62697e4086de988b31124fb8c79c244ea05f2b","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/2a3cfb9a24a28da9cc13d2c525a76548865e182c","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2024-05-24T14:44:31.681Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-27041","url":"https://www.cve.org/CVERecord?id=CVE-2024-27041","licence":"CVE Terms of Use","modified":"2026-10-30T12:18:09.560Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-27041","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-27041","licence":"Public domain","modified":"2026-10-30T13:17:25.250Z"}],"updatedAt":"2026-11-25T22:58:39.793Z","epss":{"score":0.00272,"percentile":0.20977,"date":"2026-12-01T12:00:22.000Z"}}