<?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://db.gcve.eu</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>Fri, 04 Dec 2026 18:43:19 +0000</lastBuildDate>
    <item>
      <title>CVE-2026-139455 — cxl/core: Hold the dport host lock across dport lookup and use</title>
      <link>https://db.gcve.eu/vuln/cve-2026-139455</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;cxl/core: Hold the dport host lock across dport lookup and use&lt;/p&gt;
&lt;p&gt;Callers of cxl_pci_find_port() and cxl_mem_find_port() can be handed a
&amp;#39;struct cxl_dport&amp;#39; that is already freed, and all four dereference it
without the lock that would prevent that.&lt;/p&gt;
&lt;p&gt;A dport is kzalloc()&amp;#39;d into a devres group on its host device, so it dies
when that host unbinds. The host is &amp;amp;port-&amp;gt;dev for a switch port and
port-&amp;gt;uport_dev for the root port.&lt;/p&gt;
&lt;p&gt;Both helpers return the dport through an output parameter. The caller&amp;#39;s
port reference pins struct cxl_port, not the dport allocation, and the
lookup itself is a bare xa_load() under no lock.&lt;/p&gt;
&lt;p&gt;Add cxl_port_dport_host() to name the device that pins a dport, and
cxl_pci_find_dport() / cxl_mem_find_dport() to look one up with that
device&amp;#39;s lock held and asserted. Convert the four callers to use them and
bail if the dport is gone. cxl_port_add_dport() already follows this rule.&lt;/p&gt;
&lt;p&gt;cxl_mem_probe() chose its endpoint devm host from dport-&amp;gt;rch, which meant
dereferencing the dport before taking any lock. Use cxl_port_dport_host():
rch dports only ever land on the root port, so it selects the same device
without needing the dport.&lt;/p&gt;
&lt;p&gt;With every caller converted, the dport output parameter of
cxl_pci_find_port() and cxl_mem_find_port() is unused. Drop it.&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;cxl/core: Hold the dport host lock across dport lookup and use&lt;/p&gt;
&lt;p&gt;Callers of cxl_pci_find_port() and cxl_mem_find_port() can be handed a
&amp;#39;struct cxl_dport&amp;#39; that is already freed, and all four dereference it
without the lock that would prevent that.&lt;/p&gt;
&lt;p&gt;A dport is kzalloc()&amp;#39;d into a devres group on its host device, so it dies
when that host unbinds. The host is &amp;amp;port-&amp;gt;dev for a switch port and
port-&amp;gt;uport_dev for the root port.&lt;/p&gt;
&lt;p&gt;Both helpers return the dport through an output parameter. The caller&amp;#39;s
port reference pins struct cxl_port, not the dport allocation, and the
lookup itself is a bare xa_load() under no lock.&lt;/p&gt;
&lt;p&gt;Add cxl_port_dport_host() to name the device that pins a dport, and
cxl_pci_find_dport() / cxl_mem_find_dport() to look one up with that
device&amp;#39;s lock held and asserted. Convert the four callers to use them and
bail if the dport is gone. cxl_port_add_dport() already follows this rule.&lt;/p&gt;
&lt;p&gt;cxl_mem_probe() chose its endpoint devm host from dport-&amp;gt;rch, which meant
dereferencing the dport before taking any lock. Use cxl_port_dport_host():
rch dports only ever land on the root port, so it selects the same device
without needing the dport.&lt;/p&gt;
&lt;p&gt;With every caller converted, the dport output parameter of
cxl_pci_find_port() and cxl_mem_find_port() is unused. Drop it.&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://db.gcve.eu/vuln/cve-2026-139455</guid>
    </item>
  </channel>
</rss>
