CVE-2025-71311
fs/ntfs3: Initialize new folios before use
Description
In the Linux kernel, the following vulnerability has been resolved: fs/ntfs3: Initialize new folios before use KMSAN reports an uninitialized value in longest_match_std(), invoked from ntfs_compress_write(). When new folios are allocated without being marked uptodate and ni_read_frame() is skipped because the caller expects the frame to be completely overwritten, some reserved folios may remain only partially filled, leaving the rest memory uninitialized.
INFO
Published Date :
May 27, 2026, 2:16 p.m.
Last Modified :
July 30, 2026, 6:24 a.m.
Remotely Exploit :
Yes !
Source :
416baaa9-dc9f-4396-8d5f-8c081fb06d67
CVSS Scores
| Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source |
|---|---|---|---|---|---|---|
| CVSS 3.1 | MEDIUM | [email protected] | ||||
| CVSS 3.1 | HIGH | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
Solution
- Update the Linux kernel to the latest version.
- Apply the patch for the NTFS3 driver.
- Ensure folios are marked uptodate.
- Review folio handling logic.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2025-71311.
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2025-71311 is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2025-71311
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2025-71311 vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2025-71311 vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Jul. 30, 2026
Action Type Old Value New Value Added CVSS V3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N -
Initial Analysis by [email protected]
Jun. 25, 2026
Action Type Old Value New Value Added CVSS V3.1 AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H Added CWE CWE-908 Added CPE Configuration OR *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.13 up to (excluding) 6.18.14 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.19 up to (excluding) 6.19.4 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.11 up to (excluding) 6.12.75 Added Reference Type kernel.org: https://git.kernel.org/stable/c/41d79f8e2a36622d148719bf7c18b46ac1264284 Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/5a30cc03bde169ad558695b26da6ea7e55f6194a Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/dd6c81527d097b3b0bf5a15c2fdc9657d045144c Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/f223ebffa185cc8da934333c5a31ff2d4f992dc9 Types: Patch -
CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Jun. 17, 2026
Action Type Old Value New Value Added Affected [{'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': '584f60ba22f79c89e6708ab82a5b5d9b8fa21fb2', 'lessThan': 'dd6c81527d097b3b0bf5a15c2fdc9657d045144c', 'versionType': 'git'}, {'status': 'affected', 'version': '584f60ba22f79c89e6708ab82a5b5d9b8fa21fb2', 'lessThan': '5a30cc03bde169ad558695b26da6ea7e55f6194a', 'versionType': 'git'}, {'status': 'affected', 'version': '584f60ba22f79c89e6708ab82a5b5d9b8fa21fb2', 'lessThan': '41d79f8e2a36622d148719bf7c18b46ac1264284', 'versionType': 'git'}, {'status': 'affected', 'version': '584f60ba22f79c89e6708ab82a5b5d9b8fa21fb2', 'lessThan': 'f223ebffa185cc8da934333c5a31ff2d4f992dc9', 'versionType': 'git'}], 'programFiles': ['fs/ntfs3/file.c'], 'defaultStatus': 'unaffected'}, {'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': '6.11'}, {'status': 'unaffected', 'version': '0', 'lessThan': '6.11', 'versionType': 'semver'}, {'status': 'unaffected', 'version': '6.12.75', 'versionType': 'semver', 'lessThanOrEqual': '6.12.*'}, {'status': 'unaffected', 'version': '6.18.14', 'versionType': 'semver', 'lessThanOrEqual': '6.18.*'}, {'status': 'unaffected', 'version': '6.19.4', 'versionType': 'semver', 'lessThanOrEqual': '6.19.*'}, {'status': 'unaffected', 'version': '7.0', 'versionType': 'original_commit_for_fix', 'lessThanOrEqual': '*'}], 'programFiles': ['fs/ntfs3/file.c'], 'defaultStatus': 'affected'}] -
New CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
May. 27, 2026
Action Type Old Value New Value Added Description In the Linux kernel, the following vulnerability has been resolved: fs/ntfs3: Initialize new folios before use KMSAN reports an uninitialized value in longest_match_std(), invoked from ntfs_compress_write(). When new folios are allocated without being marked uptodate and ni_read_frame() is skipped because the caller expects the frame to be completely overwritten, some reserved folios may remain only partially filled, leaving the rest memory uninitialized. Added Reference https://git.kernel.org/stable/c/41d79f8e2a36622d148719bf7c18b46ac1264284 Added Reference https://git.kernel.org/stable/c/5a30cc03bde169ad558695b26da6ea7e55f6194a Added Reference https://git.kernel.org/stable/c/dd6c81527d097b3b0bf5a15c2fdc9657d045144c Added Reference https://git.kernel.org/stable/c/f223ebffa185cc8da934333c5a31ff2d4f992dc9