CVE-2026-72211
published critical CVSS 3.1 · 9.8ntfs: grow index root value before reparent header update
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linux0a8ac0c1fa0b99a5b29002bc7f232ed7eafddef0 to < 38d444271604afc6381ddb5a181e391915c35fae · 0a8ac0c1fa0b99a5b29002bc7f232ed7eafddef0 to < 0bb508fb3b97e4802ec727fd2af4d608f65dd190 · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux7.1 (affected) · 0 to < 7.1 (unaffected · semver) · 7.1.5 through 7.1.* (unaffected · semver) · 7.2 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
Description
In the Linux kernel, the following vulnerability has been resolved: ntfs: grow index root value before reparent header update ntfs_ir_reparent() moves the resident index root entries into an index block and leaves a small root stub containing the child VCN. That root stub can be larger than the existing resident value. For example, an empty root with value_length 48 has an index area of 32 bytes, while the large-index root stub needs index_length and allocated_size of 40 bytes. The current code publishes the larger index.index_length and index.allocated_size before resizing the resident value. If the resize returns -ENOSPC, the recovery path can call ntfs_inode_add_attrlist(), which looks attributes up again while the root header says allocated_size 40 but the resident value still only provides 32 bytes of index area. Lookup-time $INDEX_ROOT validation then correctly rejects that transient layout as corrupt. This reproduces as a generic/013 failure under qemu. In the failing run, the transient root had value_len=48, index_size=32, index_length=40, and allocated_size=40, and ntfsprogs-plus ntfsck reported "Corrupt index root in MFT record 1177". When the root stub grows, resize the resident value before publishing the larger root header. If the resize fails, the old root remains valid for recovery lookups. Keep the existing header-before-resize ordering for shrink or same-size cases so the resident value never temporarily exposes an allocated_size beyond its bounds.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 9.8 / 10
- Severity
- critical
- Provider
- Linux · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Scenarios
- en: AV:N - ntfs_ir_reparent is reached via ntfs_index_add_filename on VFS create/mkdir/link/rename; the ntfs driver registers ntfs_export_ops, so remote NFS or ksmbd clients writing to an exported rw NTFS share can trigger index reparent without local shell access. AC:L - An attacker can deterministically fill a directory and pack the host MFT record so index-root reparent needs a larger stub than the resident value_length, forcing -ENOSPC on resize; xfstests generic/013 reproduces this without races or victim-specific timing. PR:N - Exploitation requires only permission to create or link files in an NTFS directory (local user with write access, authenticated SMB/NFS client, or guest/anonymous write on a misconfigured export); mounting is environmental setup, not a privilege needed during the trigger. UI:N - Once an administrator has rw-mounted and optionally exported the NTFS volume, the attacker drives file-creation or link operations that grow the directory index; no further victim clicks, opens, or cooperative actions are required beyond that standing configuration. S:U - Impact is confined to on-disk NTFS $INDEX_ROOT metadata corruption and operation failure within the host kernel/filesystem security authority; this is standard local or network filesystem exploitation, not a VM escape or cross-authority sandbox breakout. C:H - Publishing allocated_size beyond the resident value index area leaves a transient header/buffer mismatch in the mapped MFT record; recovery lookups and subsequent index walks can read past the resident value bounds, and persistent corrupt $INDEX_ROOT can expose adjacent directory/MFT metadata. I:H - Failed reparent can leave $INDEX_ROOT with index_length and allocated_size larger than the resident value (ntfsck reports Corrupt index root in MFT record), enabling attacker-steerable on-disk directory index metadata corruption beyond the intended filesystem state. A:H - Recovery fails when $INDEX_ROOT validation rejects the inconsistent root, aborting directory updates and leaving corrupt on-disk index metadata that can render directories unusable; this was reproduced as an xfstests generic/013 failure with persistent filesystem corruption.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | 0a8ac0c1fa0b99a5b29002bc7f232ed7eafddef0 to < 38d444271604afc6381ddb5a181e391915c35fae (affected · git)0a8ac0c1fa0b99a5b29002bc7f232ed7eafddef0 to < 0bb508fb3b97e4802ec727fd2af4d608f65dd190 (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 7.1 (affected)0 to < 7.1 (unaffected · semver)7.1.5 through 7.1.* (unaffected · semver)7.2 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
2Provider assertions
1Linux · cna
ntfs: grow index root value before reparent header update
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 745d7351176745e38b85800d50f103f4b671ef9be2e06fe250e6717996324b79
- Ingested
- 23 Sep 2026, 09:29:56 UTC
- Source record
- Official CVE record