iommu/iommufd: Fix IOPF group ownership UAF (Linux Linux)

CVE-2026-74520
HIGH 8.8

At a glance

Source
NVD
EPSS
EPSS 0.13 % · percentile 3 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
Affected products
Linux · Linux
NVD status
Received

Description

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.

References

Scores

VersionScoreVectorScored by
CVSS 3.1HIGH 8.8CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:HLinux
CVSS 3.1HIGH 8.8CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:HNVD · 416baaa9-dc9f-4396-8d5f-8c081fb06d67 (Secondary)

European references

CERT-FR advisories

Affected products

ProductAffected versions
Linux · Linux
affected : ≥ 34765cbc679c59ea5d952d738d2d16bf4aadc497 < 8563099bc4b03e1894a983a394225d69b05d9277
affected : ≥ 34765cbc679c59ea5d952d738d2d16bf4aadc497 < 6da8f37419dd4c456f26fc203f04e000186f4b3d
affected : ≥ 34765cbc679c59ea5d952d738d2d16bf4aadc497 < 4e74a369236424114b94cf6a9f5ff9e848b430b4
affected : ≥ 34765cbc679c59ea5d952d738d2d16bf4aadc497 < 738e6f32e61d80b554e37015ecb7bc620b88001c
Other versions : unaffected
Linux · Linux
affected : 6.11
unaffected : ≥ 0 < 6.11
unaffected : ≥ 6.12.114 ≤ 6.12.*
unaffected : ≥ 6.18.44 ≤ 6.18.*
unaffected : ≥ 7.1.8 ≤ 7.1.*
unaffected : ≥ 7.2 ≤ *
Other versions : affected

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD