{"id":"CVE-2026-64532","summary":"fs/ntfs3: bound NTFS_DE view.data_off in UpdateRecordData{Root,Allocation}","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nfs/ntfs3: bound NTFS_DE view.data_off in UpdateRecordData{Root,Allocation}\n\nIn do_action()'s UpdateRecordDataRoot (fslog.c:3489) and\nUpdateRecordDataAllocation (fslog.c:3697) cases, the memmove\ndestination is `Add2Ptr(e, le16_to_cpu(e-\u003eview.data_off))`,\nwhere e-\u003eview.data_off comes from an on-disk NTFS_DE inside\nan INDEX_ROOT or INDEX_BUFFER.  Neither case validates\nview.data_off + dlen against e-\u003esize; the existing\ncheck_if_index_root / check_if_alloc_index helpers walk the\nentry chain and validate the entry's offset, but not its\ninternal view fields.\n\nThe neighbouring read sites (e.g., fs/ntfs3/index.c when\niterating view entries) check view.data_off + view.data_size\n\u003c= e-\u003esize.  Apply the same bound at the two memmove sites.\n\nReproduced under UML+KASAN on mainline 8d90b09e6741 via\npr_warn-only probe instrumentation: with view.data_off forced\nto 0xFFFC, the memmove writes 32 bytes past the end of the\nNTFS_DE.\n\nThis is similar in shape to Pavitra Jha's 2026-05-02 patch\n\"fs/ntfs3: prevent oob in case UpdateRecordDataRoot\"\n(\u003c20260502105008.21827-1-jhapavitra98@gmail.com\u003e) which\nproposes calling ntfs3_bad_de_range(); that helper does not\nexist in mainline.  This patch uses inline checks.","modified":"2026-07-31T03:49:06.583389650Z","published":"2026-07-27T06:32:33.159Z","database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/64xxx/CVE-2026-64532.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/315d3a9a48b49f889da3d858a9307e677cb9e1bd"},{"type":"WEB","url":"https://git.kernel.org/stable/c/36feda687afebae24c472202694448738809c411"},{"type":"WEB","url":"https://git.kernel.org/stable/c/3e127829e57f5190f612412ece4541cb96d5ec7a"},{"type":"WEB","url":"https://git.kernel.org/stable/c/429d653ca641d38a78609b8f62e81a0a5c780a2d"},{"type":"WEB","url":"https://git.kernel.org/stable/c/b20e5a709d8bd190d6e4645606763c7423e694c1"},{"type":"WEB","url":"https://git.kernel.org/stable/c/be306b8d9143a9c076c804a7ca025d69caf9c448"},{"type":"WEB","url":"https://git.kernel.org/stable/c/d41b382068ca4e64e421f736cdd700095464b6ac"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/64xxx/CVE-2026-64532.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-64532"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"b46acd6a6a627d876898e1c84d3f84902264b445"},{"fixed":"b20e5a709d8bd190d6e4645606763c7423e694c1"},{"fixed":"d41b382068ca4e64e421f736cdd700095464b6ac"},{"fixed":"429d653ca641d38a78609b8f62e81a0a5c780a2d"},{"fixed":"315d3a9a48b49f889da3d858a9307e677cb9e1bd"},{"fixed":"be306b8d9143a9c076c804a7ca025d69caf9c448"},{"fixed":"36feda687afebae24c472202694448738809c411"},{"fixed":"3e127829e57f5190f612412ece4541cb96d5ec7a"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-64532.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"5.15.0"},{"fixed":"5.15.212"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.16.0"},{"fixed":"6.1.178"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.2.0"},{"fixed":"6.6.145"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.7.0"},{"fixed":"6.12.97"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.13.0"},{"fixed":"6.18.40"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.19.0"},{"fixed":"7.1.5"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-64532.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"}]}