# CVE-2026-99621: drm/amdgpu: unlock the VM and BO when attaching a KFD BO fails

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **EPSS:** 0.20% (percentile 5, 2026-11-28)
- **Published:** 2026-11-20T05:49:41.407Z
- **Modified:** 2026-11-20T06:17:54.757Z

## Who should check

- Anyone running Linux \>= fd1fa48b935f22c7d99713bf33846e14a6bb6ab9, \< 1ae594845217ce740b27ec5a202e9e8cb144e0aa; \>= fd1fa48b935f22c7d99713bf33846e14a6bb6ab9, \< e0a1404b34e0002f03f7979cdb791a9b5c3963f5
- Anyone running Linux 7.0

## Description

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 page directory and the BO with a drm\_exec
transaction on its stack, but leaves through the unwind label without
drm\_exec\_fini() when locking fails, e.g. when MAP\_MEMORY\_TO\_GPU gets a
signal while the page directory or the BO is busy. Reservations already
acquired then remain locked with their ww\_acquire\_ctx pointing into the
expired stack frame.

With one thread doing GEM\_VA map/unmap on the KFD VM and
another one mapping KFD BOs while getting SIGUSR1 every 20 us:

  BUG: KASAN: stack-out-of-bounds in \_\_ww\_mutex\_lock.constprop.0+0x34f5/0x3da0
   ww\_mutex\_lock\_interruptible+0x2f/0x150
   drm\_exec\_lock\_obj+0x107/0x2d0 \[drm\_exec\]
   kfd\_mem\_attach+0x4dd/0x1b60 \[amdgpu\]

and the process ends up in D state.

Finish the transaction before unwinding.

(cherry picked from commit 7b885fa27e4b9fa5cbdc64e66fc35872aee296f5)

## Affected and fixed versions

- Linux: \>= fd1fa48b935f22c7d99713bf33846e14a6bb6ab9, \< 1ae594845217ce740b27ec5a202e9e8cb144e0aa; \>= fd1fa48b935f22c7d99713bf33846e14a6bb6ab9, \< e0a1404b34e0002f03f7979cdb791a9b5c3963f5 (cvelist)
- Linux: 7.0 (cvelist)

## Technologies

Linux kernel

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-99621. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-99621.md
Affected: Linux >= fd1fa48b935f22c7d99713bf33846e14a6bb6ab9, < 1ae594845217ce740b27ec5a202e9e8cb144e0aa; >= fd1fa48b935f22c7d99713bf33846e14a6bb6ab9, < e0a1404b34e0002f03f7979cdb791a9b5c3963f5; Linux 7.0
Fixed in: Linux 1ae594845217ce740b27ec5a202e9e8cb144e0aa

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-99621 being exploited?

There is no confirmed exploitation: CVE-2026-99621 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.20% chance of exploitation in the next 30 days (as of 2026-11-28).

### How serious is CVE-2026-99621?

It has no CVSS score yet. Unknown.

### Which versions are affected by CVE-2026-99621?

Linux \>= fd1fa48b935f22c7d99713bf33846e14a6bb6ab9, \< 1ae594845217ce740b27ec5a202e9e8cb144e0aa; \>= fd1fa48b935f22c7d99713bf33846e14a6bb6ab9, \< e0a1404b34e0002f03f7979cdb791a9b5c3963f5; Linux 7.0.

### Is there a fix for CVE-2026-99621?

Yes. Fixed in Linux 1ae594845217ce740b27ec5a202e9e8cb144e0aa. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2026-99621?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- other: <https://git.kernel.org/stable/c/1ae594845217ce740b27ec5a202e9e8cb144e0aa>
- other: <https://git.kernel.org/stable/c/e0a1404b34e0002f03f7979cdb791a9b5c3963f5>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-99621>
- FIRST EPSS: EPSS scores by FIRST <https://www.first.org/epss/>

HTML: <https://flawdb.com/CVE-2026-99621> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-99621>
