hpfs: You really don't want any checks? You are crazy... hpfs: hpfs_map_sector(): read error hpfs: code page support is disabled ================================================================== BUG: KASAN: use-after-free in strcmp+0xbc/0xf0 lib/string.c:361 Read of size 1 at addr ffff000102f088a6 by task syz.4.2339/9354 CPU: 1 PID: 9354 Comm: syz.4.2339 Not tainted syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/03/2025 Call trace: dump_backtrace+0x1c0/0x1ec arch/arm64/kernel/stacktrace.c:158 show_stack+0x2c/0x3c arch/arm64/kernel/stacktrace.c:165 __dump_stack+0x30/0x40 lib/dump_stack.c:88 dump_stack_lvl+0xf4/0x15c lib/dump_stack.c:106 print_address_description+0x88/0x218 mm/kasan/report.c:316 print_report+0x50/0x68 mm/kasan/report.c:420 kasan_report+0xa8/0xfc mm/kasan/report.c:524 __asan_report_load1_noabort+0x2c/0x38 mm/kasan/report_generic.c:348 strcmp+0xbc/0xf0 lib/string.c:361 hpfs_get_ea+0xfc/0xa2c fs/hpfs/ea.c:139 hpfs_read_inode+0x168/0xce8 fs/hpfs/inode.c:63 hpfs_fill_super+0xe98/0x1850 fs/hpfs/super.c:712 mount_bdev+0x264/0x358 fs/super.c:1443 hpfs_mount+0x44/0x58 fs/hpfs/super.c:758 legacy_get_tree+0xd4/0x16c fs/fs_context.c:632 vfs_get_tree+0x90/0x274 fs/super.c:1573 do_new_mount+0x228/0x810 fs/namespace.c:3078 path_mount+0x5bc/0xe80 fs/namespace.c:3408 do_mount fs/namespace.c:3421 [inline] __do_sys_mount fs/namespace.c:3629 [inline] __se_sys_mount fs/namespace.c:3606 [inline] __arm64_sys_mount+0x49c/0x59c fs/namespace.c:3606 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline] invoke_syscall+0x98/0x2b4 arch/arm64/kernel/syscall.c:52 el0_svc_common+0x138/0x258 arch/arm64/kernel/syscall.c:140 do_el0_svc+0x58/0x130 arch/arm64/kernel/syscall.c:204 el0_svc+0x58/0x128 arch/arm64/kernel/entry-common.c:637 el0t_64_sync_handler+0x84/0xf0 arch/arm64/kernel/entry-common.c:655 el0t_64_sync+0x18c/0x190 arch/arm64/kernel/entry.S:585 The buggy address belongs to the physical page: page:000000001b7c9d16 refcount:1 mapcount:0 mapping:00000000e5206775 index:0xa58 pfn:0x142f08 memcg:ffff0000dbf28000 aops:shmem_aops ino:ca dentry name(?):"memfd:syzkaller" flags: 0x5ffd8000008001e(referenced|uptodate|dirty|lru|swapbacked|node=0|zone=2|lastcpupid=0x7ff) raw: 05ffd8000008001e fffffc00039e9fc8 fffffc00040bc248 ffff0000c3940368 raw: 0000000000000a58 0000000000000000 00000001ffffffff ffff0000dbf28000 page dumped because: kasan: bad access detected Memory state around the buggy address: ffff000102f08780: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ffff000102f08800: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >ffff000102f08880: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ^ ffff000102f08900: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ffff000102f08980: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ================================================================== hpfs: hpfs_map_sector(): read error hpfs: hpfs_map_sector(): read error hpfs: hpfs_map_sector(): read error hpfs: hpfs_map_sector(): read error hpfs: hpfs_map_4sectors(): unaligned read hpfs: hpfs_map_4sectors(): unaligned read hpfs: filesystem error: unable to find root dir