Dismissed
(max. allowed matches exceeded)
Activity log
- Created & dismissed (max. allowed matches exceeded) suggestion
iommufd/viommu: Release the igroup lock on the vdevice_size error path
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.
References
Affected products
Linux
- <294b464b2be7e57872864cb6936e1d9c7294f89d
- ==6.17
- =<6.18.*
- <339bd11591593ab7ce88136ab7fd01ef3813b724
- =<7.1.*
- <ca9e49e1c8931a4e6e743a1f1d2e7f977f774b86
- <6.17
- =<*