
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2025-21678 affects the Linux kernel's GTP (GPRS Tunneling Protocol) implementation. The vulnerability was discovered in January 2025 and involves a device management issue where gtp_newlink() incorrectly links devices to network namespaces, causing potential system instability. The issue specifically affects the GTP driver in the Linux kernel when managing network devices across different network namespaces (NVD, Kernel Commit).
The vulnerability stems from gtpnewlink() linking the device to a list in devnet(dev) instead of srcnet, where a UDP tunnel socket is created. When srcnet is removed, the device remains active on dev_net(dev), triggering a system warning. This occurs during network namespace cleanup operations, specifically when a GTP device is created in one namespace (ns2) while its UDP socket is created in another namespace (ns1). The issue manifests as a reference tracking error in the kernel's network namespace management system (Kernel Commit).
The vulnerability can lead to system instability and potential crashes during network namespace cleanup operations. When triggered, it causes reference counting errors and memory management issues in the kernel, potentially affecting system reliability and network functionality (NVD).
The issue has been fixed in the Linux kernel through a patch that correctly links the device to the socket's network namespace and implements proper cleanup in gtpnetexitbatchrtnl(). The fix involves modifying the device list management in the GTP driver to ensure proper cleanup when network namespaces are dismantled (Kernel Commit).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."