CVE-2026-99242

Source
https://cve.org/CVERecord?id=CVE-2026-99242
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-99242.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-99242
Downstream
Published
2026-11-02T16:06:44Z
Modified
2026-11-04T02:47:54Z
Summary
ntfs: fix race between fallocate and mmap reads
Details

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.

Database specific
{
    "cna_assigner":  "Linux",
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/99xxx/CVE-2026-99242.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
495e90fa334828d4119061e2726af51d0a0fb4ed
Fixed
7dd1c2fec6ebdd1a88a02cb58ff515a258eeb327
Fixed
67aded1da114dc44808315f249bd9e7e440f799d

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-99242.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
7.1.0
Fixed
7.2.14

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-99242.json"