Bug 2517030 (CVE-2026-74520) - CVE-2026-74520 kernel: iommu/iommufd: Fix IOPF group ownership UAF
Summary: CVE-2026-74520 kernel: iommu/iommufd: Fix IOPF group ownership UAF
Keywords:
Status: NEW
Alias: CVE-2026-74520
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
high
high
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-08-15 12:45 UTC by OSIDB Bzimport
Modified: 2026-08-20 18:07 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-08-15 12:45:31 UTC
In the Linux kernel, the following vulnerability has been resolved:

iommu/iommufd: Fix IOPF group ownership UAF

iopf_group_alloc() links each last-page IOPF group into the generic IOPF
pending list before invoking the domain fault handler.
iommufd_fault_iopf_handler() also queued an accepted group in the
IOMMUFD deliver list without removing it from the generic pending list.

When detach or HWPT replacement drops the device's IOPF reference count
to zero, an IOMMU driver may call iopf_queue_remove_device(). That
function responds to and frees groups through the generic pending list
without removing the same groups from IOMMUFD's deliver list or response
xarray. A later read, response, or cleanup can then access the freed
group and cause a UAF.

Fix this by dequeuing an accepted group from the generic pending list
before IOMMUFD queues it for userspace response.
Make iopf_group_response() send a response regardless of pending-list
membership, so the dequeued group can still be completed by IOMMUFD.

Comment 1 Mauro Matteo Cascella 2026-08-19 19:26:59 UTC
Upstream advisory:
https://lore.kernel.org/linux-cve-announce/2026081544-CVE-2026-74520-7811@gregkh/T


Note You need to log in before you can comment on or make changes to this bug.