Linux Kernel espintcp Encapsulation Socket Caching Reference Leak Vulnerability

Vulnerability

A vulnerability in the Linux kernel's espintcp implementation was introduced by caching user-space encapsulation sockets, which can lead to reference leaks when deleting network namespaces. The issue arises because the cached socket holds a reference to the network namespace. If the espintcp state is deleted before the network namespace, the reference is dropped, potentially leaving the namespace unreachable for deletion. This vulnerability has been addressed by removing the socket caching, although it may introduce a slight performance regression.

Impact

Exploitation of this vulnerability could lead to reference leaks, causing network namespaces to become unreachable and preventing proper cleanup, which could result in resource leaks or other unintended consequences.

Added: Jul 3, 2025, 11:45 AM
Updated: Jul 3, 2025, 11:45 AM

Vulnerability Rating

Custom Algorithm
spread
9.0
impact
0.6
exploitability
5.3
remediation
0.0
relevance
0.2
threat
3.2
urgency
2.9
incentive
1.7

Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.