CVE-2026-99107
published high CVSS 3.1 · 7.8ntfs: fix incorrect MFT record pointer passed to ntfs_attr_record_resize
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linuxfc053f05ca282a5e760b41f6560ac835c4e28037 to < 0a9122cada749447dfb6d67aa3fed4ee1982231c · fc053f05ca282a5e760b41f6560ac835c4e28037 to < 8d139e3635c86e2c97c78d55538ce0b00b6d9986 · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux7.1 (affected) · 0 to < 7.1 (unaffected · semver) · 7.2.13 through 7.2.* (unaffected · semver) · 7.3 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: fix incorrect MFT record pointer passed to ntfs_attr_record_resize ntfs_new_attr_flags() passes the wrong MFT record to ntfs_attr_record_resize(). When the attribute is in an extent record, ctx->mrec points to the extent but the function receives the base record pointer m, causing incorrect size calculations in memmove. Fix by passing ctx->mrec (the actual MFT record containing the attribute) instead of m (the base MFT record) to ntfs_attr_record_resize().
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
- 7.8 / 10
- Severity
- high
- Provider
- Linux · cna
- Vector string
- CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Scenarios
- en: AV:L - setxattr(2)/fsetxattr(2) with system.ntfs_attrib reaches ntfs_setxattr(), ntfs_new_attr_flags(), then ntfs_attr_record_resize(); the causal flag value enters through a local syscall, not a network protocol. AC:L - Attacker-created hard links can fill the base record, after which ntfs_resident_attr_resize() and ntfs_attr_record_move_to() can place $DATA in an extent; truncating it empty and toggling compression deterministically triggers the bug without a race or external condition. PR:L - xattr_permission() leaves system.* authorization to the filesystem, while ntfs_setxattr() requires CAP_SYS_ADMIN only for reserved $LX* names, not system.ntfs_attrib. An ordinary local user can therefore trigger this on a file they control. UI:N - The attacker performs the hard-link, write, truncate, and fsetxattr operations on their own file; exploitation does not require a victim to mount attacker-supplied media or open a file. S:U - ntfs_new_attr_flags() corrupts memory within the same host kernel security authority that processes the local syscall; no guest-host, IOMMU, or other scope boundary is crossed. C:H - map_mft_record_folio() allocates base and extent records separately, so subtracting the extent attribute pointer from the base record pointer can produce an unbounded memmove length and read beyond the extent into adjacent kernel heap memory. I:H - ntfs_attr_record_resize() uses that bogus length to memmove data beyond the separately allocated extent MFT buffer, producing an out-of-bounds heap write capable of corrupting adjacent slab objects and control data. A:H - The unrelated-pointer subtraction can underflow to a huge memmove length, causing a kernel fault or oops; a finite overwrite can likewise corrupt the slab and crash the system.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | fc053f05ca282a5e760b41f6560ac835c4e28037 to < 0a9122cada749447dfb6d67aa3fed4ee1982231c (affected · git)fc053f05ca282a5e760b41f6560ac835c4e28037 to < 8d139e3635c86e2c97c78d55538ce0b00b6d9986 (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 7.1 (affected)0 to < 7.1 (unaffected · semver)7.2.13 through 7.2.* (unaffected · semver)7.3 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
2Provider assertions
1Linux · cna
ntfs: fix incorrect MFT record pointer passed to ntfs_attr_record_resize
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 7d3528a39bd993f1508eb6cd7808407b39f74018c0907ff9adaf2fdb00b3b430
- Ingested
- 31 Oct 2026, 12:46:07 UTC
- Source record
- Official CVE record