<?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, 29 Sep 2026 07:24:45 +0000</lastBuildDate>
    <item>
      <title>CVE-2026-68338 — net/packet: avoid fanout hook re-registration after unregister</title>
      <link>https://vulnerability.circl.lu/vuln/cve-2026-68338</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/packet: avoid fanout hook re-registration after unregister&lt;/p&gt;
&lt;p&gt;packet_set_ring() temporarily detaches a socket from packet delivery while
reconfiguring its ring. It records the previous running state, clears
po-&amp;gt;num, unregisters the protocol hook when needed, drops po-&amp;gt;bind_lock,
and later restores po-&amp;gt;num and re-registers the hook from the saved
was_running value.&lt;/p&gt;
&lt;p&gt;That unlocked window can race with NETDEV_UNREGISTER. The notifier can
observe the socket as not running, skip __unregister_prot_hook(), and
invalidate the per-socket binding by setting po-&amp;gt;ifindex to -1 and clearing
po-&amp;gt;prot_hook.dev. A one-member fanout group can still retain its shared
fanout hook device pointer. When packet_set_ring() resumes, re-registering
solely from the stale was_running state can re-add the fanout hook after
the device has been unregistered.&lt;/p&gt;
&lt;p&gt;Treat po-&amp;gt;ifindex == -1 as an invalidated binding after reacquiring
po-&amp;gt;bind_lock. This is distinct from ifindex 0, the normal
unbound/wildcard state: ifindex -1 marks an existing device binding that
was invalidated when the device was unregistered. Restore po-&amp;gt;num as
before, but do not re-register the hook if device unregister already
detached the socket.&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/packet: avoid fanout hook re-registration after unregister&lt;/p&gt;
&lt;p&gt;packet_set_ring() temporarily detaches a socket from packet delivery while
reconfiguring its ring. It records the previous running state, clears
po-&amp;gt;num, unregisters the protocol hook when needed, drops po-&amp;gt;bind_lock,
and later restores po-&amp;gt;num and re-registers the hook from the saved
was_running value.&lt;/p&gt;
&lt;p&gt;That unlocked window can race with NETDEV_UNREGISTER. The notifier can
observe the socket as not running, skip __unregister_prot_hook(), and
invalidate the per-socket binding by setting po-&amp;gt;ifindex to -1 and clearing
po-&amp;gt;prot_hook.dev. A one-member fanout group can still retain its shared
fanout hook device pointer. When packet_set_ring() resumes, re-registering
solely from the stale was_running state can re-add the fanout hook after
the device has been unregistered.&lt;/p&gt;
&lt;p&gt;Treat po-&amp;gt;ifindex == -1 as an invalidated binding after reacquiring
po-&amp;gt;bind_lock. This is distinct from ifindex 0, the normal
unbound/wildcard state: ifindex -1 marks an existing device binding that
was invalidated when the device was unregistered. Restore po-&amp;gt;num as
before, but do not re-register the hook if device unregister already
detached the socket.&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://vulnerability.circl.lu/vuln/cve-2026-68338</guid>
    </item>
  </channel>
</rss>
