CVE-2026-45931 accel/amdxdna: Hold mm structure across iommu_sva_unbind_device()
A use-after-free vulnerability in the AMD XDNA accelerator driver allows local attackers to cause a system crash by triggering a race condition during device unbinding.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2026-45931?
CVE-2026-45931 is a high-severity use after free vulnerability in Linux kernel, published on 27 May 2026. It can only be exploited from the same machine or local network, with no action from the victim.
Official 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.
Which versions are affected by CVE-2026-45931?
It affects 1 product.
Products include Linux kernel.
How do I fix CVE-2026-45931?
Apply the vendor's patch.
Upgrade to the fixed version. These bugs are found with fuzzing and sanitisers and avoided by memory-safe languages. More about Use after free.
Is CVE-2026-45931 being exploited?
There is no known exploitation of CVE-2026-45931 in the wild and no public exploit code.
Other vulnerabilities in Linux kernel
Sources
Also known as BELL-CVE-2026-45931, DEBIAN-CVE-2026-45931, GHSA-gfc2-582g-3757, UBUNTU-CVE-2026-45931.