{"id":"CVE-2026-89445","aliases":["CVE-2026-89445"],"related":[],"kind":"vulnerability","state":"published","title":"iommufd: Fix UAF in selftest IOPF reporting","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\niommufd: Fix UAF in selftest IOPF reporting\n\nIOMMUFD selftest TRIGGER_IOPF borrows an attach handle from\ngroup->pasid_array without synchronizing against PASID detach,\nthen a concurrent iommu_report_device_fault() can dereference\nthat borrowed handle's domain pointer after the detach erases\nthe handle and frees the backing struct iommufd_attach_handle.\nTRIGGER_IOPF then dereferences the freed handle, causing a UAF.\n\nFix by adding a iopf_rwsem in mock_dev to follow the expected design\nof a real driver. Hold its read side across the whole\niommu_report_device_fault() call, and its write side around every\npath that attaches, detaches, or replaces a device domain.\nThis can block new reports and drains in-flight reports before an old\nattach handle or the IOPF fault parameter can be removed.\nAlso take the write side while registering a mock device, since\nit can invoke the mock driver's default-domain attach callback.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\niommufd: Fix UAF in selftest IOPF reporting\n\nIOMMUFD selftest TRIGGER_IOPF borrows an attach handle from\ngroup->pasid_array without synchronizing against PASID detach,\nthen a concurrent iommu_report_device_fault() can dereference\nthat borrowed handle's domain pointer after the detach erases\nthe handle and frees the backing struct iommufd_attach_handle.\nTRIGGER_IOPF then dereferences the freed handle, causing a UAF.\n\nFix by adding a iopf_rwsem in mock_dev to follow the expected design\nof a real driver. Hold its read side across the whole\niommu_report_device_fault() call, and its write side around every\npath that attaches, detaches, or replaces a device domain.\nThis can block new reports and drains in-flight reports before an old\nattach handle or the IOPF fault parameter can be removed.\nAlso take the write side while registering a mock device, since\nit can invoke the mock driver's default-domain attach callback.","source":"cvelist"}],"published":"2026-09-11T19:43:12.765Z","modified":"2026-10-19T09:17:36.597Z","severity":{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H","score":8.8,"rating":"HIGH"},"severities":[{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H","score":8.8,"rating":"HIGH"}],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"ddee19971081b42615d62f4fdada21274708ed4d","fixed":"fd2e7ac94d6d813548b021473c3dddc30c8c07d1","status":"affected"},{"type":"git","introduced":"ddee19971081b42615d62f4fdada21274708ed4d","fixed":"cab2895729516799384d48560e6fca105fb3f927","status":"affected"},{"type":"git","introduced":"ddee19971081b42615d62f4fdada21274708ed4d","fixed":"e27e90bde68b2ab92e63ed19caad1ef57188bea0","status":"affected"},{"type":"git","introduced":"ddee19971081b42615d62f4fdada21274708ed4d","fixed":"8c07df7cdfcf52f1ff276c588612aabc6c6b8399","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"6.11","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.11","status":"unaffected"},{"type":"semver","introduced":"6.12.112","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.50","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.2.4","lastAffected":"7.2.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.3","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/fd2e7ac94d6d813548b021473c3dddc30c8c07d1","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/cab2895729516799384d48560e6fca105fb3f927","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/e27e90bde68b2ab92e63ed19caad1ef57188bea0","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/8c07df7cdfcf52f1ff276c588612aabc6c6b8399","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-89445","url":"https://www.cve.org/CVERecord?id=CVE-2026-89445","licence":"CVE Terms of Use","modified":"2026-10-19T08:46:54.686Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-89445","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-89445","licence":"Public domain","modified":"2026-10-19T09:17:36.597Z"}],"updatedAt":"2026-11-25T22:59:38.021Z","epss":{"score":0.00168,"percentile":0.06398,"date":"2026-12-01T12:00:22.000Z"}}