<?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>Wed, 30 Sep 2026 03:37:37 +0000</lastBuildDate>
    <item>
      <title>CVE-2026-72125 — can: isotp: fix use-after-free race with concurrent NETDEV_UNREGISTER</title>
      <link>https://vulnerability.circl.lu/vuln/cve-2026-72125</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;can: isotp: fix use-after-free race with concurrent NETDEV_UNREGISTER&lt;/p&gt;
&lt;p&gt;isotp_release() looked up the bound network device via dev_get_by_index()
using the stored ifindex. During device unregistration the device is
unlisted from the ifindex hash before the NETDEV_UNREGISTER notifier
chain runs, so a concurrent isotp_release() could find no device, skip
can_rx_unregister() entirely, and still proceed to free the socket.
Since isotp_release() had already removed itself from the isotp
notifier list at that point, isotp_notify() would never get a chance to
clean up either, leaving a stale CAN filter that keeps pointing at the
freed socket.&lt;/p&gt;
&lt;p&gt;Fix this the same way raw.c already does: hold a tracked reference to
the bound net_device in the socket (so-&amp;gt;dev/so-&amp;gt;dev_tracker) from
bind() onward instead of re-resolving it from the ifindex, and
serialize bind()/release() with rtnl_lock() so that so-&amp;gt;dev is always
consistent with what the NETDEV_UNREGISTER notifier sees. so-&amp;gt;dev
stays valid regardless of ifindex-hash unlisting, and is only ever
cleared by whichever of isotp_release()/isotp_notify() gets there
first, so the filter is always removed exactly once.&lt;/p&gt;
&lt;p&gt;isotp_bind() now rejects a (re)bind with -EAGAIN while so-&amp;gt;[tx|rx].state
isn&amp;#39;t ISOTP_IDLE yet, so a timer left running by a prior
NETDEV_UNREGISTER can&amp;#39;t act on a newly bound so-&amp;gt;ifindex. Both checks
share the same lock_sock() section, so there is no window in whi…&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;can: isotp: fix use-after-free race with concurrent NETDEV_UNREGISTER&lt;/p&gt;
&lt;p&gt;isotp_release() looked up the bound network device via dev_get_by_index()
using the stored ifindex. During device unregistration the device is
unlisted from the ifindex hash before the NETDEV_UNREGISTER notifier
chain runs, so a concurrent isotp_release() could find no device, skip
can_rx_unregister() entirely, and still proceed to free the socket.
Since isotp_release() had already removed itself from the isotp
notifier list at that point, isotp_notify() would never get a chance to
clean up either, leaving a stale CAN filter that keeps pointing at the
freed socket.&lt;/p&gt;
&lt;p&gt;Fix this the same way raw.c already does: hold a tracked reference to
the bound net_device in the socket (so-&amp;gt;dev/so-&amp;gt;dev_tracker) from
bind() onward instead of re-resolving it from the ifindex, and
serialize bind()/release() with rtnl_lock() so that so-&amp;gt;dev is always
consistent with what the NETDEV_UNREGISTER notifier sees. so-&amp;gt;dev
stays valid regardless of ifindex-hash unlisting, and is only ever
cleared by whichever of isotp_release()/isotp_notify() gets there
first, so the filter is always removed exactly once.&lt;/p&gt;
&lt;p&gt;isotp_bind() now rejects a (re)bind with -EAGAIN while so-&amp;gt;[tx|rx].state
isn&amp;#39;t ISOTP_IDLE yet, so a timer left running by a prior
NETDEV_UNREGISTER can&amp;#39;t act on a newly bound so-&amp;gt;ifindex. Both checks
share the same lock_sock() section, so there is no window in whi…&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://vulnerability.circl.lu/vuln/cve-2026-72125</guid>
    </item>
  </channel>
</rss>
