Skip to contentSkip to conversation

CVE-2026-80687: iommufd/viommu: Release the igroup lock on the vdevice_size error path

DISCUSSION Greg Kroah-Hartman 1 participant 1 message Aug 28

lore
Share & tools
lore
#0 lore raw

From: Greg Kroah-Hartman <[email protected]>

Description
===========

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.

The Linux kernel CVE team has assigned CVE-2026-80687 to this issue.

Affected and fixed versions
===========================

	Issue introduced in 6.17 with commit ed42eee797ff3dc889ade63c1dd7c4f430699e23 and fixed in 6.18.44 with commit 294b464b2be7e57872864cb6936e1d9c7294f89d
	Issue introduced in 6.17 with commit ed42eee797ff3dc889ade63c1dd7c4f430699e23 and fixed in 7.1.8 with commit ca9e49e1c8931a4e6e743a1f1d2e7f977f774b86
	Issue introduced in 6.17 with commit ed42eee797ff3dc889ade63c1dd7c4f430699e23 and fixed in 7.2 with commit 339bd11591593ab7ce88136ab7fd01ef3813b724

Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community.

Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at

	https://cve.org/CVERecord/?id=CVE-2026-80687

will be updated if fixes are backported, please check that for the most up to date information about this issue.

Affected files
==============

The file(s) affected by this issue are:
drivers/iommu/iommufd/viommu.c

Mitigation
==========

The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits:

	https://git.kernel.org/stable/c/294b464b2be7e57872864cb6936e1d9c7294f89d
	https://git.kernel.org/stable/c/ca9e49e1c8931a4e6e743a1f1d2e7f977f774b86
	https://git.kernel.org/stable/c/339bd11591593ab7ce88136ab7fd01ef3813b724