Skip to main content
← Vulnerabilities

ntfs: fix race between fallocate and mmap reads

The NTFS driver in the Linux kernel ran standard fallocate modes without invalidate_lock before the fix, so concurrent mmap reads could see old disk contents. No fixed version is listed yet.

Written by anthropic/claude-haiku-5.5 from the sources below. Verify against them.

—Not rated
Exploited
No known exploitation
Fix
No fix listed
Who is exposed
Not reported

Do first: Workaround: The sources give no workaround. Limiting concurrent fallocate and mmap use on NTFS files would reduce exposure, but no source confirms this as a mitigation.

Published
Last modified
Published
Not listed in CISA KEV
25/100 · provisional
Unclear
None on Exploit-DB, Metasploit or GitHub

Summary

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.

What to do

  • Workaround: The sources give no workaround. Limiting concurrent fallocate and mmap use on NTFS files would reduce exposure, but no source confirms this as a mitigation.

Timeline

  1. CVE published
  2. First seen by cve.now

Affected versions

  • Linux Linux

    Version range not reported

  • Linux Linux

    7.1

Evidence 2

  1. Link
  2. Link

Corrections

None so far.

Something wrong on this page? Report an error. Every fix is listed here.

FAQ

Questions about CVE-2026-99242

What does this mean?

During an fallocate allocation on an NTFS file, a concurrent mmap page fault can read old, uninitialized contents from disk. This can expose that data to userspace, which is both an information leak and a data integrity problem.Source: git.kernel.org

Am I affected, and how do I check?

The issue is in the Linux kernel's NTFS driver before the fix, in the standard fallocate modes (mode 0 or FALLOC_FL_KEEP_SIZE) when mmap reads of the same file run concurrently. The sources do not list specific kernel version numbers, so check whether your kernel includes the fix commit for this CVE.Source: git.kernel.org

What should I do about it?

The sources do not name a fixed kernel version. Install the kernel update from your distribution or vendor once it includes the fix for CVE-2026-99242.Source: git.kernel.org

Is it being exploited?

It is not in CISA's Known Exploited Vulnerabilities catalog, and CISA's SSVC assessment does not mark exploitation as active. That does not mean it has not been attacked: vendors and researchers can report attacks before CISA lists them. No public exploit code is tracked.Source: cve.now feed data

What if there's no patch?

The sources give no workaround. Limiting concurrent fallocate and mmap use on NTFS files would reduce exposure, but no source confirms this as a mitigation.Source: git.kernel.org