================================================================== BUG: KASAN: use-after-free in memcmp lib/string.c:681 [inline] BUG: KASAN: use-after-free in bcmp+0x110/0x1c8 lib/string.c:713 Read of size 8 at addr ffff0001249e0002 by task syz-executor.5/7061 CPU: 1 PID: 7061 Comm: syz-executor.5 Not tainted 6.6.0-rc3-syzkaller-g2e530aeb342b #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/04/2023 Call trace: dump_backtrace+0x1b8/0x1e4 arch/arm64/kernel/stacktrace.c:233 show_stack+0x2c/0x44 arch/arm64/kernel/stacktrace.c:240 __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0xd0/0x124 lib/dump_stack.c:106 print_address_description mm/kasan/report.c:364 [inline] print_report+0x174/0x514 mm/kasan/report.c:475 kasan_report+0xd8/0x138 mm/kasan/report.c:588 __asan_report_load_n_noabort+0x1c/0x28 mm/kasan/report_generic.c:391 memcmp lib/string.c:681 [inline] bcmp+0x110/0x1c8 lib/string.c:713 ntfs_init_from_boot fs/ntfs3/super.c:858 [inline] ntfs_fill_super+0x7a0/0x3ed4 fs/ntfs3/super.c:1139 get_tree_bdev+0x33c/0x4a8 fs/super.c:1577 ntfs_fs_get_tree+0x28/0x38 fs/ntfs3/super.c:1637 vfs_get_tree+0x90/0x288 fs/super.c:1750 do_new_mount+0x25c/0x8c8 fs/namespace.c:3335 path_mount+0x590/0xe04 fs/namespace.c:3662 do_mount fs/namespace.c:3675 [inline] __do_sys_mount fs/namespace.c:3884 [inline] __se_sys_mount fs/namespace.c:3861 [inline] __arm64_sys_mount+0x45c/0x594 fs/namespace.c:3861 __invoke_syscall arch/arm64/kernel/syscall.c:37 [inline] invoke_syscall+0x98/0x2b8 arch/arm64/kernel/syscall.c:51 el0_svc_common+0x130/0x23c arch/arm64/kernel/syscall.c:136 do_el0_svc+0x48/0x58 arch/arm64/kernel/syscall.c:155 el0_svc+0x58/0x16c arch/arm64/kernel/entry-common.c:678 el0t_64_sync_handler+0x84/0xfc arch/arm64/kernel/entry-common.c:696 el0t_64_sync+0x190/0x194 arch/arm64/kernel/entry.S:595 The buggy address belongs to the physical page: page:00000000ae837498 refcount:0 mapcount:-128 mapping:0000000000000000 index:0x1 pfn:0x1649e0 flags: 0x5ffc00000000000(node=0|zone=2|lastcpupid=0x7ff) page_type: 0xffffff7f(buddy) raw: 05ffc00000000000 fffffc00049c8008 fffffc00049dc008 0000000000000000 raw: 0000000000000001 0000000000000005 00000000ffffff7f 0000000000000000 page dumped because: kasan: bad access detected Memory state around the buggy address: ffff0001249dff00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ffff0001249dff80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >ffff0001249e0000: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ^ ffff0001249e0080: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ffff0001249e0100: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ================================================================== ntfs3: loop5: Alternative boot signature is not NTFS.