{"id":"CVE-2026-99242","aliases":["CVE-2026-99242"],"related":[],"kind":"vulnerability","state":"published","title":"ntfs: fix race between fallocate and mmap reads","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nntfs: fix race between fallocate and mmap reads\n\nThe fallocate implementation only takes invalidate_lock for punch hole,\ncollapse range, and insert range operations. For standard allocation modes\n(mode == 0, FALLOC_FL_KEEP_SIZE), the lock is not held.\n\nDuring ntfs_attr_fallocate(), new clusters are mapped to the runlist via\nntfs_attr_map_cluster() before being zeroed by ntfs_dio_zero_range(). This\ncreates a window where concurrent mmap page faults can read uninitialized\ndisk data.\n\nSince mmap uses filemap_fault() which takes invalidate_lock in shared mode,\nit can fault in pages during this window and expose old disk contents to\nuserspace. This is an information leak and data integrity issue.\n\nFix by taking invalidate_lock for all fallocate operations, not just for\npunch/collapse/insert modes. This prevents concurrent page faults from\naccessing unzeroed clusters during the allocation window.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nntfs: fix race between fallocate and mmap reads\n\nThe fallocate implementation only takes invalidate_lock for punch hole,\ncollapse range, and insert range operations. For standard allocation modes\n(mode == 0, FALLOC_FL_KEEP_SIZE), the lock is not held.\n\nDuring ntfs_attr_fallocate(), new clusters are mapped to the runlist via\nntfs_attr_map_cluster() before being zeroed by ntfs_dio_zero_range(). This\ncreates a window where concurrent mmap page faults can read uninitialized\ndisk data.\n\nSince mmap uses filemap_fault() which takes invalidate_lock in shared mode,\nit can fault in pages during this window and expose old disk contents to\nuserspace. This is an information leak and data integrity issue.\n\nFix by taking invalidate_lock for all fallocate operations, not just for\npunch/collapse/insert modes. This prevents concurrent page faults from\naccessing unzeroed clusters during the allocation window.","source":"cvelist"}],"published":"2026-11-02T16:06:44.590Z","modified":"2026-11-02T16:17:50.040Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"495e90fa334828d4119061e2726af51d0a0fb4ed","fixed":"7dd1c2fec6ebdd1a88a02cb58ff515a258eeb327","status":"affected"},{"type":"git","introduced":"495e90fa334828d4119061e2726af51d0a0fb4ed","fixed":"67aded1da114dc44808315f249bd9e7e440f799d","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"7.1","status":"affected"},{"type":"semver","introduced":"0","fixed":"7.1","status":"unaffected"},{"type":"semver","introduced":"7.2.14","lastAffected":"7.2.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.3","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/7dd1c2fec6ebdd1a88a02cb58ff515a258eeb327","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/67aded1da114dc44808315f249bd9e7e440f799d","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-99242","url":"https://www.cve.org/CVERecord?id=CVE-2026-99242","licence":"CVE Terms of Use","modified":"2026-11-02T16:06:44.590Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-99242","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-99242","licence":"Public domain","modified":"2026-11-02T16:17:50.040Z"}],"updatedAt":"2026-11-25T22:59:48.207Z","epss":{"score":0.00145,"percentile":0.03977,"date":"2026-12-01T12:00:22.000Z"}}