Linux kernel amdxdna: use-after-free on the IOMMU domain when the accelerator device is removed
Impact
In force_iova mode the amdxdna driver frees xdna->domain inside amdxdna_remove(), but a GEM buffer object freed after device removal can still dereference that pointer, giving a use-after-free on a kernel IOMMU domain structure. The scored vector is local, low-privilege, with a scope change and high confidentiality, integrity and availability impact, which is consistent with corruption of kernel memory reachable from an unprivileged holder of the accelerator device node. Exposure is limited to hosts that actually have an AMD XDNA NPU bound to this driver - it is a client/workstation accelerator part, not something present on server GPU nodes - so most fleets will find the driver absent. Where it is present, the race needs device removal (hot-unplug, driver unbind, or a teardown path) to run concurrently with buffer teardown.
Who can reach it
Local user with an open handle to the amdxdna accelerator device, racing a device removal or driver unbind. No remote or network path; no unauthenticated path.
What to do
Take the stable-kernel fix that converts the domain free into a DRM managed release action (commits 65e7e2b8d71b and b4a0500fdf6e) via a distribution kernel update, then reboot the affected host. On fleets with no AMD XDNA hardware the driver is not loaded and no action is required; blacklisting amdxdna is a valid stopgap where the NPU is unused. The record names no fixed release numbers, only the stable commits.
References
Related entries
- BlueField / ConnectX firmware: Improper certificate validation / access controlCVE-2024-0106 · BlueField / ConnectX firmwareHigh
- Jetson (Xavier/TX/Nano): Improper error handlingCVE-2024-0108 · Jetson (Xavier/TX/Nano)High
- BlueField DPU: Access-control bypass on the DPUCVE-2025-23256 · BlueField DPUHigh
- NVIDIA License System - Delegated Licensing Service (DLS): An unauthorised action against the DLS reaches highCVE-2025-23293 · NVIDIA License System - Delegated Licensing Service (DLS)High
- NemoClaw: Sensitive info exposure in logsCVE-2026-24222 · NemoClawHigh
- NVIDIA GPU Display Driver - kernel mode layer (Windows nvlddmkm.sys and Linux nvidia.ko): A specially crafted shaderCVE-2022-28181 · NVIDIA GPU Display Driver - kernel mode layer (Windows nvlddmkm.sys and Linux nvidia.ko)High
This entry is curated: imported from vendor advisories with machine assistance, not yet individually verified. Confirm against your vendor's advisory before acting, and report anything wrong.