Description (CNA)
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 (CNA)
| Vendor / product | Versions |
|---|---|
| Linux / Linux | affected ed42eee797ff3dc889ade63c1dd7c4f430699e23 before 294b464b2be7e57872864cb6936e1d9c7294f89d; affected ed42eee797ff3dc889ade63c1dd7c4f430699e23 before ca9e49e1c8931a4e6e743a1f1d2e7f977f774b86; affected ed42eee797ff3dc889ade63c1dd7c4f430699e23 before 339bd11591593ab7ce88136ab7fd01ef3813b724 |
| Linux / Linux | affected 6.17; unaffected 0 before 6.17; unaffected 6.18.44 through 6.18.*; unaffected 7.1.8 through 7.1.*; unaffected 7.2 through * |
CWE
No CWE identifiers supplied.