Linux Kernel NFSv4 Openowner Memory Leak Vulnerability

Vulnerability

A memory leak vulnerability has been identified in the Linux kernel's NFS server implementation, specifically within the NFSv4 protocol handling. This issue arises when two threads concurrently initiate file open requests, leading to the creation of multiple RPC tasks that can cause a significant memory leak. The problem is exacerbated by the 'force unmount' operation, which can disrupt normal file handling and leave open file references that contribute to the leak.

Impact

Exploitation of this vulnerability leads to a memory leak on the NFS server, where objects remain allocated and can cause warnings about leftover objects during server shutdown processes.

Reproduction

The vulnerability can be reproduced by mounting an NFS share and then using the 'force unmount' command while simultaneously opening a file over NFS. This will trigger two RPC tasks to be sent to the NFS server, where the first task can be interrupted by the unmount operation, causing the second task to leak memory by not properly releasing the associated resources.

Added: Jun 9, 2025, 7:46 PM
Updated: Jun 9, 2025, 7:46 PM

Vulnerability Rating

Custom Algorithm
spread
9.0
impact
2.5
exploitability
3.9
remediation
0.0
relevance
0.0
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.