CVE-2026-80674
published critical CVSS 3.1 · 9.8ntfs: validate resident attribute lists and harden the validator
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linux1e9ea7e04472d4e5e12e58c881eaacfb3e49b669 to < 55e97648f7753c6097cb682d24d1abcfe878e812 · 1e9ea7e04472d4e5e12e58c881eaacfb3e49b669 to < 7d19e1ffee084c4f7d321a360c14ba43404f7cc8 · 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: validate resident attribute lists and harden the validator A base inode's $ATTRIBUTE_LIST is sanity-checked by load_attribute_list() only on the non-resident path; ntfs_read_locked_inode() copies a *resident* attribute list into ni->attr_list with a plain memcpy() and no validation at all. Every subsequent walk of ni->attr_list -- ntfs_external_attr_find(), ntfs_inode_attach_all_extents() and ntfs_attrlist_need() -- then trusts the entries are well-formed and reads attr_list_entry fixed-header fields (lowest_vcn at offset 8, mft_reference at offset 16, and the name) with bounds that assume validation already happened. A crafted resident attribute list therefore reaches those walks unvalidated and can drive out-of-bounds reads of the attribute-list buffer. load_attribute_list() itself reads ale->name_offset (offset 7), ale->mft_reference (offset 16) and the name length under only an "al < al_start + size" bound, so its own validation loop can over-read the fixed header of a truncated trailing entry by a few bytes. Factor the per-entry validation into ntfs_attr_list_entry_is_valid(), which requires each entry's fixed header (offsetof(struct attr_list_entry, name)) to be in range before any field is dereferenced, that ale->length is a multiple of 8 covering the fixed header plus the name, and that the entry is in use and carries a live MFT reference. ntfs_attr_list_is_valid() walks the buffer with it and checks the entries tile it exactly. Use the list validator in load_attribute_list() (replacing the open-coded loop, closing its own over-read) and on the resident path in ntfs_read_locked_inode() (which previously skipped validation entirely); patches 2/3 reuse the per-entry helper at the other two attribute-list walks.
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 registers ntfs_export_ops; remote nfsd/ksmbd VFS lookups on an exported crafted NTFS volume reach ntfs_iget→ntfs_read_locked_inode and subsequent ntfs_external_attr_find/ntfs_attrlist_need walks without local syscall access. AC:L - Attacker fully controls on-disk resident $ATTRIBUTE_LIST entry headers (length, name_offset, mft_reference) in a crafted image; triggering the slab OOB read is deterministic once the inode is accessed with no races. PR:N - Exploitation requires only read access to mounted NTFS content (e.g., NFS/SMB client on an exported share) or supplying removable media the host later mounts; the attribute-list walk paths need no init-namespace root or CAP_SYS_ADMIN. UI:N - Once a crafted NTFS volume is mounted and exported (or loop-mounted in a user namespace), normal remote lookups/opens or attribute operations reach the unvalidated resident attribute-list parsing without further victim interaction. S:U - The out-of-bounds read and potential kernel crash remain within the mounting host kernel security authority; this is standard filesystem metadata parsing, not a VM escape, IOMMU bypass, or sandbox scope change. C:H - ntfs_external_attr_find(), ntfs_inode_attach_all_extents(), and ntfs_attrlist_need() read attr_list_entry fixed-header fields (lowest_vcn, mft_reference, name) past the kmalloc attr_list buffer end, disclosing adjacent slab heap memory. I:H - Attacker-controlled attribute-list lengths and offsets drive kernel parsing of forged metadata and adjacent slab contents; per kernel CNA guidance this memory-corruption class can be leveraged for arbitrary kernel modification or control-flow hijack beyond the immediate read. A:H - Out-of-bounds reads from the attribute-list buffer can fault on invalid adjacent memory or otherwise oops/panic the kernel during inode attribute walks on lookup, extent attach, or attribute-list maintenance paths.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | 1e9ea7e04472d4e5e12e58c881eaacfb3e49b669 to < 55e97648f7753c6097cb682d24d1abcfe878e812 (affected · git)1e9ea7e04472d4e5e12e58c881eaacfb3e49b669 to < 7d19e1ffee084c4f7d321a360c14ba43404f7cc8 (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: validate resident attribute lists and harden the validator
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 1cc3d6503817d30cb132210f2a6ba537874f36eac07268dd0d1572f1754f6e9c
- Ingested
- 23 Sep 2026, 09:34:40 UTC
- Source record
- Official CVE record