PT-2026-162585
CVE-2026-100003
·
Published
2026-11-30
·
Updated
2026-11-30
Description by
Score
N/A
Not availableNo severity ratings or metrics are available. When they are, we'll update the corresponding info on the page.
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.
Found an issue in the description? Have something to add? Feel free to write us 👾