{"id":"CVE-2026-23429","state":"PUBLISHED","title":"iommu/sva: Fix crash in iommu_sva_unbind_device()","description":"In the Linux kernel, the following vulnerability has been resolved:\n\niommu/sva: Fix crash in iommu_sva_unbind_device()\n\ndomain->mm->iommu_mm can be freed by iommu_domain_free():\n  iommu_domain_free()\n    mmdrop()\n      __mmdrop()\n        mm_pasid_drop()\nAfter iommu_domain_free() returns, accessing domain->mm->iommu_mm may\ndereference a freed mm structure, leading to a crash.\n\nFix this by moving the code that accesses domain->mm->iommu_mm to before\nthe call to iommu_domain_free().","publishedAt":"2026-04-03T15:15:15.856Z","updatedAt":"2026-08-05T12:21:42.311Z","severity":{"score":7.8,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","source":"Linux"},"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"9f0a7ab700f8620e433b05c57fbd26c92ea186d9","status":"affected","lessThan":"58abeb7b9562f25bdfa2f5ae5ce803eb02e74433","versionType":"git"},{"version":"e37d5a2d60a338c5917c45296bac65da1382eda5","status":"affected","lessThan":"f5daaa2c959d9f894fb5b1ab76da8612dd220a0d","versionType":"git"},{"version":"e37d5a2d60a338c5917c45296bac65da1382eda5","status":"affected","lessThan":"06e14c36e20b48171df13d51b89fe67c594ed07a","versionType":"git"},{"version":"6.18.7","status":"affected","lessThan":"6.18.20","versionType":"semver"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/iommu/iommu-sva.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.19","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.19","versionType":"semver"},{"version":"6.18.20","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"6.19.10","status":"unaffected","lessThanOrEqual":"6.19.*","versionType":"semver"},{"version":"7.0","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/iommu/iommu-sva.c"]}],"references":["https://git.kernel.org/stable/c/58abeb7b9562f25bdfa2f5ae5ce803eb02e74433","https://git.kernel.org/stable/c/f5daaa2c959d9f894fb5b1ab76da8612dd220a0d","https://git.kernel.org/stable/c/06e14c36e20b48171df13d51b89fe67c594ed07a"],"weaknesses":[],"ingestedAt":"2026-10-29T20:11:21.040Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/23xxx/CVE-2026-23429.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-23429","state":"PUBLISHED","datePublished":"2026-04-03T15:15:15.856Z","dateUpdated":"2026-08-05T12:21:42.311Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2026-01-13T15:37:46.016Z"},"containers":{"cna":{"title":"iommu/sva: Fix crash in iommu_sva_unbind_device()","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\niommu/sva: Fix crash in iommu_sva_unbind_device()\n\ndomain->mm->iommu_mm can be freed by iommu_domain_free():\n  iommu_domain_free()\n    mmdrop()\n      __mmdrop()\n        mm_pasid_drop()\nAfter iommu_domain_free() returns, accessing domain->mm->iommu_mm may\ndereference a freed mm structure, leading to a crash.\n\nFix this by moving the code that accesses domain->mm->iommu_mm to before\nthe call to iommu_domain_free()."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"9f0a7ab700f8620e433b05c57fbd26c92ea186d9","status":"affected","lessThan":"58abeb7b9562f25bdfa2f5ae5ce803eb02e74433","versionType":"git"},{"version":"e37d5a2d60a338c5917c45296bac65da1382eda5","status":"affected","lessThan":"f5daaa2c959d9f894fb5b1ab76da8612dd220a0d","versionType":"git"},{"version":"e37d5a2d60a338c5917c45296bac65da1382eda5","status":"affected","lessThan":"06e14c36e20b48171df13d51b89fe67c594ed07a","versionType":"git"},{"version":"6.18.7","status":"affected","lessThan":"6.18.20","versionType":"semver"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/iommu/iommu-sva.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.19","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.19","versionType":"semver"},{"version":"6.18.20","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"6.19.10","status":"unaffected","lessThanOrEqual":"6.19.*","versionType":"semver"},{"version":"7.0","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/iommu/iommu-sva.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/58abeb7b9562f25bdfa2f5ae5ce803eb02e74433"},{"url":"https://git.kernel.org/stable/c/f5daaa2c959d9f894fb5b1ab76da8612dd220a0d"},{"url":"https://git.kernel.org/stable/c/06e14c36e20b48171df13d51b89fe67c594ed07a"}],"metrics":[{"cvssV3_1":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","baseScore":7.8,"baseSeverity":"HIGH"},"scenarios":[{"lang":"en","value":"AV:L - The vulnerable `iommu_sva_unbind_device()` path is reached through local character/DRM/UIO accelerator device open and release paths, not by remote packets or adjacent-link traffic.\nAC:L - The attacker can deterministically create the lifetime pattern with normal open/fork/exit/close or file-descriptor transfer so the bound `mm` is finally dropped during unbind; no uncontrollable race is required.\nPR:L - The attacker needs local access to an SVA-capable user-exposed accelerator/UIO/idxd device node. The IOMMU SVA bind/unbind path itself has no CAP_* gate, and these devices are intended to be usable by local user processes.\nUI:N - Exploitation can be driven entirely by the attacker's own process and file descriptors. No separate victim action is required.\nS:U - The bug corrupts kernel memory from within a kernel subsystem and does not directly cross a VM, container, or IOMMU/DMA protection boundary. This is standard local kernel compromise scope.\nC:H - The stale `iommu_mm` object is used after it may be freed, and freed-object reuse can provide attacker-influenced data exposure primitives. Per the required guidance, use-after-free is scored as high confidentiality impact.\nI:H - The old code can perform list operations on freed memory after `iommu_domain_free()`, creating a plausible kernel heap/list corruption and arbitrary-write primitive. Per the required guidance, use-after-free is scored as high integrity impact.\nA:H - The documented failure mode is a kernel crash from dereferencing or manipulating freed `mm`/IOMMU SVA state. A kernel oops or panic is high availability impact."}]}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-08-05T12:21:42.311Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.18.7","versionEndExcluding":"6.18.20"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.19","versionEndExcluding":"6.19.10"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.19","versionEndExcluding":"7.0"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}}}}}