{"vuln_id":"CVE-2026-99621","aliases":[],"description":"kernel: kernel: amdgpu: Denial of Service via improper lock cleanup in kfd_mem_attach()","published_at":"2026-11-20T05:49:41Z","modified_at":"2026-11-20T06:17:54.757000Z","first_seen_at":"2026-11-21T19:15:15.262204Z","severity":"medium","severity_source":"redhat","cvss_score":5.5,"cvss_vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","cwe":["CWE-459"],"vendor":null,"product":null,"kev":{"is_kev":false,"date_added":null,"due_date":null,"ransomware":false},"epss":0.00156,"epss_percentile":0.04725,"nvd_status":"Received","enriched_at":null,"links":{"nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-99621"},"matched_alias":null,"items":[{"id":9438,"source":{"id":"nvd","name":"NVD CVE API 2.0"},"title":"CVE-2026-99621: In the Linux kernel, the following vulnerability has been resolved: drm/amdgpu: unlock the VM and BO when attaching a KFD BO fails kfd_mem_attach() locks the p…","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/amdgpu: unlock the VM and BO when attaching a KFD BO fails\n\nkfd_mem_attach() locks the page directory and the BO with a drm_exec\ntransaction on its stack, but leaves through the unwind label without\ndrm_exec_fini() when locking fails, e.g. when MAP_MEMORY_TO_GPU gets a\nsignal while the page directory or the BO is busy. Reservations already\nacquired then remain locked with their ww_acquire_ctx pointing into the\nexpired stack frame.\n\nWith one thread doing GEM_VA map/unmap on the KFD VM and\nanother one mapping KFD BOs while getting SIGUSR1 every 20 us:\n\n  BUG: KASAN: stack-out-of-bounds in __ww_mutex_lock.constprop.0+0x34f5/0x3da0\n   ww_mutex_lock_interruptible+0x2f/0x150\n   drm_exec_lock_obj+0x107/0x2d0 [drm_exec]\n   kfd_mem_attach+0x4dd/0x1b60 [amdgpu]\n\nand the process ends up in D state.\n\nFinish the transaction before unwinding.\n\n(cherry picked from commit 7b885fa27e4b9fa5cbdc64e66fc35872aee296f5)\n\nReferences:\nhttps://git.kernel.org/stable/c/1ae594845217ce740b27ec5a202e9e8cb144e0aa\nhttps://git.kernel.org/stable/c/e0a1404b34e0002f03f7979cdb791a9b5c3963f5","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-99621","published_at":"2026-11-20T06:17:54.757000Z","updated_at":"2026-11-20T06:17:54.757000Z","fetched_at":"2026-11-21T19:15:31.485023Z","severity":"medium","cvss_score":5.5,"epss":0.00156,"is_kev":false,"has_exploit":false,"kev_due_date":null,"vendor":"linux","product":null,"vuln_id":"CVE-2026-99621","vuln_ids":["CVE-2026-99621"],"tags":[],"cluster_id":739,"links":{"self":"https://vulnwatch.ve1ve2.com/api/v1/items/9438","html":"https://vulnwatch.ve1ve2.com/item/9438"}},{"id":1000,"source":{"id":"redhat","name":"Red Hat Security Data API"},"title":"CVE-2026-99621: kernel: kernel: amdgpu: Denial of Service via improper lock cleanup in kfd_mem_attach()","summary":"kernel: kernel: amdgpu: Denial of Service via improper lock cleanup in kfd_mem_attach()","url":"https://access.redhat.com/security/cve/cve-2026-99621","published_at":"2026-11-20T05:49:41Z","updated_at":null,"fetched_at":"2026-11-21T19:15:08.893388Z","severity":"medium","cvss_score":5.5,"epss":0.00156,"is_kev":false,"has_exploit":false,"kev_due_date":null,"vendor":"redhat","product":null,"vuln_id":"CVE-2026-99621","vuln_ids":["CVE-2026-99621"],"tags":["redhat"],"cluster_id":739,"links":{"self":"https://vulnwatch.ve1ve2.com/api/v1/items/1000","html":"https://vulnwatch.ve1ve2.com/item/1000"}}]}