{"id":"CVE-2026-89445","published":"2026-09-11T19:43:12Z","modified":"2026-10-19T08:46:54Z","title":"iommufd: Fix UAF in selftest IOPF reporting","vendor":"Linux","product":"Linux","tier":"tail","description":{"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.","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.00168,"percentile":0.06083,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/fd2e7ac94d6d813548b021473c3dddc30c8c07d1","tags":[]},{"url":"https://git.kernel.org/stable/c/cab2895729516799384d48560e6fca105fb3f927","tags":[]},{"url":"https://git.kernel.org/stable/c/e27e90bde68b2ab92e63ed19caad1ef57188bea0","tags":[]},{"url":"https://git.kernel.org/stable/c/8c07df7cdfcf52f1ff276c588612aabc6c6b8399","tags":[]}],"priority":{"score":7.4,"factors":[{"name":"EPSS percentile","points":1.22},{"name":"CVSS severity","points":6.16}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= ddee19971081b42615d62f4fdada21274708ed4d, < fd2e7ac94d6d813548b021473c3dddc30c8c07d1",">= ddee19971081b42615d62f4fdada21274708ed4d, < cab2895729516799384d48560e6fca105fb3f927",">= ddee19971081b42615d62f4fdada21274708ed4d, < e27e90bde68b2ab92e63ed19caad1ef57188bea0",">= ddee19971081b42615d62f4fdada21274708ed4d, < 8c07df7cdfcf52f1ff276c588612aabc6c6b8399"]},{"vendor":"Linux","product":"Linux","versions":["6.11"]}],"euvd":{"id":"EUVD-2026-76351","exploited":false,"provenance":"source"}}