CVE-2026-80608
published high CVSS 3.1 · 8.8accel/amdxdna: Fix iommu domain lifetime race during device removal
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linuxece3e8980907818c72dc9faa7bbaf40488ef1824 to < 65e7e2b8d71b418439ebc68e80ed3e5a325375d6 · ece3e8980907818c72dc9faa7bbaf40488ef1824 to < b4a0500fdf6e61a6c5f92ff2e61bc91578075803 · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux7.1 (affected) · 0 to < 7.1 (unaffected · semver) · 7.1.5 through 7.1.* (unaffected · semver) · 7.2 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: accel/amdxdna: Fix iommu domain lifetime race during device removal When force_iova mode is enabled, amdxdna_remove() frees xdna->domain. If amdxdna_gem_obj_free() is called after device removal, it may attempt to access xdna->domain, resulting in a use-after-free. Fix the race by adding freeing xdna->domain as a managed release action, so its lifetime is managed by DRM and remains valid until all managed resources are released.
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.
- CVSS version
- 3.1
- Base score
- 8.8 / 10
- Severity
- high
- Provider
- Linux · cna
- Vector string
- CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
- Scenarios
- en: AV:L - The UAF is reached via local /dev/accel/accel* syscalls (open, DRM_IOCTL_AMDXDNA_CREATE_BO, close) that call amdxdna_gem_obj_free()→amdxdna_dma_unmap_bo(); there is no network, adjacent-radio, or physical-bus entry to this AMD XDNA NPU driver path. AC:L - This is a lifetime race between amdxdna_remove() freeing xdna->domain and concurrent GEM teardown; an attacker controls both sides with threads holding DMA-mapped BOs while triggering driver unbind/rmmod or rapid create/destroy ioctls, reliably hitting the post-removal amdxdna_dma_unmap_bo() UAF window. PR:L - Vulnerable ioctls use DRM_IOCTL_DEF_DRV flags 0 (no DRM_ROOT_ONLY/DRM_AUTH); any local user permitted to open the AMD NPU accel device on Ryzen AI systems can create IOVA-mapped BOs and race teardown, without init-namespace root, once force_iova mode is active. UI:N - Exploitation requires only the attacker opening the accel device, allocating buffer objects, and closing/releasing them (or duping fds) during driver removal; no separate victim mount, click, or other user interaction is needed. S:C - The use-after-free dereferences a freed struct iommu_domain during iommu_unmap()/IOVA teardown; corrupting IOMMU mapping state can break DMA isolation between the NPU and host physical memory, crossing the IOMMU security boundary. C:H - Use-after-free of the IOMMU domain object and associated iovad metadata via amdxdna_dma_unmap_bo() enables attacker-influenced slab reuse; subsequent iommu_unmap and IOVA allocator dereferences provide arbitrary kernel memory disclosure primitives. I:H - UAF on the IOMMU domain during unmap enables heap grooming to corrupt IOMMU page-table management structures and kernel objects, supporting arbitrary kernel writes, control-flow hijack, and potential redirection of NPU DMA to attacker-chosen pages. A:H - Dereferencing and operating on a freed iommu_domain in amdxdna_dma_unmap_bo() causes kernel oops/panic; the race is repeatable whenever GEM objects outlive amdxdna_iommu_fini() during device removal, sustaining denial of service.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | ece3e8980907818c72dc9faa7bbaf40488ef1824 to < 65e7e2b8d71b418439ebc68e80ed3e5a325375d6 (affected · git)ece3e8980907818c72dc9faa7bbaf40488ef1824 to < b4a0500fdf6e61a6c5f92ff2e61bc91578075803 (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 7.1 (affected)0 to < 7.1 (unaffected · semver)7.1.5 through 7.1.* (unaffected · semver)7.2 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
2Provider assertions
1Linux · cna
accel/amdxdna: Fix iommu domain lifetime race during device removal
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- f7217ced41cc8481db0812b4c4ee0db03b647240b67a7a11cb0bb8bff597fa1e
- Ingested
- 23 Sep 2026, 09:34:40 UTC
- Source record
- Official CVE record