{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-74328","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","state":"PUBLISHED","assignerShortName":"Linux","dateReserved":"2026-08-15T05:44:03.884Z","datePublished":"2026-08-15T05:58:22.371Z","dateUpdated":"2026-08-17T05:45:55.733Z"},"containers":{"cna":{"providerMetadata":{"orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux","dateUpdated":"2026-08-17T05:45:55.733Z"},"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\niommufd: Destroy the pages content after detaching from dmabuf\n\nSashiko points out this has gotten out of order, the mutex could still be\nin use through the dmabuf invalidation callbacks. Don't destroy any of the\npages content until the dmabuf is fully detached."}],"metrics":[{"cvssV3_1":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H","baseScore":8.8,"baseSeverity":"HIGH"},"scenarios":[{"lang":"en","value":"AV:L - Reached via local ioctl on /dev/iommu or /dev/vfio/vfio: open iommufd, map a dma-buf with IOMMU_IOAS_MAP_FILE to create iopt_pages, then unmap/destroy to hit iopt_release_pages(). No network packet path exists.\nAC:L - Attacker controls both sides of the race: one thread issues IOMMU_IOAS_UNMAP/IOMMU_DESTROY while another triggers dma_buf_invalidate_mappings() (e.g. VFIO PCI dmabuf revoke or IOMMU_TEST_OP_DMABUF_REVOKE), reliably hitting mutex_destroy before detach.\nPR:L - Exploitation needs only local access to iommufd and a compatible dma-buf fd (VFIO PCI exporter or iommufd selftest), not init-namespace root; cloud GPU/VFIO tenants with device group membership qualify as PR:L.\nUI:N - No victim interaction is required; the attacker programmatically creates the IOAS dmabuf mapping and orchestrates concurrent teardown and invalidation through their own file descriptors and ioctl calls.\nS:C - The flaw corrupts dmabuf revocation teardown while IOMMU domains may still hold mappings; iopt_revoke_notify unmaps tracked domains and a failed/partial revoke can leave stale IOMMU PTEs, breaking DMA isolation across the IOMMU security boundary.\nC:H - iopt_release_pages() calls mutex_destroy() and later kfree(pages) while dma_buf attachments remain and invalidate_mappings (iopt_revoke_notify) can still lock pages->mutex, causing kernel heap UAF with arbitrary read primitives.\nI:H - Use-after-free of the embedded mutex and entire iopt_pages structure during concurrent invalidate_mappings enables heap corruption and, via incomplete IOMMU unmapping on revoke, can redirect device DMA to attacker-influenced physical pages.\nA:H - Concurrent access to a destroyed mutex or freed iopt_pages during dmabuf invalidation or detach provokes KASAN-reported UAF, kernel oops/panic, and deterministic DoS on affected GPU/VFIO+iommufd workloads."}]}],"affected":[{"product":"Linux","vendor":"Linux","defaultStatus":"unaffected","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/iommu/iommufd/pages.c"],"versions":[{"version":"71db84a092c399f434976d0522e848e9803cd51a","lessThan":"0507fcedbdcc87281ef8639c045fc9980363bbb6","status":"affected","versionType":"git"},{"version":"71db84a092c399f434976d0522e848e9803cd51a","lessThan":"f2d70dbd3dcefa8e3c380beff9c31f5f033a4221","status":"affected","versionType":"git"}]},{"product":"Linux","vendor":"Linux","defaultStatus":"affected","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/iommu/iommufd/pages.c"],"versions":[{"version":"6.19","status":"affected"},{"version":"0","lessThan":"6.19","status":"unaffected","versionType":"semver"},{"version":"7.1.5","lessThanOrEqual":"7.1.*","status":"unaffected","versionType":"semver"},{"version":"7.2","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.19","versionEndExcluding":"7.1.5"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.19","versionEndExcluding":"7.2"}]}]}],"references":[{"url":"https://git.kernel.org/stable/c/0507fcedbdcc87281ef8639c045fc9980363bbb6"},{"url":"https://git.kernel.org/stable/c/f2d70dbd3dcefa8e3c380beff9c31f5f033a4221"}],"title":"iommufd: Destroy the pages content after detaching from dmabuf","x_generator":{"engine":"bippy-1.2.0"}}}}