Linux Kernel TCP/UDP Zero-Copy Socket Memory Leak Vulnerability

Vulnerability

A memory leak vulnerability has been identified in the Linux kernel's handling of TCP and UDP sockets with zero-copy transmission and TX timestamping. This issue arises when a socket is closed before the transmitted data can be acknowledged, leading to unfreed memory and potential resource exhaustion. The vulnerability affects several versions of the Linux kernel.

Impact

Exploitation of this vulnerability leads to memory leaks, where unreferenced objects are not properly released, causing increased memory usage and potential exhaustion of system resources.

Reproduction

The vulnerability can be reproduced by creating a UDP socket and enabling zero-copy transmission and TX timestamping. After sending a zero-copy message, the socket is closed, which triggers the memory leak. This sequence can be automated with a script or program that performs the necessary socket operations.

Remediation

Users can upgrade to the latest version of the Linux kernel, where this vulnerability has been addressed. Instructions for upgrading can be found in the official Linux kernel documentation.

Added: Oct 1, 2025, 2:09 PM
Updated: Oct 1, 2025, 2:09 PM

Vulnerability Rating

Custom Algorithm
spread
9.0
impact
0.6
exploitability
5.7
remediation
7.7
relevance
0.6
threat
4.8
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.