CVE-2026-99242

ntfs: fix race between fallocate and mmap reads

Published Nov 2, 2026 CVSS 3.1 · 5.5 Medium EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical impact

The vulnerability is a race condition in the Linux kernel’s NTFS file system code that allows a concurrent mmap page fault to read uninitialized disk data while a fallocate operation is taking place without holding the invalidate_lock. This can result in userspace processes reading stale or unzeroed file contents, leading to information disclosure and potentially a data integrity issue if the data read is subsequently used.

Affected Systems

All Linux kernel releases that include NTFS file system support are potentially affected because the race condition exists in the kernel’s NTFS handling code. The exact affected kernel versions are not specified, so any kernel implementing this NTFS code without the lock change should be considered vulnerable until the patch is applied.

Risk and Exploitability

The CVSS score of 5.5 indicates medium severity, while the EPSS score of less than 1% indicates a very low probability of exploitation. The vulnerability is not listed in the CISA KEV catalog. Exploitation requires a local process to perform fallocate on an NTFS file and then mmap the same file before the new data is zeroed; because the race window is brief and the flaw is local, the overall risk to systems is low, but appropriate action to apply the kernel patch is recommended.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade the kernel to a version that includes the ntfs fallocate race fix, which holds the invalidate_lock for all allocation modes.
  • If an upgrade is not immediately possible, apply the patch from the official kernel source tree that implements the lock change.
  • As a temporary measure, avoid mounting NTFS filesystems with options that enable mmap or limit mmap usage from untrusted processes.

Generated by OpenCVE AI on November 5, 2026 at 04:10 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Weaknesses CWE-200
CWE-362
Type Values Removed Values Added
Weaknesses CWE-413
References
Metrics threat_severity

None

cvssV3_1

{'score': 5.5, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N'}

threat_severity

Moderate

Type Values Removed Values Added
First Time appeared Linux linux
Vendors & Products Linux linux
Type Values Removed Values Added
Weaknesses CWE-200
CWE-362
Type Values Removed Values Added
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.
Title ntfs: fix race between fallocate and mmap reads
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References
Weaknesses
  • CWE-413

    Improper Resource Locking

Sources

Status
PUBLISHED
Assigner
Linux
Published
Updated
Nov 2, 2026, 4:06 PM
Reserved
Sep 25, 2026, 10:25 AM
Status
Received
Published
Nov 2, 2026, 4:17 PM
Modified
Nov 2, 2026, 4:17 PM
Severity
Moderate
Public date
Nov 2, 2026, 4:06 PM