VDB

CVE-2026-80620

CVE-2026-80620 PUBLISHED

Revert "PCI/MSI: Unmap MSI-X region on error"

Reported by linux · Published August 28, 2026

In the Linux kernel, the following vulnerability has been resolved: Revert "PCI/MSI: Unmap MSI-X region on error" This reverts commit 1a8d4c6ecb4c81261bcdf13556abd4a958eca202. Commit 1a8d4c6ecb4c ("PCI/MSI: Unmap MSI-X region on error") added an iounmap(dev->msix_base) on the error path of msix_capability_init() to release the MSI-X region when msix_setup_interrupts() fails. When msix_setup_interrupts() fails, the call chain is: msix_setup_interrupts() -> __msix_setup_interrupts() struct pci_dev *dev __free(free_msi_irqs) = __dev; ... return ret; // __free cleanup fires on error The __free(free_msi_irqs) cleanup calls pci_free_msi_irqs(), which already handles the unmap: void pci_free_msi_irqs(struct pci_dev *dev) { pci_msi_teardown_msi_irqs(dev); if (dev->msix_base) { iounmap(dev->msix_base); // already unmapped here dev->msix_base = NULL; // and set to NULL } } So dev->msix_base is unmapped and set to NULL before msix_setup_interrupts() returns to msix_capability_init(). The "goto out_unmap" introduced by commit 1a8d4c6ecb4c ("PCI/MSI: Unmap MSI-X region on error") then calls iounmap() a second time on a NULL pointer. This was reproduced on Intel Emerald Rapids (192 CPUs) while running tools/testing/selftests/kexec/test_kexec_jump.sh: WARNING: CPU#44 at iounmap+0x2a/0xe0 RIP: 0010:iounmap+0x2a/0xe0 RDI: 0000000000000000 Call Trace: msix_capability_init+0x317/0x3f0 __pci_enable_msix_range+0x21d/0x2c0 pci_alloc_irq_vectors_affinity+0xa9/0x130 nvme_setup_io_queues+0x2a8/0x420 [nvme] nvme_reset_work+0x151/0x340 [nvme] ... RDI=0 confirms iounmap() is called with NULL. Restore the original "goto out_disable" and leave the unmap to the existing __free(free_msi_irqs) cleanup.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
kernel6.12-tools-develAmazon Linux1:6.12.100-125.179.amzn2023
bpftool6.12Amazon Linux1:6.12.100-125.179.amzn2023
python3-perf6.18Amazon Linux1:6.18.41-94.142.amzn2023
kernel-toolsAmazon Linux1:6.1.180-225.360.amzn2023
kernel-tools-develAmazon Linux1:6.1.180-225.360.amzn2023
kernelAmazon Linux1:6.1.180-225.360.amzn2023
perf6.12Amazon Linux1:6.12.100-125.179.amzn2023
perfAmazon Linux1:6.1.180-225.360.amzn2023
kernel-modules-extra-commonAmazon Linux1:6.1.180-225.360.amzn2023
kernel6.12-modules-extra-commonAmazon Linux1:6.12.100-125.179.amzn2023
kernel6.18-develAmazon Linux1:6.18.41-94.142.amzn2023
kernel6.18-modules-extra-commonAmazon Linux1:6.18.41-94.142.amzn2023

13 more packages have a fixed version. See every fix in Lookup.

Affected products

VendorProductVersions
LinuxLinux4a7589b615a3db6792d36b874add86cd22188c95, 5f007c6acaa7d9a543b492c1e48c48a0ea1d7147, 76f7abd4ee0188f06465bdd3c053fdc5e8595152
LinuxLinux7.0, 0, 6.1.178
amazon:2023kernel6.12-tools-devel0
amazon:2023bpftool6.120
amazon:2023python3-perf6.180
amazon:2023kernel-tools0
amazon:2023kernel-tools-devel0
amazon:2023kernel0
amazon:2023perf6.120
amazon:2023perf0
amazon:2023kernel-modules-extra-common0
amazon:2023kernel6.12-modules-extra-common0
amazon:2023kernel6.18-devel0
amazon:2023kernel6.18-modules-extra-common0
amazon:2023kernel6.18-tools0
amazon:2023kernel6.120
amazon:2023kernel6.12-modules-extra0
amazon:2023kernel6.12-headers0
amazon:2023kernel6.18-tools-devel0
amazon:2023microvm-kernel6.180

…and 18 more

Timeline

  • Aug 28, 2026 EPSS Score (15 in total, the first dated here)
  • Aug 28, 2026 Coalition ESS Score
  • Aug 28, 2026 CVE Published
  • Sep 1, 2026 Security Advisory

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2026-80620
vulnetix vdb fixes CVE-2026-80620

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-80620/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›