CVE-2026-100003: ntfs: do not map an unmappable runlist fragment as a hole

Published Nov 30, 2026
·
Updated

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, ntfsattrvcntorl() ignores the failed ntfsmaprunlistnolock() retry and returns with lcn == LCNRLNOTMAPPED. The iomap read path only rejects lcn < LCNENOENT, so it maps the range as a hole and read() returns zeros with no error. The first read already does this: ntfsattrmapwholerunlist() 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 ERRPTR; other negative lcns, including LCNENOENT, are returned as before, and so is LCNRLNOTMAPPED at or beyond allocatedsize, where nothing is mapped: the runlist ends there with LCNRLNOTMAPPED 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 ODIRECT I/O, fallocate, truncate, sparse and compressed files behaves as before.

Affected Software

1 affected component
Linux Linux kernel

Event History

Nov 30, 2026
CVE Published
via MITRE·01:22 PM
Data Sourced
via MITRE·01:22 PM
Description

Frequently Asked Questions

1

What systems are realistically exposed to incorrect reads?

Linux systems using the kernel NTFS implementation are affected when an NTFS file has a runlist split across MFT records and an extent record or attribute-list entry needed to map part of that runlist cannot be read.

2

What condition causes the incorrect data to be returned?

The failure occurs when mapping a runlist fragment fails, such as when an extent MFT record has invalid FILE magic or a damaged attribute-list entry causes a retry to fail with -ENOENT. The affected range can then be mapped as a hole, causing read() to return zero bytes without an error.

3

How can an administrator recognize that this condition has occurred?

The kernel may log "Failed to map extent mft record". A read of the affected file may nevertheless succeed while returning zeros for the portion backed by the unmappable runlist fragment.

4

What is the impact of the fix on error handling?

Failed retries now return -ENOMEM when memory allocation failed and -EIO for other failures, rather than treating the unmappable fragment as a hole. Existing handling for other negative LCN values, including LCN_ENOENT, remains unchanged.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203