Linux Kernel NTFS3 Memory Leak Vulnerability

Vulnerability

A memory leak vulnerability has been identified in the Linux kernel's NTFS3 file system handling. The issue arises in the 'ntfs_read_mft' function, where the 'ATTR_ROOT' label incorrectly sets the 'is_root' flag to true without also setting the 'NI_FLAG_DIR' flag. This inconsistency can lead to a memory leak, as the allocated memory for directory attributes is not properly freed. The problem was reported by the kernel's memory leak detector, 'kmemleak'.

Impact

Exploitation of this vulnerability leads to a memory leak, where allocated memory is not properly released, potentially causing increased memory usage and degradation of system performance over time.

Reproduction

The vulnerability can be reproduced by mounting an NTFS file system with a directory that has attributes triggering the 'ATTR_ROOT' label in the 'ntfs_read_mft' function. The 'is_root' flag will be set, but without the corresponding 'NI_FLAG_DIR' flag, creating the conditions for the memory leak. After the file system is unmounted, the 'kmemleak' tool will report the leaked memory as an unreferenced object, indicating that the allocated memory was not properly freed.

Remediation

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

Added: Dec 24, 2025, 3:57 PM
Updated: Dec 24, 2025, 3:57 PM

Vulnerability Rating

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