{"id":"CVE-2026-100003","aliases":["CVE-2026-100003"],"related":[],"kind":"vulnerability","state":"published","title":"ntfs: do not map an unmappable runlist fragment as a hole","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nntfs: do not map an unmappable runlist fragment as a hole\n\nWhen the extent mft record holding part of a file's runlist cannot be\nread, ntfs_attr_vcn_to_rl() ignores the failed ntfs_map_runlist_nolock()\nretry and returns with *lcn == LCN_RL_NOT_MAPPED.  The iomap read path\nonly rejects lcn < LCN_ENOENT, so it maps the range as a hole and read()\nreturns zeros with no error.  The first read already does this:\nntfs_attr_map_whole_runlist() keeps the fragments it could read,\nreadahead drops its error, and the next lookup finds the unmapped tail.\n\nOn a file whose runlist is split between its base record (vcn 0-214) and\none extent record (vcn 215-1499), breaking only the extent record's FILE\nmagic makes the kernel log \"Failed to map extent mft record\", yet read()\nreturns 1285 clusters of zeros for vcn 215-1499.  A damaged attribute\nlist entry, which makes the retry fail with -ENOENT, gives the same\nzeros.\n\nReturn -ENOMEM if the retry ran out of memory and -EIO otherwise.  Both\ncallers already handle an ERR_PTR; other negative lcns, including\nLCN_ENOENT, are returned as before, and so is LCN_RL_NOT_MAPPED at or\nbeyond allocated_size, where nothing is mapped: the runlist ends there\nwith LCN_RL_NOT_MAPPED when only the last extent is mapped, as after a\nwrite into it, and with clusters smaller than a page every read of a\nfile's last folio looks up such vcns.\n\nReads of vcn 215-1499 now fail with -EIO.  An intact volume exercised\nwith buffered, mmap and O_DIRECT I/O, fallocate, truncate, sparse and\ncompressed files behaves as before.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nntfs: do not map an unmappable runlist fragment as a hole\n\nWhen the extent mft record holding part of a file's runlist cannot be\nread, ntfs_attr_vcn_to_rl() ignores the failed ntfs_map_runlist_nolock()\nretry and returns with *lcn == LCN_RL_NOT_MAPPED.  The iomap read path\nonly rejects lcn < LCN_ENOENT, so it maps the range as a hole and read()\nreturns zeros with no error.  The first read already does this:\nntfs_attr_map_whole_runlist() keeps the fragments it could read,\nreadahead drops its error, and the next lookup finds the unmapped tail.\n\nOn a file whose runlist is split between its base record (vcn 0-214) and\none extent record (vcn 215-1499), breaking only the extent record's FILE\nmagic makes the kernel log \"Failed to map extent mft record\", yet read()\nreturns 1285 clusters of zeros for vcn 215-1499.  A damaged attribute\nlist entry, which makes the retry fail with -ENOENT, gives the same\nzeros.\n\nReturn -ENOMEM if the retry ran out of memory and -EIO otherwise.  Both\ncallers already handle an ERR_PTR; other negative lcns, including\nLCN_ENOENT, are returned as before, and so is LCN_RL_NOT_MAPPED at or\nbeyond allocated_size, where nothing is mapped: the runlist ends there\nwith LCN_RL_NOT_MAPPED when only the last extent is mapped, as after a\nwrite into it, and with clusters smaller than a page every read of a\nfile's last folio looks up such vcns.\n\nReads of vcn 215-1499 now fail with -EIO.  An intact volume exercised\nwith buffered, mmap and O_DIRECT I/O, fallocate, truncate, sparse and\ncompressed files behaves as before.","source":"cvelist"}],"published":"2026-11-30T13:22:59.269Z","modified":"2026-11-30T14:17:14.120Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"495e90fa334828d4119061e2726af51d0a0fb4ed","fixed":"7721a5eacab2fbf677ae03b2bd5cc2f355064556","status":"affected"},{"type":"git","introduced":"495e90fa334828d4119061e2726af51d0a0fb4ed","fixed":"2b451a65658fb44017480be8818ab93e9115b420","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.3.4","lastAffected":"7.3.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.4-rc1","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/7721a5eacab2fbf677ae03b2bd5cc2f355064556","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/2b451a65658fb44017480be8818ab93e9115b420","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-100003","url":"https://www.cve.org/CVERecord?id=CVE-2026-100003","licence":"CVE Terms of Use","modified":"2026-11-30T13:22:59.269Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-100003","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-100003","licence":"Public domain","modified":"2026-11-30T14:17:14.120Z"}],"updatedAt":"2026-11-30T14:32:16.709Z","epss":{"score":0.00163,"percentile":0.05704,"date":"2026-12-01T12:00:22.000Z"}}