CVE-2026-100003
not scored yetntfs: do not map an unmappable runlist fragment as a hole
In the Linux kernel, the following vulnerability has been resolved:
ntfs: do not map an unmappable runlist fragment as a hole
When the extent mft record holding part of a file's runlist cannot be
read, ntfs_attr_vcn_to_rl() ignores the failed ntfs_map_runlist_nolock()
retry and returns with *lcn == LCN_RL_NOT_MAPPED. The iomap read path
only rejects lcn < LCN_ENOENT, so it maps the range as a hole and read()
returns zeros with no error. The first read already does this:
ntfs_attr_map_whole_runlist() keeps the fragments it could read,
readahead drops its error, and the next lookup finds the unmapped tail.
On a file whose runlist is split between its base record (vcn 0-214) and
one extent record (vcn 215-1499), breaking only the extent record's FILE
magic makes the kernel log "Failed to map extent mft record", yet read()
returns 1285 clusters of zeros for vcn 215-1499. A damaged attribute
list entry, which makes the retry fail with -ENOENT, gives the same
zeros.
Return -ENOMEM if the retry ran out of memory and -EIO otherwise. Both
callers already handle an ERR_PTR; other negative lcns, including
LCN_ENOENT, are returned as before, and so is LCN_RL_NOT_MAPPED at or
beyond allocated_size, where nothing is mapped: the runlist ends there
with LCN_RL_NOT_MAPPED when only the last extent is mapped, as after a
write into it, and with clusters smaller than a page every read of a
file's last folio looks up such vcns.
Reads of vcn 215-1499 now fail with -EIO. An intact volume exercised
with buffered, mmap and O_DIRECT I/O, fallocate, truncate, sparse and
compressed files behaves as before.
- Published
- 30 Nov 2026
- Last modified
- 30 Nov 2026
- Assigned by
- 416baaa9-dc9f-4396-8d5f-8c081fb06d67
- NVD status
- Received
- Sources
- NVDJSONCVE ListJSON
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| CVE List | Linux | Linux | >= 495e90fa334828d4119061e2726af51d0a0fb4ed, < 7721a5eacab2fbf677ae03b2bd5cc2f355064556; >= 495e90fa334828d4119061e2726af51d0a0fb4ed, < 2b451a65658fb44017480be8818ab93e9115b420 | 7721a5eacab2fbf677ae03b2bd5cc2f355064556, 2b451a65658fb44017480be8818ab93e9115b420 |
| CVE List | Linux | Linux | = 7.1 |
References
- https://git.kernel.org/stable/c/2b451a65658fb44017480be8818ab93e9115b420
- https://git.kernel.org/stable/c/7721a5eacab2fbf677ae03b2bd5cc2f355064556
History
- 30 Nov 2026 14:45 UTC · NVD: first stored (published 30 Nov 2026)
- 30 Nov 2026 13:31 UTC · CVE List: first stored (published 30 Nov 2026)