<?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>Sun, 04 Oct 2026 11:08:01 +0000</lastBuildDate>
    <item>
      <title>CVE-2025-38500 — xfrm: interface: fix use-after-free after changing collect_md xfrm interface</title>
      <link>https://vulnerability.circl.lu/vuln/cve-2025-38500</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;xfrm: interface: fix use-after-free after changing collect_md xfrm interface&lt;/p&gt;
&lt;p&gt;collect_md property on xfrm interfaces can only be set on device creation,
thus xfrmi_changelink() should fail when called on such interfaces.&lt;/p&gt;
&lt;p&gt;The check to enforce this was done only in the case where the xi was
returned from xfrmi_locate() which doesn&amp;#39;t look for the collect_md
interface, and thus the validation was never reached.&lt;/p&gt;
&lt;p&gt;Calling changelink would thus errornously place the special interface xi
in the xfrmi_net-&amp;gt;xfrmi hash, but since it also exists in the
xfrmi_net-&amp;gt;collect_md_xfrmi pointer it would lead to a double free when
the net namespace was taken down [1].&lt;/p&gt;
&lt;p&gt;Change the check to use the xi from netdev_priv which is available earlier
in the function to prevent changes in xfrm collect_md interfaces.&lt;/p&gt;
&lt;p&gt;[1] resulting oops:
[    8.516540] kernel BUG at net/core/dev.c:12029!
[    8.516552] Oops: invalid opcode: 0000 [#1] SMP NOPTI
[    8.516559] CPU: 0 UID: 0 PID: 12 Comm: kworker/u80:0 Not tainted 6.15.0-virtme #5 PREEMPT(voluntary)
[    8.516565] Hardware name: QEMU Ubuntu 24.04 PC (i440FX + PIIX, 1996), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[    8.516569] Workqueue: netns cleanup_net
[    8.516579] RIP: 0010:unregister_netdevice_many_notify+0x101/0xab0
[    8.516590] Code: 90 0f 0b 90 48 8b b0 78 01 00 00 48 8b 90 80 01 00 00 48 89 56 08 48 89 32 4c 89 80 78 01 00 00 48 89 b8 80 01 00 00 eb ac 90 &amp;lt;0f&amp;gt; 0b 48 8b 45 00 4c…&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;xfrm: interface: fix use-after-free after changing collect_md xfrm interface&lt;/p&gt;
&lt;p&gt;collect_md property on xfrm interfaces can only be set on device creation,
thus xfrmi_changelink() should fail when called on such interfaces.&lt;/p&gt;
&lt;p&gt;The check to enforce this was done only in the case where the xi was
returned from xfrmi_locate() which doesn&amp;#39;t look for the collect_md
interface, and thus the validation was never reached.&lt;/p&gt;
&lt;p&gt;Calling changelink would thus errornously place the special interface xi
in the xfrmi_net-&amp;gt;xfrmi hash, but since it also exists in the
xfrmi_net-&amp;gt;collect_md_xfrmi pointer it would lead to a double free when
the net namespace was taken down [1].&lt;/p&gt;
&lt;p&gt;Change the check to use the xi from netdev_priv which is available earlier
in the function to prevent changes in xfrm collect_md interfaces.&lt;/p&gt;
&lt;p&gt;[1] resulting oops:
[    8.516540] kernel BUG at net/core/dev.c:12029!
[    8.516552] Oops: invalid opcode: 0000 [#1] SMP NOPTI
[    8.516559] CPU: 0 UID: 0 PID: 12 Comm: kworker/u80:0 Not tainted 6.15.0-virtme #5 PREEMPT(voluntary)
[    8.516565] Hardware name: QEMU Ubuntu 24.04 PC (i440FX + PIIX, 1996), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[    8.516569] Workqueue: netns cleanup_net
[    8.516579] RIP: 0010:unregister_netdevice_many_notify+0x101/0xab0
[    8.516590] Code: 90 0f 0b 90 48 8b b0 78 01 00 00 48 8b 90 80 01 00 00 48 89 56 08 48 89 32 4c 89 80 78 01 00 00 48 89 b8 80 01 00 00 eb ac 90 &amp;lt;0f&amp;gt; 0b 48 8b 45 00 4c…&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://vulnerability.circl.lu/vuln/cve-2025-38500</guid>
    </item>
  </channel>
</rss>
