CVE-2026-99621
publisheddrm/amdgpu: unlock the VM and BO when attaching a KFD BO fails
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linuxfd1fa48b935f22c7d99713bf33846e14a6bb6ab9 to < 1ae594845217ce740b27ec5a202e9e8cb144e0aa · fd1fa48b935f22c7d99713bf33846e14a6bb6ab9 to < e0a1404b34e0002f03f7979cdb791a9b5c3963f5 · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux7.0 (affected) · 0 to < 7.0 (unaffected · semver) · 7.3.5 through 7.3.* (unaffected · semver) · 7.4-rc2 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
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)
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | fd1fa48b935f22c7d99713bf33846e14a6bb6ab9 to < 1ae594845217ce740b27ec5a202e9e8cb144e0aa (affected · git)fd1fa48b935f22c7d99713bf33846e14a6bb6ab9 to < e0a1404b34e0002f03f7979cdb791a9b5c3963f5 (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 7.0 (affected)0 to < 7.0 (unaffected · semver)7.3.5 through 7.3.* (unaffected · semver)7.4-rc2 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
2Provider assertions
1Linux · cna
drm/amdgpu: unlock the VM and BO when attaching a KFD BO fails
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- be94704ee72fd92b7eb00c22b0601c4504240faf62ef4475f12402d22e065ce5
- Ingested
- 20 Nov 2026, 05:52:57 UTC
- Source record
- Official CVE record