<?xml version='1.0' encoding='UTF-8'?>
<?xml-stylesheet href="/static/style.xsl" type="text/xsl"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
  <id>https://vulnerability.circl.lu/rss/recent/all/10</id>
  <title>Most recent entries from all</title>
  <updated>2026-09-30T23:49:08.691075+00:00</updated>
  <author>
    <name>Vulnerability-Lookup</name>
    <email>info@circl.lu</email>
  </author>
  <link href="https://vulnerability.circl.lu" rel="alternate"/>
  <generator uri="https://lkiesow.github.io/python-feedgen" version="1.0.0">python-feedgen</generator>
  <subtitle>Contains only the most 10 recent entries.</subtitle>
  <entry>
    <id>https://vulnerability.circl.lu/vuln/cve-2026-80620</id>
    <title>CVE-2026-80620 — Revert "PCI/MSI: Unmap MSI-X region on error"</title>
    <updated>2026-09-30T23:49:08.704527+00:00</updated>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml"><p><strong>Affected:</strong> Linux</p>
<p>In the Linux kernel, the following vulnerability has been resolved:</p>
<p>Revert "PCI/MSI: Unmap MSI-X region on error"</p>
<p>This reverts commit 1a8d4c6ecb4c81261bcdf13556abd4a958eca202.</p>
<p>Commit 1a8d4c6ecb4c ("PCI/MSI: Unmap MSI-X region on error") added an
iounmap(dev-&gt;msix_base) on the error path of msix_capability_init() to
release the MSI-X region when msix_setup_interrupts() fails.</p>
<p>When msix_setup_interrupts() fails, the call chain is:</p>
<p>msix_setup_interrupts()
    -&gt; __msix_setup_interrupts()
         struct pci_dev *dev __free(free_msi_irqs) = __dev;
         ...
         return ret;  // __free cleanup fires on error</p>
<p>The __free(free_msi_irqs) cleanup calls pci_free_msi_irqs(), which
already handles the unmap:</p>
<p>void pci_free_msi_irqs(struct pci_dev *dev)
  {
      pci_msi_teardown_msi_irqs(dev);
      if (dev-&gt;msix_base) {
          iounmap(dev-&gt;msix_base);   // already unmapped here
          dev-&gt;msix_base = NULL;     // and set to NULL
      }
  }</p>
<p>So dev-&gt;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.</p>
<p>This was reproduced on Intel Emerald Rapids (192 CPUs) while
running tools/testing/selftests/kexec/test_kexec_jump.sh:</p>
<p>WARNING: CPU#44 at iounmap+0x2a/0xe0
  RIP: 0010:iounmap+0x2a/0xe0
  RDI: 0000000000000000
  Call Trace:
   msix_capability_init+0x317/0x3f0
   __…</p></div>
    </content>
    <link href="https://vulnerability.circl.lu/vuln/cve-2026-80620"/>
  </entry>
</feed>
