iommufd/viommu: Release the igroup lock on the vdevice_size error path
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 294b464b2be7e57872864cb6936e1d9c7294f89d, Kernel 339bd11591593ab7ce88136ab7fd01ef3813b724 and Kernel ca9e49e1c8931a4e6e743a1f1d2e7f977f774b86.
In the Linux kernel, the following vulnerability has been resolved: iommufd/viommu: Release the igroup lock on the vdevice_size error path iommufd_vdevice_alloc_ioctl() takes idev->igroup->lock, then validates the driver's vdevice_size against the core structure size with a WARN_ON_ONCE. On failure that guard jumps to out_put_idev, below out_unlock_igroup, so it skips the mutex_unlock(), leaving the igroup lock held and deadlocking the next vDEVICE operation on that group. Jump to out_unlock_igroup instead.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | =6.17, >=ed42eee797ff3dc889ade63c1dd7c4f430699e23 <294b464b2be7e57872864cb6936e1d9c7294f89d, >=ed42eee797ff3dc889ade63c1dd7c4f430699e23 <339bd11591593ab7ce88136ab7fd01ef3813b724, >=ed42eee797ff3dc889ade63c1dd7c4f430699e23 <ca9e49e1c8931a4e6e743a1f1d2e7f977f774b86 | 294b464b2be7e57872864cb6936e1d9c7294f89d, 339bd11591593ab7ce88136ab7fd01ef3813b724, ca9e49e1c8931a4e6e743a1f1d2e7f977f774b86 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket