CVE-2026-100002: ntfs: fail the mount when $MFT needs its own extent records

Published Nov 30, 2026
·
Updated

In the Linux kernel, the following vulnerability has been resolved:

ntfs: fail the mount when $MFT needs its own extent records

Mounting a crafted image hangs the mount process forever, unkillable at 0% CPU. Only the hung-task detector reports it:

INFO: task mount:74 blocked in I/O wait for more than 30 seconds.

foliowaitbitcommon <- waits forever filemapreadfolio mapmftrecordfolio mapmftrecord ntfsmaprunlistnolock ntfsattrvcntorl ntfsreadiomapbegin iomapreadfolio ntfsreadfolio <- already holds that folio's lock ntfsreadinodemount ntfsfillsuper

ntfsreadinodemount() assembles $MFT's runlist one $DATA extent at a time, hoping, as its comment says, that it never needs a part of $MFT it has not decoded yet. If $MFT's attribute list puts one of its attributes or later $DATA extents in an extent record outside the runlist decoded so far, reading that record re-enters ntfsmaprunlistnolock() for $MFT. Depending on the layout, that waits on the folio lock it already holds, as above, blocks on $MFT's runlist lock, or dereferences NULL in mapextentmftrecord().

Mark the volume for the whole $DATA enumeration and have ntfsmaprunlistnolock() refuse $MFT with -EIO while the mark is set. The enumeration decodes each extent itself with ntfsmappingpairsdecompress(), so it does not need that path.

A validly placed record can trip the check too. The driver puts an extent record for $MFT's own mapping pairs before the first vcn it describes, but with clusters smaller than a page, the folio holding it can still run past the decoded runlist. An unpatched kernel hangs on that layout as well; with the check the mount fails. The check then refuses only the folio's tail, so this patch needs "ntfs: do not map an unmappable runlist fragment as a hole": without it the tail is zero-filled and the mount serves an all-zero mft record. The mount now fails instead of hanging:

ntfs: (device vda): ntfsmaprunlistnolock(): $MFT needs its own extent records to describe itself; cannot mount.

Tested under qemu with KASAN, PROVELOCKING and the hung-task detector on ntfs-next, with and without the whole series: six crafted images that hang or crash an unpatched kernel fail to mount with the series, and nine images that mount without it still mount, three of them with the same file listing and contents, among them a volume written by ntfs-3g whose $MFT has its $DATA in three extent records.

Affected Software

1 affected component
Linux Linux kernel

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Patch ntfs: fail the mount when $MFT needs its own extent records

Event History

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

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