<?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:58:08 +0000</lastBuildDate>
    <item>
      <title>CVE-2026-139348 — net/smc: hold a reference on net_device returned by pnet_find_base_ndev()</title>
      <link>https://db.gcve.eu/vuln/cve-2026-139348</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;net/smc: hold a reference on net_device returned by pnet_find_base_ndev()&lt;/p&gt;
&lt;p&gt;pnet_find_base_ndev() resolves the base net_device for stacked devices
under RTNL, then drops the lock and returns the raw pointer without
taking a reference.  All three callers dereference the pointer after
RTNL has been released, creating a use-after-free window if the device
is concurrently unregistered.&lt;/p&gt;
&lt;p&gt;Take a reference with netdev_hold() before dropping RTNL and add the
matching netdev_put() in every return path of the three callers:&lt;/p&gt;
&lt;p&gt;- smc_pnet_add_eth()
  - smc_pnet_find_roce_by_pnetid()
  - smc_pnet_find_ism_by_pnetid()&lt;/p&gt;
&lt;p&gt;Found by code analysis, confirmed with a proof-of-concept that triggers
a KASAN slab-use-after-free report.&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;net/smc: hold a reference on net_device returned by pnet_find_base_ndev()&lt;/p&gt;
&lt;p&gt;pnet_find_base_ndev() resolves the base net_device for stacked devices
under RTNL, then drops the lock and returns the raw pointer without
taking a reference.  All three callers dereference the pointer after
RTNL has been released, creating a use-after-free window if the device
is concurrently unregistered.&lt;/p&gt;
&lt;p&gt;Take a reference with netdev_hold() before dropping RTNL and add the
matching netdev_put() in every return path of the three callers:&lt;/p&gt;
&lt;p&gt;- smc_pnet_add_eth()
  - smc_pnet_find_roce_by_pnetid()
  - smc_pnet_find_ism_by_pnetid()&lt;/p&gt;
&lt;p&gt;Found by code analysis, confirmed with a proof-of-concept that triggers
a KASAN slab-use-after-free report.&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://db.gcve.eu/vuln/cve-2026-139348</guid>
    </item>
  </channel>
</rss>
