<?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:27:31 +0000</lastBuildDate>
    <item>
      <title>CVE-2026-139791 — net: Use a dedicated flag to track disabled napi instances</title>
      <link>https://db.gcve.eu/vuln/cve-2026-139791</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: Use a dedicated flag to track disabled napi instances&lt;/p&gt;
&lt;p&gt;Trying to disable the napi threaded state while the napi instance is
disabled will hang forever in napi_stop_kthread(), as it waits for
NAPIF_STATE_SCHED_THREADED to clear.&lt;/p&gt;
&lt;p&gt;This won&amp;#39;t happen until the next ____napi_schedule() call, which won&amp;#39;t
happen as it&amp;#39;s disabled.&lt;/p&gt;
&lt;p&gt;This happens in 2 instances :&lt;/p&gt;
&lt;p&gt;- Drivers that create but don&amp;#39;t use napi instances (stmmac&amp;#39;s rxtx napi
   for AF_XDP for example), here it&amp;#39;s a driver bug&lt;/p&gt;
&lt;p&gt;- Drivers that create their napi instances in .probe(). Here, setting
   threaded off while the interface is down will hang :&lt;/p&gt;
&lt;p&gt;ip link set eth0 down
   echo 1 &amp;gt; /sys/class/net/eth0/threaded
   echo 0 &amp;gt; /sys/class/net/eth0/threaded
   -&amp;gt; hang&lt;/p&gt;
&lt;p&gt;Checking on netif_running() isn&amp;#39;t enough, as napi instances may be
transiently disabled when changing the MTU for example, let&amp;#39;s use a
dedicated flag to track if the instance is disabled.&lt;/p&gt;
&lt;p&gt;This allows immediately disabling the kthread when the instance is
disabled.&lt;/p&gt;
&lt;p&gt;This was tested on mvpp2 (probe-time napi_add) and stmmac.&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: Use a dedicated flag to track disabled napi instances&lt;/p&gt;
&lt;p&gt;Trying to disable the napi threaded state while the napi instance is
disabled will hang forever in napi_stop_kthread(), as it waits for
NAPIF_STATE_SCHED_THREADED to clear.&lt;/p&gt;
&lt;p&gt;This won&amp;#39;t happen until the next ____napi_schedule() call, which won&amp;#39;t
happen as it&amp;#39;s disabled.&lt;/p&gt;
&lt;p&gt;This happens in 2 instances :&lt;/p&gt;
&lt;p&gt;- Drivers that create but don&amp;#39;t use napi instances (stmmac&amp;#39;s rxtx napi
   for AF_XDP for example), here it&amp;#39;s a driver bug&lt;/p&gt;
&lt;p&gt;- Drivers that create their napi instances in .probe(). Here, setting
   threaded off while the interface is down will hang :&lt;/p&gt;
&lt;p&gt;ip link set eth0 down
   echo 1 &amp;gt; /sys/class/net/eth0/threaded
   echo 0 &amp;gt; /sys/class/net/eth0/threaded
   -&amp;gt; hang&lt;/p&gt;
&lt;p&gt;Checking on netif_running() isn&amp;#39;t enough, as napi instances may be
transiently disabled when changing the MTU for example, let&amp;#39;s use a
dedicated flag to track if the instance is disabled.&lt;/p&gt;
&lt;p&gt;This allows immediately disabling the kthread when the instance is
disabled.&lt;/p&gt;
&lt;p&gt;This was tested on mvpp2 (probe-time napi_add) and stmmac.&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://db.gcve.eu/vuln/cve-2026-139791</guid>
    </item>
  </channel>
</rss>
