================================================================== BUG: KASAN: use-after-free in hdr_find_e+0x255/0x580 fs/ntfs3/index.c:689 Read of size 2 at addr ffff8880b3801ba9 by task syz-executor.3/4990 CPU: 1 PID: 4990 Comm: syz-executor.3 Not tainted 6.0.0-syzkaller-09423-g493ffd6605b2 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/22/2022 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x1b1/0x28e lib/dump_stack.c:106 print_address_description+0x65/0x4b0 mm/kasan/report.c:317 print_report+0x108/0x1f0 mm/kasan/report.c:433 kasan_report+0xc3/0xf0 mm/kasan/report.c:495 hdr_find_e+0x255/0x580 fs/ntfs3/index.c:689 indx_find+0x4ff/0xb20 fs/ntfs3/index.c:1085 dir_search_u+0x161/0x320 fs/ntfs3/dir.c:254 ntfs_lookup+0x112/0x1b0 fs/ntfs3/namei.c:83 __lookup_hash+0x115/0x240 fs/namei.c:1601 do_unlinkat+0x26b/0x940 fs/namei.c:4281 do_coredump+0x20fb/0x2970 fs/coredump.c:667 get_signal+0x1417/0x1770 kernel/signal.c:2844 arch_do_signal_or_restart+0x7b/0x730 arch/x86/kernel/signal.c:869 exit_to_user_mode_loop+0x74/0x150 kernel/entry/common.c:166 exit_to_user_mode_prepare+0xb2/0x140 kernel/entry/common.c:201 __syscall_exit_to_user_mode_work kernel/entry/common.c:283 [inline] syscall_exit_to_user_mode+0x26/0x60 kernel/entry/common.c:294 do_syscall_64+0x49/0xb0 arch/x86/entry/common.c:86 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f979783d707 Code: 08 89 3c 24 48 89 4c 24 18 e8 e5 f8 ff ff 4c 8b 54 24 18 48 8b 54 24 10 41 89 c0 48 8b 74 24 08 8b 3c 24 b8 12 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 31 44 89 c7 48 89 04 24 e8 15 f9 ff ff 48 8b RSP: 002b:00007f9798a41f00 EFLAGS: 00000293 ORIG_RAX: 0000000000000012 RAX: ffffffffffffffe5 RBX: 000000000000010b RCX: 00007f979783d707 RDX: 0000000000000020 RSI: 0000000020011ec0 RDI: 000000000000000b RBP: 000000000000000b R08: 0000000000000000 R09: 0000000000000000 R10: 746174732e757063 R11: 0000000000000293 R12: 000000000000000b R13: 0000000020000530 R14: 0000000000000022 R15: 00007f97978d5a20 The buggy address belongs to the physical page: page:ffffea0002ce0040 refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0xb3801 flags: 0xfff00000000000(node=0|zone=1|lastcpupid=0x7ff) raw: 00fff00000000000 ffffea0002ce0048 ffffea0002ce0048 0000000000000000 raw: 0000000000000000 0000000000000000 00000000ffffffff 0000000000000000 page dumped because: kasan: bad access detected page_owner info is not present (never set?) Memory state around the buggy address: ffff8880b3801a80: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ffff8880b3801b00: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff >ffff8880b3801b80: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ^ ffff8880b3801c00: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ffff8880b3801c80: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ==================================================================