CVE-2025-21677: Linux kernel · pfcp: Destroy device along with udp socket's netns dismantle.
Affects Linux kernelSource GCVE Database
Not known to be exploited · CVSS 7.8 High · fixed in 6.11.0-1013.13~24.04.1 : patch Linux kernel soon.
Data as of 24 Nov 2026, 19:53 UTC
- Patch
- Available – fixed in 6.11.0-1013.13~24.04.1, 6.11.0-24.24~24.04.1, 6.11.0-1012.13~24.04.1 +2
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HExploitation evidence
Disclosed: evidence found.
CVE published 31 Jan 2025
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 23 Nov 2026.
What to do
Upgrade to a fixed release listed under Affected software.
Patches and advisories
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Ubuntu 24.04 LTSlinux-azure-6.11pkg:deb/ubuntu/linux-azure-6.11?arch=source&distro=nobleOther threats | Affected
| Fixed in
|
Ubuntu 24.04 LTSlinux-gcp-6.11pkg:deb/ubuntu/linux-gcp-6.11?arch=source&distro=nobleOther threats | Affected
| Fixed in
|
Ubuntu 24.04 LTSlinux-hwe-6.11pkg:deb/ubuntu/linux-hwe-6.11?arch=source&distro=nobleOther threats | Affected
| Fixed in
|
Ubuntu 24.04 LTSlinux-lowlatency-hwe-6.11pkg:deb/ubuntu/linux-lowlatency-hwe-6.11?arch=source&distro=nobleOther threats | Affected
| Fixed in
|
Ubuntu 24.04 LTSlinux-nvidia-6.11pkg:deb/ubuntu/linux-nvidia-6.11?arch=source&distro=nobleOther threats | Affected
| Fixed in
|
Ubuntu 24.04 LTSlinux-oem-6.11pkg:deb/ubuntu/linux-oem-6.11?arch=source&distro=nobleOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
A patch is available and should be applied by updating the Linux kernel to version 6.11.0-1007.7 or later as provided by the vendor. After updating, a system reboot is required to activate the fix. Due to ABI changes, third-party kernel modules must be recompiled and reinstalled. No other mitigations are indicated by the vendor advisory.
Description
A vulnerability in the Linux kernel's pfcp network driver subsystem could cause a device to remain linked to a network namespace after its associated UDP socket's namespace is dismantled, leading to a kernel crash. This issue arises because pfcp_newlink() incorrectly links the device to a list in dev_net(dev) rather than the socket's network namespace, causing a use-after-free or invalid reference during network namespace removal. The flaw has been fixed by linking the device to the socket's network namespace and updating the cleanup routines accordingly.
References
- ubuntu.com/security/CVE-2025-21677 (opens in a new tab)
- cve.org/CVERecord?id=CVE-2025-21677 (opens in a new tab)
- git.kernel.org/linus/ffc90e9ca61b0f619326a1417ff32efd6cc71ed2 (opens in a new tab)
- git.kernel.org/stable/c/1c35a66e2bfea53dea3562b2575ac7fd4c38ee61 (opens in a new tab)
- git.kernel.org/stable/c/ffc90e9ca61b0f619326a1417ff32efd6cc71ed2 (opens in a new tab)
- ubuntu.com/security/notices/USN-7445-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-7448-1 (opens in a new tab)