iommufd: Release current IOAS on xa_store() failure
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 07b4fe1367f076886c1c47a19c70936138325087, Kernel 4ac2ce123824d5f885c868fa1f9f4d463141a2ba and Kernel 4c33d00ad9a911e87ea222986f732ce072e3aa26.
In the Linux kernel, the following vulnerability has been resolved: iommufd: Release current IOAS on xa_store() failure iommufd_take_all_iova_rwsem() takes an object reference and the iova_rwsem write lock before storing the IOAS in the temporary ioas_list xarray. If xa_store() fails, the current IOAS has not been inserted into ioas_list yet. iommufd_release_all_iova_rwsem() only unwinds IOAS objects already present in that xarray, so it cannot release the current IOAS. Release the current IOAS rwsem and object reference before unwinding the previously stored entries.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | =6.13, >=051ae5aa73d782a8be2699a11e17c68f28b4e758 <07b4fe1367f076886c1c47a19c70936138325087, >=051ae5aa73d782a8be2699a11e17c68f28b4e758 <4ac2ce123824d5f885c868fa1f9f4d463141a2ba, >=051ae5aa73d782a8be2699a11e17c68f28b4e758 <4c33d00ad9a911e87ea222986f732ce072e3aa26 | 07b4fe1367f076886c1c47a19c70936138325087, 4ac2ce123824d5f885c868fa1f9f4d463141a2ba, 4c33d00ad9a911e87ea222986f732ce072e3aa26 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket