{"id":"CVE-2026-52952","published":"2026-06-24T16:28:35Z","modified":"2026-08-05T12:32:02Z","title":"iommu: Fix WARN_ON in __iommu_group_set_domain_nofail() due to reset","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\niommu: Fix WARN_ON in __iommu_group_set_domain_nofail() due to reset\n\nIn __iommu_group_set_domain_internal(), concurrent domain attachments are\nrejected when any device in the group is recovering. This is necessary to\nfence concurrent attachments to a multi-device group where devices might\nshare the same RID due to PCI DMA alias quirks, but triggers the WARN_ON in\n__iommu_group_set_domain_nofail().\n\nOther IOMMU_SET_DOMAIN_MUST_SUCCEED callers in detach/teardown paths, such\nas __iommu_group_set_core_domain and __iommu_release_dma_ownership, should\nnot be rejected, as the domain would be freed anyway in these nofail paths\nwhile group->domain is still pointing to it. So pci_dev_reset_iommu_done()\ncould trigger a UAF when re-attaching group->domain.\n\nHonor the IOMMU_SET_DOMAIN_MUST_SUCCEED flag, allowing the callers through\nthe group->recovery_cnt fence, so as to update the group->domain pointer.\nInstead add a gdev->blocked check in the device iteration loop, to prevent\nany concurrent per-device detachment.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.8,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00177,"percentile":0.04314,"provenance":"source"},"cwes":[{"id":"CWE-825","name":"Expired Pointer Dereference"}],"references":[{"url":"https://git.kernel.org/stable/c/8fc289e809f3eb7e36cadc4684ab6fad747a5a93","tags":[]},{"url":"https://git.kernel.org/stable/c/5474e6e17a262db45c60575c73f70210f5c7001f","tags":[]},{"url":"https://access.redhat.com/security/cve/CVE-2026-52952","tags":["vdb-entry","x_refsource_REDHAT"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2492422","tags":["issue-tracking","x_refsource_REDHAT"]},{"url":"https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-52952.json","tags":["x_sadp-csaf-vex"]}],"priority":{"score":7.0,"factors":[{"name":"EPSS percentile","points":0.86},{"name":"CVSS severity","points":6.16}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= c279e83953d937470f8a6e69b69f62608714f13f, < 8fc289e809f3eb7e36cadc4684ab6fad747a5a93",">= c279e83953d937470f8a6e69b69f62608714f13f, < 5474e6e17a262db45c60575c73f70210f5c7001f"]},{"vendor":"Linux","product":"Linux","versions":["7.0"]}],"euvd":{"id":"EUVD-2026-38820","exploited":false,"provenance":"source"}}