<?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, 06 Oct 2026 23:57:09 +0000</lastBuildDate>
    <item>
      <title>CVE-2025-21677 — pfcp: Destroy device along with udp socket's netns dismantle.</title>
      <link>https://vulnerability.circl.lu/vuln/cve-2025-21677</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;pfcp: Destroy device along with udp socket&amp;#39;s netns dismantle.&lt;/p&gt;
&lt;p&gt;pfcp_newlink() links the device to a list in dev_net(dev) instead
of net, where a udp tunnel socket is created.&lt;/p&gt;
&lt;p&gt;Even when net is removed, the device stays alive on dev_net(dev).
Then, removing net triggers the splat below. [0]&lt;/p&gt;
&lt;p&gt;In this example, pfcp0 is created in ns2, but the udp socket is
created in ns1.&lt;/p&gt;
&lt;p&gt;ip netns add ns1
  ip netns add ns2
  ip -n ns1 link add netns ns2 name pfcp0 type pfcp
  ip netns del ns1&lt;/p&gt;
&lt;p&gt;Let&amp;#39;s link the device to the socket&amp;#39;s netns instead.&lt;/p&gt;
&lt;p&gt;Now, pfcp_net_exit() needs another netdev iteration to remove
all pfcp devices in the netns.&lt;/p&gt;
&lt;p&gt;pfcp_dev_list is not used under RCU, so the list API is converted
to the non-RCU variant.&lt;/p&gt;
&lt;p&gt;pfcp_net_exit() can be converted to .exit_batch_rtnl() in net-next.&lt;/p&gt;
&lt;p&gt;[0]:
ref_tracker: net notrefcnt@00000000128b34dc has 1/1 users at
     sk_alloc (./include/net/net_namespace.h:345 net/core/sock.c:2236)
     inet_create (net/ipv4/af_inet.c:326 net/ipv4/af_inet.c:252)
     __sock_create (net/socket.c:1558)
     udp_sock_create4 (net/ipv4/udp_tunnel_core.c:18)
     pfcp_create_sock (drivers/net/pfcp.c:168)
     pfcp_newlink (drivers/net/pfcp.c:182 drivers/net/pfcp.c:197)
     rtnl_newlink (net/core/rtnetlink.c:3786 net/core/rtnetlink.c:3897 net/core/rtnetlink.c:4012)
     rtnetlink_rcv_msg (net/core/rtnetlink.c:6922)
     netlink_rcv_skb (net/netlink/af_netlink.c:2542)
     netlink_unicast (net/net…&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;pfcp: Destroy device along with udp socket&amp;#39;s netns dismantle.&lt;/p&gt;
&lt;p&gt;pfcp_newlink() links the device to a list in dev_net(dev) instead
of net, where a udp tunnel socket is created.&lt;/p&gt;
&lt;p&gt;Even when net is removed, the device stays alive on dev_net(dev).
Then, removing net triggers the splat below. [0]&lt;/p&gt;
&lt;p&gt;In this example, pfcp0 is created in ns2, but the udp socket is
created in ns1.&lt;/p&gt;
&lt;p&gt;ip netns add ns1
  ip netns add ns2
  ip -n ns1 link add netns ns2 name pfcp0 type pfcp
  ip netns del ns1&lt;/p&gt;
&lt;p&gt;Let&amp;#39;s link the device to the socket&amp;#39;s netns instead.&lt;/p&gt;
&lt;p&gt;Now, pfcp_net_exit() needs another netdev iteration to remove
all pfcp devices in the netns.&lt;/p&gt;
&lt;p&gt;pfcp_dev_list is not used under RCU, so the list API is converted
to the non-RCU variant.&lt;/p&gt;
&lt;p&gt;pfcp_net_exit() can be converted to .exit_batch_rtnl() in net-next.&lt;/p&gt;
&lt;p&gt;[0]:
ref_tracker: net notrefcnt@00000000128b34dc has 1/1 users at
     sk_alloc (./include/net/net_namespace.h:345 net/core/sock.c:2236)
     inet_create (net/ipv4/af_inet.c:326 net/ipv4/af_inet.c:252)
     __sock_create (net/socket.c:1558)
     udp_sock_create4 (net/ipv4/udp_tunnel_core.c:18)
     pfcp_create_sock (drivers/net/pfcp.c:168)
     pfcp_newlink (drivers/net/pfcp.c:182 drivers/net/pfcp.c:197)
     rtnl_newlink (net/core/rtnetlink.c:3786 net/core/rtnetlink.c:3897 net/core/rtnetlink.c:4012)
     rtnetlink_rcv_msg (net/core/rtnetlink.c:6922)
     netlink_rcv_skb (net/netlink/af_netlink.c:2542)
     netlink_unicast (net/net…&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://vulnerability.circl.lu/vuln/cve-2025-21677</guid>
    </item>
  </channel>
</rss>
