CVE-2026-99813
publishedfs/ntfs3: check INDEX_ROOT resident size before use in ntfs_read_mft()
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linux82cae269cfa953032fbb8980a7d554d60fb00b17 to < a25ff2c3469e2f5774ccf03785b8f98b57fda74f · 82cae269cfa953032fbb8980a7d554d60fb00b17 to < 92dfb05d7e947110e8baa0f5ca2125f6faea2122 · 82cae269cfa953032fbb8980a7d554d60fb00b17 to < aa9e9261daec2e46c100b6df2be4892de5aee4c9 · 82cae269cfa953032fbb8980a7d554d60fb00b17 to < bc6ba85987b809855f6997b9a8d2bef91fd5c54c · 82cae269cfa953032fbb8980a7d554d60fb00b17 to < 47d638327828256774494a707f8da390ce218043 · 82cae269cfa953032fbb8980a7d554d60fb00b17 to < 1366a00d35950a7f73d9e6a6d9a3c01c0d391f84 · 82cae269cfa953032fbb8980a7d554d60fb00b17 to < d0ac69ce3af4dbae01d4f064b7482f0c5440dbde · 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.119 through 6.12.* (unaffected · semver) · 6.18.65 through 6.18.* (unaffected · semver) · 7.3.6 through 7.3.* (unaffected · semver) · 7.4-rc1 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Pending Fix; Not Affected | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Pending Fix | Not stated | Amazon Linux assessment |
Description
In the Linux kernel, the following vulnerability has been resolved: fs/ntfs3: check INDEX_ROOT resident size before use in ntfs_read_mft() When ntfs_read_mft() parses an ATTR_ROOT attribute it computes root = Add2Ptr(attr, roff); using the on-disk resident data offset (roff = attr->res.data_off) and then dereferences root->type and root->rule, and later passes root on to indx_init(). Unlike the ATTR_STD and ATTR_NAME cases, which validate that the resident data is large enough (asize >= sizeof(struct X) + roff and rsize >= sizeof(struct X)) before accessing it, the ATTR_ROOT case has no such check. mi_enum_attr() only guarantees data_off + data_size <= attribute size, so a crafted image can set data_off such that root lands at (or past) the end of the MFT record's slab allocation while still passing that check (e.g. data_size == 0). The subsequent read of root->type is then a slab-out-of-bounds read, reported by KASAN when mounting the image: BUG: KASAN: slab-out-of-bounds in ntfs_iget5 (fs/ntfs3/inode.c:283) Read of size 4 at addr ffff88800c06a400 by task exploit/142 Call Trace: ... [KASAN report internals] ntfs_iget5 (fs/ntfs3/inode.c:283 fs/ntfs3/inode.c:542) ntfs_fill_super (fs/ntfs3/super.c:1690) get_tree_bdev_flags (fs/super.c:1634) vfs_get_tree (fs/super.c:1694) fc_mount (fs/namespace.c:1198) path_mount (fs/namespace.c:3765 ...) __x64_sys_mount (fs/namespace.c:4174 ...) do_syscall_64 (arch/x86/entry/syscall_64.c:63) entry_SYSCALL_64_after_hwframe (arch/x86/entry/entry_64.S:121) The buggy address is located 0 bytes to the right of allocated 1024-byte region [ffff88800c06a000, ffff88800c06a400) which belongs to the cache kmalloc-1k of size 1024 Validate the resident data size in the ATTR_ROOT case the same way the neighbouring cases do, so that a truncated or mis-offset INDEX_ROOT is rejected before root is dereferenced.
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.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | 82cae269cfa953032fbb8980a7d554d60fb00b17 to < a25ff2c3469e2f5774ccf03785b8f98b57fda74f (affected · git)82cae269cfa953032fbb8980a7d554d60fb00b17 to < 92dfb05d7e947110e8baa0f5ca2125f6faea2122 (affected · git)82cae269cfa953032fbb8980a7d554d60fb00b17 to < aa9e9261daec2e46c100b6df2be4892de5aee4c9 (affected · git)82cae269cfa953032fbb8980a7d554d60fb00b17 to < bc6ba85987b809855f6997b9a8d2bef91fd5c54c (affected · git)82cae269cfa953032fbb8980a7d554d60fb00b17 to < 47d638327828256774494a707f8da390ce218043 (affected · git)82cae269cfa953032fbb8980a7d554d60fb00b17 to < 1366a00d35950a7f73d9e6a6d9a3c01c0d391f84 (affected · git)82cae269cfa953032fbb8980a7d554d60fb00b17 to < d0ac69ce3af4dbae01d4f064b7482f0c5440dbde (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.119 through 6.12.* (unaffected · semver)6.18.65 through 6.18.* (unaffected · semver)7.3.6 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/1366a00d35950a7f73d9e6a6d9a3c01c0d391f84
- https://git.kernel.org/stable/c/47d638327828256774494a707f8da390ce218043
- https://git.kernel.org/stable/c/92dfb05d7e947110e8baa0f5ca2125f6faea2122
- https://git.kernel.org/stable/c/a25ff2c3469e2f5774ccf03785b8f98b57fda74f
- https://git.kernel.org/stable/c/aa9e9261daec2e46c100b6df2be4892de5aee4c9
- https://git.kernel.org/stable/c/bc6ba85987b809855f6997b9a8d2bef91fd5c54c
- https://git.kernel.org/stable/c/d0ac69ce3af4dbae01d4f064b7482f0c5440dbde
Provider assertions
1Linux · cna
fs/ntfs3: check INDEX_ROOT resident size before use in ntfs_read_mft()
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 8ca6649dd0b76b8daa077e1d80e15d55cee7e0b4d09e41708d2a794fa63e83d5
- Ingested
- 30 Nov 2026, 07:56:58 UTC
- Source record
- Official CVE record