# CVE-2026-99242: ntfs: fix race between fallocate and mmap reads

- Severity: not scored yet
- 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.14%, higher than 3% of CVEs (2026-12-01)
- Published: 2026-11-02T16:06:44.590Z
- Modified: 2026-11-02T16:17:50.040Z
- Assigned by: Linux

## Description

In the Linux kernel, the following vulnerability has been resolved:

ntfs: fix race between fallocate and mmap reads

The fallocate implementation only takes invalidate_lock for punch hole,
collapse range, and insert range operations. For standard allocation modes
(mode == 0, FALLOC_FL_KEEP_SIZE), the lock is not held.

During ntfs_attr_fallocate(), new clusters are mapped to the runlist via
ntfs_attr_map_cluster() before being zeroed by ntfs_dio_zero_range(). This
creates a window where concurrent mmap page faults can read uninitialized
disk data.

Since mmap uses filemap_fault() which takes invalidate_lock in shared mode,
it can fault in pages during this window and expose old disk contents to
userspace. This is an information leak and data integrity issue.

Fix by taking invalidate_lock for all fallocate operations, not just for
punch/collapse/insert modes. This prevents concurrent page faults from
accessing unzeroed clusters during the allocation window.

(As written by CVE List.)

## Affected

- Linux Linux: from 495e90fa334828d4119061e2726af51d0a0fb4ed before 7dd1c2fec6ebdd1a88a02cb58ff515a258eeb327; from 495e90fa334828d4119061e2726af51d0a0fb4ed before 67aded1da114dc44808315f249bd9e7e440f799d; 7.1 (not affected: before 7.1; from 7.2.14 up to 7.2.*; from 7.3 up to *)

## References

- <https://git.kernel.org/stable/c/7dd1c2fec6ebdd1a88a02cb58ff515a258eeb327>
- <https://git.kernel.org/stable/c/67aded1da114dc44808315f249bd9e7e440f799d>

## Sources

- CVE List: [CVE-2026-99242](https://www.cve.org/CVERecord?id=CVE-2026-99242), CVE Terms of Use, modified 2026-11-02
- NVD: [CVE-2026-99242](https://nvd.nist.gov/vuln/detail/CVE-2026-99242), Public domain, modified 2026-11-02

---

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