A memory leak vulnerability exists in the Linux kernel's NTFS3 filesystem driver in the ntfs_fill_super() function. (CVE-2025-71312)
A memory leak vulnerability exists in the Linux kernel's NTFS3 filesystem driver in the ntfs_fill_super() function. The issue occurs because the fs_private pointer is set to NULL without freeing the memory it references, causing the ntfs_mount_options structure to remain allocated and unreferenced. This results in a kernel memory leak detected by kmemleak. The problem has been fixed by correcting the cleanup logic to properly free the allocated memory and simplifying the code using a helper function.
AI Analysis
Technical Summary
The Linux kernel NTFS3 filesystem driver had a memory leak vulnerability (CVE-2025-71312) in the ntfs_fill_super() function. Specifically, the fc->fs_private pointer was set to NULL without freeing the memory it pointed to, causing the ntfs_mount_options structure to remain allocated and unreferenced. This leads to a kmemleak report indicating a memory leak. The issue was addressed by removing the unnecessary nullification of fc->fs_private and using the put_mount_options() helper function to properly free the mount options memory during cleanup.
Potential Impact
This vulnerability causes a memory leak in the kernel when mounting NTFS filesystems, which can lead to increased memory usage and potential resource exhaustion over time. There is no impact on confidentiality or integrity, but availability could be affected due to the memory leak (denial of service via resource exhaustion).
Mitigation Recommendations
A fix for this vulnerability is available in the Linux kernel source code. Users should update to a kernel version that includes the patch correcting the ntfs_fill_super() memory leak. Since no vendor advisory or patch links are provided here, check the official Linux kernel repositories or vendor advisories for the specific patch and update instructions. Patch status is not yet confirmed in this data — verify with the vendor advisory for current remediation guidance.
A memory leak vulnerability exists in the Linux kernel's NTFS3 filesystem driver in the ntfs_fill_super() function. (CVE-2025-71312)
Description
A memory leak vulnerability exists in the Linux kernel's NTFS3 filesystem driver in the ntfs_fill_super() function. The issue occurs because the fs_private pointer is set to NULL without freeing the memory it references, causing the ntfs_mount_options structure to remain allocated and unreferenced. This results in a kernel memory leak detected by kmemleak. The problem has been fixed by correcting the cleanup logic to properly free the allocated memory and simplifying the code using a helper function.
CVSS v3.1
Score 5.5medium
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The Linux kernel NTFS3 filesystem driver had a memory leak vulnerability (CVE-2025-71312) in the ntfs_fill_super() function. Specifically, the fc->fs_private pointer was set to NULL without freeing the memory it pointed to, causing the ntfs_mount_options structure to remain allocated and unreferenced. This leads to a kmemleak report indicating a memory leak. The issue was addressed by removing the unnecessary nullification of fc->fs_private and using the put_mount_options() helper function to properly free the mount options memory during cleanup.
Potential Impact
This vulnerability causes a memory leak in the kernel when mounting NTFS filesystems, which can lead to increased memory usage and potential resource exhaustion over time. There is no impact on confidentiality or integrity, but availability could be affected due to the memory leak (denial of service via resource exhaustion).
Mitigation Recommendations
A fix for this vulnerability is available in the Linux kernel source code. Users should update to a kernel version that includes the patch correcting the ntfs_fill_super() memory leak. Since no vendor advisory or patch links are provided here, check the official Linux kernel repositories or vendor advisories for the specific patch and update instructions. Patch status is not yet confirmed in this data — verify with the vendor advisory for current remediation guidance.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-w58m-8mj8-hh8w
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2025-71312"]
- Ecosystems
- []
- Database Specific Severity
- MODERATE
- Cvss Version
- 3.1
Threat ID: 6a3ef7f027e9c79719035c76
Added to database: 06/26/2026, 22:06:40 UTC
Last enriched: 06/26/2026, 22:51:02 UTC
Last updated: 07/31/2026, 19:22:56 UTC
Views: 10
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.