CVE-2025-21678
Linux Kernel vulnerability analysis and mitigation

Overview

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).

Technical details

The vulnerability stems from gtp_newlink() linking the device to a list in dev_net(dev) instead of src_net, where a UDP tunnel socket is created. When src_net 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).

Impact

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).

Exploitability

The vulnerability can be triggered through specific network namespace operations, particularly when creating and removing GTP devices across different network namespaces. A proof-of-concept exists using the following command sequence: 'ip netns add ns1; ip netns add ns2; ip -n ns1 link add netns ns2 name gtp0 type gtp role sgsn; ip netns del ns1' (Kernel Commit).

Mitigation and workarounds

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 gtp_net_exit_batch_rtnl(). The fix involves modifying the device list management in the GTP driver to ensure proper cleanup when network namespaces are dismantled (Kernel Commit).

Additional resources


SourceThis report was generated using AI

Related Linux Kernel vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-68480NONEN/A
  • Linux Kernel logoLinux Kernel
  • kernel-64k-debug-devel-matched
NoYesAug 06, 2026
CVE-2026-64582NONEN/A
  • Linux Kernel logoLinux Kernel
  • kernel-zfcpdump-modules-extra
NoYesAug 05, 2026
CVE-2026-64579NONEN/A
  • Linux Kernel logoLinux Kernel
  • kernel-rt-modules-internal
NoYesAug 05, 2026
CVE-2026-64576NONEN/A
  • Linux Kernel logoLinux Kernel
  • kernel-rt
NoYesAug 05, 2026
CVE-2026-64575NONEN/A
  • Linux Kernel logoLinux Kernel
  • linux-gcp-6.17
NoYesAug 05, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management