Linux
fs/ntfs3: bound NTFS_DE view.data_off in UpdateRecordData{Root,Allocation}
In the Linux kernel, the following vulnerability has been resolved: fs/ntfs3: bound NTFS_DE view.data_off in UpdateRecordData{Root,Allocation} In do_action()'s UpdateRecordDataRoot (fslog.c:3489) and UpdateRecordDataAllocation (fslog.c:3697) cases, the memmove destination is `Add2Ptr(e, le16_to_cpu(e->view.data_off))`, where e->view.data_off comes from an on-disk NTFS_DE inside an INDEX_ROOT or INDEX_BUFFER. Neither case validates view.data_off + dlen against e->size; the existing check_if_index_root / check_if_alloc_index helpers walk the entry chain and validate the entry's offset, but not its internal view fields. The neighbouring read sites (e.g., fs/ntfs3/index.c when iterating view entries) check view.data_off + view.data_size <= e->size. Apply the same bound at the two memmove sites. Reproduced under UML+KASAN on mainline 8d90b09e6741 via pr_warn-only probe instrumentation: with view.data_off forced to 0xFFFC, the memmove writes 32 bytes past the end of the NTFS_DE. This is similar in shape to Pavitra Jha's 2026-05-02 patch "fs/ntfs3: prevent oob in case UpdateRecordDataRoot" (<20260502105008.21827-1-jhapavitra98@gmail.com>) which proposes calling ntfs3_bad_de_range(); that helper does not exist in mainline. This patch uses inline checks.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= b46acd6a6a627d876898e1c84d3f84902264b445, < b20e5a709d8bd190d6e4645606763c7423e694c1
- >= b46acd6a6a627d876898e1c84d3f84902264b445, < d41b382068ca4e64e421f736cdd700095464b6ac
- >= b46acd6a6a627d876898e1c84d3f84902264b445, < 429d653ca641d38a78609b8f62e81a0a5c780a2d
- >= b46acd6a6a627d876898e1c84d3f84902264b445, < 315d3a9a48b49f889da3d858a9307e677cb9e1bd
- >= b46acd6a6a627d876898e1c84d3f84902264b445, < be306b8d9143a9c076c804a7ca025d69caf9c448
- >= b46acd6a6a627d876898e1c84d3f84902264b445, < 36feda687afebae24c472202694448738809c411
- >= b46acd6a6a627d876898e1c84d3f84902264b445, < 3e127829e57f5190f612412ece4541cb96d5ec7a
Fixed in b20e5a709d8bd190d6e4645606763c7423e694c1, d41b382068ca4e64e421f736cdd700095464b6ac, 429d653ca641d38a78609b8f62e81a0a5c780a2d, 315d3a9a48b49f889da3d858a9307e677cb9e1bd, be306b8d9143a9c076c804a7ca025d69caf9c448, 36feda687afebae24c472202694448738809c411, 3e127829e57f5190f612412ece4541cb96d5ec7a
- 5.15
Fixed in 0, 5.15.212, 6.1.178, 6.6.145, 6.12.97, 6.18.40, 7.1.5, 7.2
Mitigation
Upgrade Linux to b20e5a709d8bd190d6e4645606763c7423e694c1 or d41b382068ca4e64e421f736cdd700095464b6ac or 429d653ca641d38a78609b8f62e81a0a5c780a2d or 315d3a9a48b49f889da3d858a9307e677cb9e1bd or be306b8d9143a9c076c804a7ca025d69caf9c448 or 36feda687afebae24c472202694448738809c411 or 3e127829e57f5190f612412ece4541cb96d5ec7a or later.
Upgrade Linux to 0 or 5.15.212 or 6.1.178 or 6.6.145 or 6.12.97 or 6.18.40 or 7.1.5 or 7.2 or later.
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.