# CVE-2025-71311: fs/ntfs3: Initialize new folios before use

- Severity: High 8.2 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.32%, higher than 27% of CVEs (2026-12-01)
- Published: 2026-05-27T12:24:02.532Z
- Modified: 2026-10-14T13:10:00.187Z
- Weaknesses: CWE-908
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from 584f60ba22f79c89e6708ab82a5b5d9b8fa21fb2 before dd6c81527d097b3b0bf5a15c2fdc9657d045144c; from 584f60ba22f79c89e6708ab82a5b5d9b8fa21fb2 before 5a30cc03bde169ad558695b26da6ea7e55f6194a; from 584f60ba22f79c89e6708ab82a5b5d9b8fa21fb2 before 41d79f8e2a36622d148719bf7c18b46ac1264284; from 584f60ba22f79c89e6708ab82a5b5d9b8fa21fb2 before f223ebffa185cc8da934333c5a31ff2d4f992dc9; 6.11 (not affected: before 6.11; from 6.12.75 up to 6.12.*; from 6.18.14 up to 6.18.*; from 6.19.4 up to 6.19.*; from 7.0 up to *)
- linux linux_kernel: from 6.11 before 6.12.75; from 6.13 before 6.18.14; from 6.19 before 6.19.4

## Every score

- Linux: CVSS:3.1 8.2 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N`
- NVD: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://git.kernel.org/stable/c/dd6c81527d097b3b0bf5a15c2fdc9657d045144c> (patch)
- <https://git.kernel.org/stable/c/5a30cc03bde169ad558695b26da6ea7e55f6194a> (patch)
- <https://git.kernel.org/stable/c/41d79f8e2a36622d148719bf7c18b46ac1264284> (patch)
- <https://git.kernel.org/stable/c/f223ebffa185cc8da934333c5a31ff2d4f992dc9> (patch)

## Sources

- CVE List: [CVE-2025-71311](https://www.cve.org/CVERecord?id=CVE-2025-71311), CVE Terms of Use, modified 2026-08-05
- NVD: [CVE-2025-71311](https://nvd.nist.gov/vuln/detail/CVE-2025-71311), Public domain, modified 2026-10-14

---

Page: https://cve.day/CVE-2025-71311 · Whole record: https://cve.day/CVE-2025-71311.json · Rebuilt by cve.day 2026-11-25T22:59:12.230Z
