<?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 14:36:50 +0000</lastBuildDate>
    <item>
      <title>CVE-2025-21652 — ipvlan: Fix use-after-free in ipvlan_get_iflink().</title>
      <link>https://vulnerability.circl.lu/vuln/cve-2025-21652</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;ipvlan: Fix use-after-free in ipvlan_get_iflink().&lt;/p&gt;
&lt;p&gt;syzbot presented an use-after-free report [0] regarding ipvlan and
linkwatch.&lt;/p&gt;
&lt;p&gt;ipvlan does not hold a refcnt of the lower device unlike vlan and
macvlan.&lt;/p&gt;
&lt;p&gt;If the linkwatch work is triggered for the ipvlan dev, the lower dev
might have already been freed, resulting in UAF of ipvlan-&amp;gt;phy_dev in
ipvlan_get_iflink().&lt;/p&gt;
&lt;p&gt;We can delay the lower dev unregistration like vlan and macvlan by
holding the lower dev&amp;#39;s refcnt in dev-&amp;gt;netdev_ops-&amp;gt;ndo_init() and
releasing it in dev-&amp;gt;priv_destructor().&lt;/p&gt;
&lt;p&gt;Jakub pointed out calling .ndo_XXX after unregister_netdevice() has
returned is error prone and suggested [1] addressing this UAF in the
core by taking commit 750e51603395 (&amp;#34;net: avoid potential UAF in
default_operstate()&amp;#34;) further.&lt;/p&gt;
&lt;p&gt;Let&amp;#39;s assume unregistering devices DOWN and use RCU protection in
default_operstate() not to race with the device unregistration.&lt;/p&gt;
&lt;p&gt;[0]:
BUG: KASAN: slab-use-after-free in ipvlan_get_iflink+0x84/0x88 drivers/net/ipvlan/ipvlan_main.c:353
Read of size 4 at addr ffff0000d768c0e0 by task kworker/u8:35/6944&lt;/p&gt;
&lt;p&gt;CPU: 0 UID: 0 PID: 6944 Comm: kworker/u8:35 Not tainted 6.13.0-rc2-g9bc5c9515b48 #12 4c3cb9e8b4565456f6a355f312ff91f4f29b3c47
Hardware name: linux,dummy-virt (DT)
Workqueue: events_unbound linkwatch_event
Call trace:
 show_stack+0x38/0x50 arch/arm64/kernel/stacktrace.c:484 (C)
 __dump_stack lib/dump_stack.c:94 [inline]
 dump_stack_lvl+0xbc/0x108 li…&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;ipvlan: Fix use-after-free in ipvlan_get_iflink().&lt;/p&gt;
&lt;p&gt;syzbot presented an use-after-free report [0] regarding ipvlan and
linkwatch.&lt;/p&gt;
&lt;p&gt;ipvlan does not hold a refcnt of the lower device unlike vlan and
macvlan.&lt;/p&gt;
&lt;p&gt;If the linkwatch work is triggered for the ipvlan dev, the lower dev
might have already been freed, resulting in UAF of ipvlan-&amp;gt;phy_dev in
ipvlan_get_iflink().&lt;/p&gt;
&lt;p&gt;We can delay the lower dev unregistration like vlan and macvlan by
holding the lower dev&amp;#39;s refcnt in dev-&amp;gt;netdev_ops-&amp;gt;ndo_init() and
releasing it in dev-&amp;gt;priv_destructor().&lt;/p&gt;
&lt;p&gt;Jakub pointed out calling .ndo_XXX after unregister_netdevice() has
returned is error prone and suggested [1] addressing this UAF in the
core by taking commit 750e51603395 (&amp;#34;net: avoid potential UAF in
default_operstate()&amp;#34;) further.&lt;/p&gt;
&lt;p&gt;Let&amp;#39;s assume unregistering devices DOWN and use RCU protection in
default_operstate() not to race with the device unregistration.&lt;/p&gt;
&lt;p&gt;[0]:
BUG: KASAN: slab-use-after-free in ipvlan_get_iflink+0x84/0x88 drivers/net/ipvlan/ipvlan_main.c:353
Read of size 4 at addr ffff0000d768c0e0 by task kworker/u8:35/6944&lt;/p&gt;
&lt;p&gt;CPU: 0 UID: 0 PID: 6944 Comm: kworker/u8:35 Not tainted 6.13.0-rc2-g9bc5c9515b48 #12 4c3cb9e8b4565456f6a355f312ff91f4f29b3c47
Hardware name: linux,dummy-virt (DT)
Workqueue: events_unbound linkwatch_event
Call trace:
 show_stack+0x38/0x50 arch/arm64/kernel/stacktrace.c:484 (C)
 __dump_stack lib/dump_stack.c:94 [inline]
 dump_stack_lvl+0xbc/0x108 li…&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://vulnerability.circl.lu/vuln/cve-2025-21652</guid>
    </item>
  </channel>
</rss>
