<?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 19:55:41 +0000</lastBuildDate>
    <item>
      <title>CVE-2026-139454 — cxl/port: Attach endpoints to a dport under the lock that pins it</title>
      <link>https://db.gcve.eu/vuln/cve-2026-139454</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/port: Attach endpoints to a dport under the lock that pins it&lt;/p&gt;
&lt;p&gt;devm_cxl_enumerate_ports() and add_port_attach_ep() look up or create a
dport under its port&amp;#39;s device lock, drop the lock, then pass the dport
to cxl_add_ep(). add_ep() reads dport-&amp;gt;port before taking the lock, and
cxl_gpf_port_setup() reads and writes the dport with no lock held.&lt;/p&gt;
&lt;p&gt;A concurrent cxl_detach_ep() for another memdev below the same port can
free the dport in that window: it calls del_dports() under the port lock
when the last endpoint leaves. The enumerating memdev then dereferences
freed memory.&lt;/p&gt;
&lt;p&gt;Attach the endpoint and set up GPF while the port lock from the lookup
is still held. Make add_ep() assert that lock instead of taking it.
Under the lock, a dport found in port-&amp;gt;dports is still live, since
removal erases it from the xarray before freeing it.&lt;/p&gt;
&lt;p&gt;[ dj: Added kdoc update from Alison. ]&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/port: Attach endpoints to a dport under the lock that pins it&lt;/p&gt;
&lt;p&gt;devm_cxl_enumerate_ports() and add_port_attach_ep() look up or create a
dport under its port&amp;#39;s device lock, drop the lock, then pass the dport
to cxl_add_ep(). add_ep() reads dport-&amp;gt;port before taking the lock, and
cxl_gpf_port_setup() reads and writes the dport with no lock held.&lt;/p&gt;
&lt;p&gt;A concurrent cxl_detach_ep() for another memdev below the same port can
free the dport in that window: it calls del_dports() under the port lock
when the last endpoint leaves. The enumerating memdev then dereferences
freed memory.&lt;/p&gt;
&lt;p&gt;Attach the endpoint and set up GPF while the port lock from the lookup
is still held. Make add_ep() assert that lock instead of taking it.
Under the lock, a dport found in port-&amp;gt;dports is still live, since
removal erases it from the xarray before freeing it.&lt;/p&gt;
&lt;p&gt;[ dj: Added kdoc update from Alison. ]&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://db.gcve.eu/vuln/cve-2026-139454</guid>
    </item>
  </channel>
</rss>
