{"id":28685,"date":"2026-09-25T04:31:35","date_gmt":"2026-09-24T20:31:35","guid":{"rendered":"https:\/\/www.54iter.cn\/?vuln=cve-2026-97438"},"modified":"2026-09-25T04:31:35","modified_gmt":"2026-09-24T20:31:35","slug":"cve-2026-97438","status":"publish","type":"vuln","link":"https:\/\/www.54iter.cn\/?vuln=cve-2026-97438","title":{"rendered":"CVE-2026-97438 &#8211; In the Linux kernel, the following vulnerability has been resolved:\n\nfs\/ntfs3: validate in"},"content":{"rendered":"<p>In the Linux kernel, the following vulnerability has been resolved:<\/p>\n<p>fs\/ntfs3: validate index entry key bounds<\/p>\n<p>[BUG]<br \/>\nA malformed NTFS directory index entry can advertise a key_size larger<br \/>\nthan the bytes actually present in its NTFS_DE payload. Directory lookup<br \/>\nthen passes that malformed key to cmp_fnames(), which can read past the<br \/>\nend of the kmalloc&#8217;ed index buffer.<\/p>\n<p>BUG: KASAN: slab-out-of-bounds in fname_full_size fs\/ntfs3\/ntfs.h:590 [inline]<br \/>\nBUG: KASAN: slab-out-of-bounds in cmp_fnames+0x1ea\/0x230 fs\/ntfs3\/index.c:46<br \/>\nRead of size 1 at addr ffff88801c313018 by task syz.6.3365\/9279<\/p>\n<p>Call Trace:<br \/>\n __dump_stack lib\/dump_stack.c:94 [inline]<br \/>\n dump_stack_lvl+0xbe\/0x130 lib\/dump_stack.c:120<br \/>\n print_address_description mm\/kasan\/report.c:378 [inline]<br \/>\n print_report+0xd1\/0x650 mm\/kasan\/report.c:482<br \/>\n kasan_report+0xfb\/0x140 mm\/kasan\/report.c:595<br \/>\n __asan_report_load1_noabort+0x14\/0x30 mm\/kasan\/report_generic.c:378<br \/>\n fname_full_size fs\/ntfs3\/ntfs.h:590 [inline]<br \/>\n cmp_fnames+0x1ea\/0x230 fs\/ntfs3\/index.c:46<br \/>\n hdr_find_e.isra.0+0x3ed\/0x670 fs\/ntfs3\/index.c:762<br \/>\n indx_find+0x4b5\/0x900 fs\/ntfs3\/index.c:1186<br \/>\n dir_search_u+0x2c0\/0x460 fs\/ntfs3\/dir.c:254<br \/>\n ntfs_lookup+0x1cc\/0x2a0 fs\/ntfs3\/namei.c:85<br \/>\n __lookup_slow+0x241\/0x450 fs\/namei.c:1816<br \/>\n lookup_slow fs\/namei.c:1833 [inline]<br \/>\n walk_component+0x31c\/0x570 fs\/namei.c:2151<br \/>\n link_path_walk+0x592\/0xd60 fs\/namei.c:2519<br \/>\n path_lookupat+0x138\/0x660 fs\/namei.c:2675<br \/>\n filename_lookup+0x1f3\/0x560 fs\/namei.c:2705<br \/>\n filename_setxattr+0xad\/0x1c0 fs\/xattr.c:660<br \/>\n path_setxattrat+0x1d8\/0x280 fs\/xattr.c:713<br \/>\n __do_sys_lsetxattr fs\/xattr.c:754 [inline]<br \/>\n __se_sys_lsetxattr fs\/xattr.c:750 [inline]<br \/>\n __x64_sys_lsetxattr+0xd0\/0x150 fs\/xattr.c:750<br \/>\n &#8230;<\/p>\n<p>Allocated by task 9279:<br \/>\n kasan_save_stack+0x39\/0x70 mm\/kasan\/common.c:56<br \/>\n kasan_save_track+0x14\/0x40 mm\/kasan\/common.c:77<br \/>\n kasan_save_alloc_info+0x37\/0x60 mm\/kasan\/generic.c:573<br \/>\n poison_kmalloc_redzone mm\/kasan\/common.c:400 [inline]<br \/>\n __kasan_kmalloc+0xc3\/0xd0 mm\/kasan\/common.c:417<br \/>\n kasan_kmalloc include\/linux\/kasan.h:262 [inline]<br \/>\n __do_kmalloc_node mm\/slub.c:5650 [inline]<br \/>\n __kmalloc_noprof+0x2bd\/0x900 mm\/slub.c:5662<br \/>\n kmalloc_noprof include\/linux\/slab.h:961 [inline]<br \/>\n indx_read+0x41d\/0xad0 fs\/ntfs3\/index.c:1059<br \/>\n indx_find+0x447\/0x900 fs\/ntfs3\/index.c:1179<br \/>\n dir_search_u+0x2c0\/0x460 fs\/ntfs3\/dir.c:254<br \/>\n ntfs_lookup+0x1cc\/0x2a0 fs\/ntfs3\/namei.c:85<br \/>\n __lookup_slow+0x241\/0x450 fs\/namei.c:1816<br \/>\n lookup_slow fs\/namei.c:1833 [inline]<br \/>\n walk_component+0x31c\/0x570 fs\/namei.c:2151<br \/>\n link_path_walk+0x592\/0xd60 fs\/namei.c:2519<br \/>\n path_lookupat+0x138\/0x660 fs\/namei.c:2675<br \/>\n filename_lookup+0x1f3\/0x560 fs\/namei.c:2705<br \/>\n filename_setxattr+0xad\/0x1c0 fs\/xattr.c:660<br \/>\n path_setxattrat+0x1d8\/0x280 fs\/xattr.c:713<br \/>\n __do_sys_lsetxattr fs\/xattr.c:754 [inline]<br \/>\n __se_sys_lsetxattr fs\/xattr.c:750 [inline]<br \/>\n __x64_sys_lsetxattr+0xd0\/0x150 fs\/xattr.c:750<br \/>\n &#8230;<\/p>\n<p>[CAUSE]<br \/>\nThe index-header validators only validated INDEX_HDR-level geometry.<br \/>\nThey did not walk each NTFS_DE to verify entry alignment, subnode<br \/>\nlayout, or that key_size fit inside the entry payload. They also<br \/>\nallowed a last sentinel entry to carry a non-zero key_size.<\/p>\n<p>[FIX]<br \/>\nWalk every NTFS_DE in ntfs3&#8217;s index-header validators and reject<br \/>\nentries with invalid layout, mismatched subnode state, oversized<br \/>\nkey_size, or non-zero sentinel keys before lookup or log replay can<br \/>\nconsume them.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In the Linux kernel, the following vulnerability has been resolved:<\/p>\n<p>fs\/ntfs3: validate index entry key bounds<\/p>\n<p>[BUG]<br \/>\nA malformed NTFS directory index entry can advertise a key_size larger<br \/>\nthan the by<\/p>\n","protected":false},"template":"","meta":[],"categories":[],"tags":[],"class_list":["post-28685","vuln","type-vuln","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=\/wp\/v2\/vuln\/28685","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=\/wp\/v2\/vuln"}],"about":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=\/wp\/v2\/types\/vuln"}],"wp:attachment":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=28685"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=28685"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=28685"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}