CVE-2026-45931
published high CVSS 3.1 · 7.8accel/amdxdna: Hold mm structure across iommu_sva_unbind_device()
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linuxbe462c97b7dfd24999babe39cce3de224ebe1f80 to < f6b4c1d98a7b8040d4d02e89425b3942016a2c2c · be462c97b7dfd24999babe39cce3de224ebe1f80 to < f31ccf6278132a35a652fe5eeac3941e1e912398 · be462c97b7dfd24999babe39cce3de224ebe1f80 to < a9162439ad792afcddc04718408ec1380b7a5f63 · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux6.14 (affected) · 0 to < 6.14 (unaffected · semver) · 6.18.14 through 6.18.* (unaffected · semver) · 6.19.4 through 6.19.* (unaffected · semver) · 7.0 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: Hold mm structure across iommu_sva_unbind_device() Some tests trigger a crash in iommu_sva_unbind_device() due to accessing iommu_mm after the associated mm structure has been freed. Fix this by taking an explicit reference to the mm structure after successfully binding the device, and releasing it only after the device is unbound. This ensures the mm remains valid for the entire SVA bind/unbind lifetime.
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
- 7.8 / 10
- Severity
- high
- Provider
- Linux · cna
- Vector string
- CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Scenarios
- en: AV:L - The vulnerable bind/unbind code is reached only by opening the local amdxdna accel device file (/dev/accel/accelN) and closing it; there is no network or remote-peer path to this driver. AC:L - The attacker controls both sides of the lifetime issue (the SVA bind at open and the unbind timing via process/fd teardown), and the crash reproduces reliably in tests, so no condition is beyond the attacker's control. PR:L - Opening the device and triggering the SVA bind/unbind requires no capability (no CAP check on the path; DRM_ROOT_ONLY only guards SET_STATE), only the ability to open the accel node, which unprivileged ML workloads on AMD NPU systems possess. UI:N - The attacker's own process triggers the bug entirely through its own open/close sequence; no action by another user is required. S:U - The use-after-free corrupts kernel-managed objects (mm_struct/iommu_mm_data) within the kernel's own security authority and does not breach the IOMMU DMA-isolation boundary or escape to another scope. C:H - Per kernel guidance a use-after-free is High; the freed iommu_mm_data/mm_struct is read after free, and controlling the reallocated contents enables disclosure of freed kernel memory. I:H - The UAF lets an attacker who reallocates the freed iommu_mm_data control the pasid value driving iommu_detach_device_pasid(), enabling kernel/IOMMU state corruption and the heap-spray/arbitrary-write potential characteristic of UAFs. A:H - Dereferencing the freed mm structure during unbind reliably oopses/panics the kernel, a High availability impact.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | be462c97b7dfd24999babe39cce3de224ebe1f80 to < f6b4c1d98a7b8040d4d02e89425b3942016a2c2c (affected · git)be462c97b7dfd24999babe39cce3de224ebe1f80 to < f31ccf6278132a35a652fe5eeac3941e1e912398 (affected · git)be462c97b7dfd24999babe39cce3de224ebe1f80 to < a9162439ad792afcddc04718408ec1380b7a5f63 (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 6.14 (affected)0 to < 6.14 (unaffected · semver)6.18.14 through 6.18.* (unaffected · semver)6.19.4 through 6.19.* (unaffected · semver)7.0 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
3Provider assertions
1Linux · cna
accel/amdxdna: Hold mm structure across iommu_sva_unbind_device()
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 620d69c614166d9d791574fc8f25ca638059ce93df6312f105dc7ec9548df13b
- Ingested
- 23 Sep 2026, 09:15:56 UTC
- Source record
- Official CVE record