CVE-2025-71311
published high CVSS 3.1 · 8.2fs/ntfs3: Initialize new folios before use
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linux584f60ba22f79c89e6708ab82a5b5d9b8fa21fb2 to < dd6c81527d097b3b0bf5a15c2fdc9657d045144c · 584f60ba22f79c89e6708ab82a5b5d9b8fa21fb2 to < 5a30cc03bde169ad558695b26da6ea7e55f6194a · 584f60ba22f79c89e6708ab82a5b5d9b8fa21fb2 to < 41d79f8e2a36622d148719bf7c18b46ac1264284 · 584f60ba22f79c89e6708ab82a5b5d9b8fa21fb2 to < f223ebffa185cc8da934333c5a31ff2d4f992dc9 · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux6.11 (affected) · 0 to < 6.11 (unaffected · semver) · 6.12.75 through 6.12.* (unaffected · semver) · 6.18.14 through 6.18.* (unaffected · semver) · 6.19.4 through 6.19.* (unaffected · semver) · 7.0 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2026-1514 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2026-1543 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | kernel6.12aarch64 | Listed in advisory | Not stated | ALAS2023-2026-1543 |
| Amazon Linux | AL2023 | kernel6.12src | Listed in advisory | Not stated | ALAS2023-2026-1543 |
Show 4 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Amazon Linux | AL2023 | kernel6.12x86_64 | Listed in advisory | Not stated | ALAS2023-2026-1543 |
| Amazon Linux | AL2023 | kernel6.18aarch64 | Listed in advisory | Not stated | ALAS2023-2026-1514 |
| Amazon Linux | AL2023 | kernel6.18src | Listed in advisory | Not stated | ALAS2023-2026-1514 |
| Amazon Linux | AL2023 | kernel6.18x86_64 | Listed in advisory | Not stated | ALAS2023-2026-1514 |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 8.2 / 10
- Severity
- high
- Provider
- Linux · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N
- Scenarios
- en: AV:N - A remote SMB or NFS client can reach ntfs3's write path when a compressed NTFS volume is exported by ksmbd or nfsd. Writable NTFS-backed network shares are a reasonable NAS/server deployment. AC:L - No race is required; the attacker controls the write offset and length and can reliably end a write inside a newly allocated compression frame. PR:N - ksmbd supports anonymous guest-writable shares, including compressed directories whose new files inherit compression, so exploitation can require no credentials. UI:N - Once the share and filesystem are available, the attacker can perform the write, EOF extension, and read without victim interaction. S:U - The disclosure and limited data corruption remain within the host kernel and its filesystem security authority. C:H - Unfilled portions of an 8–64 KiB frame contain stale allocator data but are compressed, persisted, and marked uptodate. Extending EOF and reading can expose substantial kernel or cross-process memory, and the process can be repeated. I:L - Uninitialized bytes can become file contents instead of the required zero-filled extension, causing limited and value-uncontrolled data modification. The bug does not provide an arbitrary kernel write or control-flow primitive. A:N - The compression code keeps pointers, indexes, and output sizes bounded, so the uninitialized values do not crash a normal kernel. A KMSAN diagnostic on specially instrumented kernels is not a production availability impact.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | 584f60ba22f79c89e6708ab82a5b5d9b8fa21fb2 to < dd6c81527d097b3b0bf5a15c2fdc9657d045144c (affected · git)584f60ba22f79c89e6708ab82a5b5d9b8fa21fb2 to < 5a30cc03bde169ad558695b26da6ea7e55f6194a (affected · git)584f60ba22f79c89e6708ab82a5b5d9b8fa21fb2 to < 41d79f8e2a36622d148719bf7c18b46ac1264284 (affected · git)584f60ba22f79c89e6708ab82a5b5d9b8fa21fb2 to < f223ebffa185cc8da934333c5a31ff2d4f992dc9 (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 6.11 (affected)0 to < 6.11 (unaffected · semver)6.12.75 through 6.12.* (unaffected · semver)6.18.14 through 6.18.* (unaffected · semver)6.19.4 through 6.19.* (unaffected · semver)7.0 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
4Provider assertions
1Linux · cna
fs/ntfs3: Initialize new folios before use
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- f7778a0f4648111f9538d5ecee79b7531e8f05b67ff31642d49cd69bd9716a4f
- Ingested
- 23 Sep 2026, 08:58:12 UTC
- Source record
- Official CVE record