Skip to contentSkip to conversation

CVE-2026-80608: accel/amdxdna: Fix iommu domain lifetime race during device removal

DISCUSSION Greg Kroah-Hartman 1 participant 1 message Aug 28

lore
Share & tools
lore
#0 lore raw

From: Greg Kroah-Hartman <[email protected]>

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.

The Linux kernel CVE team has assigned CVE-2026-80608 to this issue.

Affected and fixed versions
===========================

	Issue introduced in 7.1 with commit ece3e8980907818c72dc9faa7bbaf40488ef1824 and fixed in 7.1.5 with commit 65e7e2b8d71b418439ebc68e80ed3e5a325375d6
	Issue introduced in 7.1 with commit ece3e8980907818c72dc9faa7bbaf40488ef1824 and fixed in 7.2 with commit b4a0500fdf6e61a6c5f92ff2e61bc91578075803

Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community.

Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at

	https://cve.org/CVERecord/?id=CVE-2026-80608

will be updated if fixes are backported, please check that for the most up to date information about this issue.

Affected files
==============

The file(s) affected by this issue are:
drivers/accel/amdxdna/amdxdna_iommu.c

Mitigation
==========

The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits:

	https://git.kernel.org/stable/c/65e7e2b8d71b418439ebc68e80ed3e5a325375d6
	https://git.kernel.org/stable/c/b4a0500fdf6e61a6c5f92ff2e61bc91578075803