<?xml version='1.0' encoding='UTF-8'?>
<?xml-stylesheet href="/static/style.xsl" type="text/xsl"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/" version="2.0">
  <channel>
    <title>Most recent entries from all</title>
    <link>https://vulnerability.circl.lu</link>
    <description>Contains only the most 10 recent entries.</description>
    <docs>http://www.rssboard.org/rss-specification</docs>
    <generator>python-feedgen</generator>
    <language>en</language>
    <lastBuildDate>Tue, 06 Oct 2026 06:25:42 +0000</lastBuildDate>
    <item>
      <title>CVE-2024-53194 — PCI: Fix use-after-free of slot-&gt;bus on hot remove</title>
      <link>https://vulnerability.circl.lu/vuln/cve-2024-53194</link>
      <description>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; Linux&lt;/p&gt;
&lt;p&gt;In the Linux kernel, the following vulnerability has been resolved:&lt;/p&gt;
&lt;p&gt;PCI: Fix use-after-free of slot-&amp;gt;bus on hot remove&lt;/p&gt;
&lt;p&gt;Dennis reports a boot crash on recent Lenovo laptops with a USB4 dock.&lt;/p&gt;
&lt;p&gt;Since commit 0fc70886569c (&amp;#34;thunderbolt: Reset USB4 v2 host router&amp;#34;) and
commit 59a54c5f3dbd (&amp;#34;thunderbolt: Reset topology created by the boot
firmware&amp;#34;), USB4 v2 and v1 Host Routers are reset on probe of the
thunderbolt driver.&lt;/p&gt;
&lt;p&gt;The reset clears the Presence Detect State and Data Link Layer Link Active
bits at the USB4 Host Router&amp;#39;s Root Port and thus causes hot removal of the
dock.&lt;/p&gt;
&lt;p&gt;The crash occurs when pciehp is unbound from one of the dock&amp;#39;s Downstream
Ports:  pciehp creates a pci_slot on bind and destroys it on unbind.  The
pci_slot contains a pointer to the pci_bus below the Downstream Port, but
a reference on that pci_bus is never acquired.  The pci_bus is destroyed
before the pci_slot, so a use-after-free ensues when pci_slot_release()
accesses slot-&amp;gt;bus.&lt;/p&gt;
&lt;p&gt;In principle this should not happen because pci_stop_bus_device() unbinds
pciehp (and therefore destroys the pci_slot) before the pci_bus is
destroyed by pci_remove_bus_device().&lt;/p&gt;
&lt;p&gt;However the stacktrace provided by Dennis shows that pciehp is unbound from
pci_remove_bus_device() instead of pci_stop_bus_device().  To understand
the significance of this, one needs to know that the PCI core uses a two
step process to remove a portion of the hierarchy:  It first unbinds all
drivers in the sub-hierarchy in pci_stop_bus_device() a…&lt;/p&gt;</description>
      <content:encoded>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; Linux&lt;/p&gt;
&lt;p&gt;In the Linux kernel, the following vulnerability has been resolved:&lt;/p&gt;
&lt;p&gt;PCI: Fix use-after-free of slot-&amp;gt;bus on hot remove&lt;/p&gt;
&lt;p&gt;Dennis reports a boot crash on recent Lenovo laptops with a USB4 dock.&lt;/p&gt;
&lt;p&gt;Since commit 0fc70886569c (&amp;#34;thunderbolt: Reset USB4 v2 host router&amp;#34;) and
commit 59a54c5f3dbd (&amp;#34;thunderbolt: Reset topology created by the boot
firmware&amp;#34;), USB4 v2 and v1 Host Routers are reset on probe of the
thunderbolt driver.&lt;/p&gt;
&lt;p&gt;The reset clears the Presence Detect State and Data Link Layer Link Active
bits at the USB4 Host Router&amp;#39;s Root Port and thus causes hot removal of the
dock.&lt;/p&gt;
&lt;p&gt;The crash occurs when pciehp is unbound from one of the dock&amp;#39;s Downstream
Ports:  pciehp creates a pci_slot on bind and destroys it on unbind.  The
pci_slot contains a pointer to the pci_bus below the Downstream Port, but
a reference on that pci_bus is never acquired.  The pci_bus is destroyed
before the pci_slot, so a use-after-free ensues when pci_slot_release()
accesses slot-&amp;gt;bus.&lt;/p&gt;
&lt;p&gt;In principle this should not happen because pci_stop_bus_device() unbinds
pciehp (and therefore destroys the pci_slot) before the pci_bus is
destroyed by pci_remove_bus_device().&lt;/p&gt;
&lt;p&gt;However the stacktrace provided by Dennis shows that pciehp is unbound from
pci_remove_bus_device() instead of pci_stop_bus_device().  To understand
the significance of this, one needs to know that the PCI core uses a two
step process to remove a portion of the hierarchy:  It first unbinds all
drivers in the sub-hierarchy in pci_stop_bus_device() a…&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://vulnerability.circl.lu/vuln/cve-2024-53194</guid>
    </item>
  </channel>
</rss>
