CVE-2026-99861
published high CVSS 3.1 · 7.8ntfs3: fix mapping pairs bounds check for alignment
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linuxb46acd6a6a627d876898e1c84d3f84902264b445 to < 35369a36f205b1d8e464779a8f3fa9713b75af65 · b46acd6a6a627d876898e1c84d3f84902264b445 to < 38355518dfe45b0bcd52daffc8a7c878cdabf12e · b46acd6a6a627d876898e1c84d3f84902264b445 to < 7112dbc55d46a569df87708cfe0a4295114ec101 · b46acd6a6a627d876898e1c84d3f84902264b445 to < 94cb218a43b1a60c2e51ee3e26d10ab64f3f6ae3 · b46acd6a6a627d876898e1c84d3f84902264b445 to < 241fed9fa149e538546116e22d88420bac606291 · b46acd6a6a627d876898e1c84d3f84902264b445 to < 77edec56cd5c9e8bcb105a43a953e3fca091f119 · b46acd6a6a627d876898e1c84d3f84902264b445 to < f517cae6333121783043d9ba5142b50f5d1cf75b · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux5.15 (affected) · 0 to < 5.15 (unaffected · semver) · 5.15.226 through 5.15.* (unaffected · semver) · 6.1.193 through 6.1.* (unaffected · semver) · 6.6.163 through 6.6.* (unaffected · semver) · 6.12.117 through 6.12.* (unaffected · semver) · 6.18.63 through 6.18.* (unaffected · semver) · 7.3.4 through 7.3.* (unaffected · semver) · 7.4-rc1 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
Description
In the Linux kernel, the following vulnerability has been resolved: ntfs3: fix mapping pairs bounds check for alignment In the UpdateMappingPairs action, the expansion check compares the unaligned new attribute size with the available record space. The new size is aligned to an 8-byte boundary before the mapping pairs are updated, so the check can underestimate the required space by up to seven bytes. Use the aligned size in the expansion check to ensure that the subsequent update cannot exceed the available record space.
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:N/UI:R/S:U/C:H/I:H/A:H
- Scenarios
- en: AV:L - The malformed input is a crafted NTFS volume: an MFT record with an unaligned rec->used plus a $LogFile UpdateMappingPairs record. It is parsed by log_replay()->do_action() from ntfs_fill_super()->ntfs_loadlog_and_replay() at mount time. The bytes come from local or removable media, not from a network protocol. AC:L - The attacker crafts every input: restart area, open-attribute and dirty-page tables, rec->used = record_size-1, and aoff+dlen = asize+1. check_file_record() never checks that used or asize is 8-aligned, so the unaligned bound passes and the 7-byte overrun happens deterministically on a default read-write mount. PR:N - The attacker only has to supply the image, and no credential is checked on the image contents. ntfs_fs_type has no FS_USERNS_MOUNT, so the attacker cannot mount it themselves. The mount is counted as the victim's action under UI:R rather than as a privilege the attacker holds. UI:R - A victim or automounter must mount the attacker-supplied NTFS image read-write. The redo pass in log_replay() is skipped when is_ro is set, so a read-only mount does not trigger it. S:U - The overflow corrupts kernel slab memory in the same kernel that parses the volume. No VM, IOMMU or sandbox boundary is crossed. C:H - The memmove of the record tail writes up to 7 attacker-chosen bytes into the start of the next kmalloc-512/1k/2k/4k object. record_size is an exact power-of-2 fit with no slack, and the attacker picks the cache. Corrupting a pointer or length in that neighbour can be turned into a kernel memory read. I:H - This is a heap out-of-bounds write in do_action() UpdateMappingPairs, past mi->mrec, and the attacker controls the bytes through the on-disk record tail and USA fixups. Each crafted MFT record can trigger it once, which is enough for a partial pointer overwrite of the adjacent object. A:H - Corrupting the head of the adjacent slab object, together with the out-of-range rec->used = record_size+7 written back, causes oopses, slab corruption or panics during mount.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | b46acd6a6a627d876898e1c84d3f84902264b445 to < 35369a36f205b1d8e464779a8f3fa9713b75af65 (affected · git)b46acd6a6a627d876898e1c84d3f84902264b445 to < 38355518dfe45b0bcd52daffc8a7c878cdabf12e (affected · git)b46acd6a6a627d876898e1c84d3f84902264b445 to < 7112dbc55d46a569df87708cfe0a4295114ec101 (affected · git)b46acd6a6a627d876898e1c84d3f84902264b445 to < 94cb218a43b1a60c2e51ee3e26d10ab64f3f6ae3 (affected · git)b46acd6a6a627d876898e1c84d3f84902264b445 to < 241fed9fa149e538546116e22d88420bac606291 (affected · git)b46acd6a6a627d876898e1c84d3f84902264b445 to < 77edec56cd5c9e8bcb105a43a953e3fca091f119 (affected · git)b46acd6a6a627d876898e1c84d3f84902264b445 to < f517cae6333121783043d9ba5142b50f5d1cf75b (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 5.15 (affected)0 to < 5.15 (unaffected · semver)5.15.226 through 5.15.* (unaffected · semver)6.1.193 through 6.1.* (unaffected · semver)6.6.163 through 6.6.* (unaffected · semver)6.12.117 through 6.12.* (unaffected · semver)6.18.63 through 6.18.* (unaffected · semver)7.3.4 through 7.3.* (unaffected · semver)7.4-rc1 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
7- https://git.kernel.org/stable/c/241fed9fa149e538546116e22d88420bac606291
- https://git.kernel.org/stable/c/35369a36f205b1d8e464779a8f3fa9713b75af65
- https://git.kernel.org/stable/c/38355518dfe45b0bcd52daffc8a7c878cdabf12e
- https://git.kernel.org/stable/c/7112dbc55d46a569df87708cfe0a4295114ec101
- https://git.kernel.org/stable/c/77edec56cd5c9e8bcb105a43a953e3fca091f119
- https://git.kernel.org/stable/c/94cb218a43b1a60c2e51ee3e26d10ab64f3f6ae3
- https://git.kernel.org/stable/c/f517cae6333121783043d9ba5142b50f5d1cf75b
Provider assertions
1Linux · cna
ntfs3: fix mapping pairs bounds check for alignment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- a5b7d1849929affe2dfe28f900ec333026ec575684bf2c5934471f7536541260
- Ingested
- 01 Dec 2026, 05:47:23 UTC
- Source record
- Official CVE record