{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-99621","id":"CVE-2026-99621","title":"Linux kernel denial of service in AMDGPU KFD buffer attachment","description":"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. Reserv","descriptionLong":"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)","published":"2026-11-20T05:49:41.407Z","updated":"2026-11-20T05:49:41.407Z","reserved":"2026-09-25T10:25:14.425Z","status":"PUBLISHED","rejected":false,"assigner":"Linux","metric":null,"metrics":[],"rating":"unrated","products":["Linux"],"affectedProducts":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"fd1fa48b935f22c7d99713bf33846e14a6bb6ab9","lessThan":"1ae594845217ce740b27ec5a202e9e8cb144e0aa","status":"affected","versionType":"git"},{"version":"fd1fa48b935f22c7d99713bf33846e14a6bb6ab9","lessThan":"e0a1404b34e0002f03f7979cdb791a9b5c3963f5","status":"affected","versionType":"git"}],"platforms":[]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"7.0","status":"affected"},{"version":"0","lessThan":"7.0","status":"unaffected","versionType":"semver"},{"version":"7.3.5","lessThanOrEqual":"7.3.*","status":"unaffected","versionType":"semver"},{"version":"7.4-rc2","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}],"platforms":[]}],"packages":[],"cwes":[],"aliases":[],"references":[{"url":"https://git.kernel.org/stable/c/1ae594845217ce740b27ec5a202e9e8cb144e0aa","tags":[]},{"url":"https://git.kernel.org/stable/c/e0a1404b34e0002f03f7979cdb791a9b5c3963f5","tags":[]}],"patchReferenced":false,"fixAvailable":false,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":null,"epssPercentile":null,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-99621","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-99621","ok":false,"note":"not found"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-99621","ok":false,"note":"no open-source package data"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-99621","ok":false,"note":"no score yet"}],"aiTitle":true,"tech":[],"critical":[],"attention":null}