Skip to main content

Over 150 LLM Providers · Over 5,300 Models The most extensible AI-powered pentesting platform. Open source. Star on GitHub

CVE-2025-21677

7.8 · HIGH
Published Jan 31, 2025 linux EPSS 0.19% (8th pctl)

Overview

CVE-2025-21677 is a high-severity vulnerability affecting linux linux_kernel. It was published on January 31, 2025 and has a CVSS 3.1 base score of 7.8 (HIGH).

This vulnerability has a CVSS 3.1 base score of 7.8, rated HIGH. It requires local or adjacent network access to exploit. Some level of privileges is required for exploitation.

Technical Description

In the Linux kernel, the following vulnerability has been resolved:

pfcp: Destroy device along with udp socket's netns dismantle.

pfcp_newlink() links the device to a list in dev_net(dev) instead

of net, where a udp tunnel socket is created.

Even when net is removed, the device stays alive on dev_net(dev).

Then, removing net triggers the splat below. [0]

In this example, pfcp0 is created in ns2, but the udp socket is

created in ns1.

ip netns add ns1

ip netns add ns2

ip -n ns1 link add netns ns2 name pfcp0 type pfcp

ip netns del ns1

Let's link the device to the socket's netns instead.

Now, pfcp_net_exit() needs another netdev iteration to remove

all pfcp devices in the netns.

pfcp_dev_list is not used under RCU, so the list API is converted

to the non-RCU variant.

pfcp_net_exit() can be converted to .exit_batch_rtnl() in net-next.

[0]:

ref_tracker: net notrefcnt@00000000128b34dc has 1/1 users at

sk_alloc (./include/net/net_namespace.h:345 net/core/sock.c:2236)

Remediation

Check the references section for vendor advisories and patches from linux. Update linux_kernel to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

Affected Products

Vendor Product Versions Status
linux linux_kernel >= 6.10, < 6.12.11 Affected

Frequently Asked Questions

What is CVE-2025-21677?

CVE-2025-21677 is a high-severity vulnerability affecting linux linux_kernel. It was published on January 31, 2025 and has a CVSS 3.1 base score of 7.8 (HIGH).

How severe is CVE-2025-21677?

This vulnerability has a CVSS 3.1 base score of 7.8, rated HIGH. It requires local or adjacent network access to exploit. Some level of privileges is required for exploitation.

How do I fix or remediate CVE-2025-21677?

Check the references section for vendor advisories and patches from linux. Update linux_kernel to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

How can CyberStrike help with CVE-2025-21677?

CyberStrike's AI-powered security agents can automatically detect CVE-2025-21677 across your infrastructure using autonomous pentesting, DAST scanning, and HackBrowser. The platform continuously monitors for known vulnerabilities and provides actionable remediation guidance prioritized by real-world exploitability.