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.
Published: 2026-11-02
Score: n/a
EPSS: n/a
KEV: No
Impact: Information Disclosure and Data Integrity
Action: Patch
AI Analysis

Impact

The vulnerability arises when the fallocate implementation for NTFS files does not hold the invalidate_lock for standard allocation modes (mode == 0, FALLOC_FL_KEEP_SIZE). During allocation, new clusters are mapped but not immediately zeroed, creating a window in which an mmap page fault can read uninitialized or stale disk data. A process that mmap's the file can therefore read data that should have been cleared, leading to an information leak and a data integrity issue.

Affected Systems

All Linux kernel versions that implement the NTFS filesystem are potentially affected because the race condition exists in the kernel's NTFS handling code. The vulnerability is present until a kernel patch that holds invalidate_lock for every fallocate operation is applied.

Risk and Exploitability

The CVSS score is not provided, but the EPSS score is missing and the vulnerability is not listed in the CISA KEV catalog, suggesting no widespread exploitation has been observed to date. The attack requires that a process 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 exploit relies on local kernel execution, the risk is considered moderate for systems that accept untrusted user input or run processes with elevated privileges. Monitoring for any anomalous mmap activity on NTFS volumes is recommended.

Generated by OpenCVE AI on November 2, 2026 at 17:50 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

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

Generated by OpenCVE AI on November 2, 2026 at 17:50 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Mon, 02 Nov 2026 19:15:00 +0000

Type Values Removed Values Added
First Time appeared Linux linux
Vendors & Products Linux linux

Mon, 02 Nov 2026 18:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-200
CWE-362

Mon, 02 Nov 2026 16:15:00 +0000

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

Subscriptions

Linux Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-11-02T16:06:44.590Z

Reserved: 2026-09-25T10:25:14.403Z

Link: CVE-2026-99242

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-11-02T16:17:50.040

Modified: 2026-11-02T16:17:50.040

Link: CVE-2026-99242

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-11-02T19:00:06Z

Weaknesses
  • CWE-200

    Exposure of Sensitive Information to an Unauthorized Actor

  • CWE-362

    Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition')