Skip to contentSkip to conversation

CVE-2026-53280: iommu: Fix NULL group->domain dereference in pci_dev_reset_iommu_done()

DISCUSSION Greg Kroah-Hartman 1 participant 1 message Jun 26

lore
Share & tools
lore
#0 lore raw

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

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

In the Linux kernel, the following vulnerability has been resolved:

iommu: Fix NULL group->domain dereference in pci_dev_reset_iommu_done()

Local sashiko review pointed it out that group->domain could be NULL when a default domain fails to allocate during the first probe, which can crash at domain->ops->attach_dev dereference in __iommu_attach_device() invoked by pci_dev_reset_iommu_done().

pci_dev_reset_iommu_prepare() is fine as an old_domain pointer can be NULL.

Skip the re-attach in pci_dev_reset_iommu_done() to fix the bug.

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

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

	Issue introduced in 7.0 with commit c279e83953d937470f8a6e69b69f62608714f13f and fixed in 7.0.10 with commit 17194cd0dd236e732d116d50840d795ca50ef196
	Issue introduced in 7.0 with commit c279e83953d937470f8a6e69b69f62608714f13f and fixed in 7.1 with commit d769711fcddd005f1e654b3bde547140917fe696

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-53280

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/iommu.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/17194cd0dd236e732d116d50840d795ca50ef196
	https://git.kernel.org/stable/c/d769711fcddd005f1e654b3bde547140917fe696