fs/ntfs3: bound NTFS_DE view.data_off in UpdateRecordData{Root,Allocation}

Summary

CVECVE-2026-64532
StatePUBLISHED
AssignerLinux
Source PriorityCVE Program / NVD first with legacy fallback
Published2026-07-27 08:16:22 UTC
Updated2026-07-27 08:16:22 UTC
DescriptionIn 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" (<[email protected]>) which proposes calling ntfs3_bad_de_range(); that helper does not exist in mainline. This patch uses inline checks.

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Linux Linux affected b46acd6a6a627d876898e1c84d3f84902264b445 b20e5a709d8bd190d6e4645606763c7423e694c1 git Not specified
CNA Linux Linux affected b46acd6a6a627d876898e1c84d3f84902264b445 d41b382068ca4e64e421f736cdd700095464b6ac git Not specified
CNA Linux Linux affected b46acd6a6a627d876898e1c84d3f84902264b445 429d653ca641d38a78609b8f62e81a0a5c780a2d git Not specified
CNA Linux Linux affected b46acd6a6a627d876898e1c84d3f84902264b445 315d3a9a48b49f889da3d858a9307e677cb9e1bd git Not specified
CNA Linux Linux affected b46acd6a6a627d876898e1c84d3f84902264b445 be306b8d9143a9c076c804a7ca025d69caf9c448 git Not specified
CNA Linux Linux affected b46acd6a6a627d876898e1c84d3f84902264b445 36feda687afebae24c472202694448738809c411 git Not specified
CNA Linux Linux affected b46acd6a6a627d876898e1c84d3f84902264b445 3e127829e57f5190f612412ece4541cb96d5ec7a git Not specified
CNA Linux Linux affected 5.15 Not specified
CNA Linux Linux unaffected 5.15 semver Not specified
CNA Linux Linux unaffected 5.15.212 5.15.* semver Not specified
CNA Linux Linux unaffected 6.1.178 6.1.* semver Not specified
CNA Linux Linux unaffected 6.6.145 6.6.* semver Not specified
CNA Linux Linux unaffected 6.12.97 6.12.* semver Not specified
CNA Linux Linux unaffected 6.18.40 6.18.* semver Not specified
CNA Linux Linux unaffected 7.1.5 7.1.* semver Not specified
CNA Linux Linux unaffected 7.2-rc1 * original_commit_for_fix Not specified

References

ReferenceSourceLinkTags
git.kernel.org/stable/c/d41b382068ca4e64e421f736cdd700095464b6ac 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/429d653ca641d38a78609b8f62e81a0a5c780a2d 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/b20e5a709d8bd190d6e4645606763c7423e694c1 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/36feda687afebae24c472202694448738809c411 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/315d3a9a48b49f889da3d858a9307e677cb9e1bd 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/be306b8d9143a9c076c804a7ca025d69caf9c448 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/3e127829e57f5190f612412ece4541cb96d5ec7a 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report