hpfs: hpfs_map_sector(): read error hpfs: code page support is disabled hpfs: hpfs_map_sector(): read error ================================================================== BUG: KASAN: out-of-bounds in strcmp+0xa7/0xb0 lib/string.c:283 Read of size 1 at addr ffff88806c1868a6 by task syz.1.50/6152 CPU: 0 UID: 0 PID: 6152 Comm: syz.1.50 Not tainted syzkaller #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/18/2025 Call Trace: __dump_stack lib/dump_stack.c:94 [inline] dump_stack_lvl+0x116/0x1f0 lib/dump_stack.c:120 print_address_description mm/kasan/report.c:378 [inline] print_report+0xcd/0x630 mm/kasan/report.c:482 kasan_report+0xe0/0x110 mm/kasan/report.c:595 strcmp+0xa7/0xb0 lib/string.c:283 hpfs_get_ea+0x1f9/0xc90 fs/hpfs/ea.c:139 hpfs_read_inode+0x711/0x1270 fs/hpfs/inode.c:70 hpfs_fill_super+0x13e9/0x2230 fs/hpfs/super.c:654 get_tree_bdev_flags+0x38c/0x620 fs/super.c:1692 vfs_get_tree+0x8e/0x340 fs/super.c:1815 do_new_mount fs/namespace.c:3808 [inline] path_mount+0x1513/0x2000 fs/namespace.c:4123 do_mount fs/namespace.c:4136 [inline] __do_sys_mount fs/namespace.c:4347 [inline] __se_sys_mount fs/namespace.c:4324 [inline] __x64_sys_mount+0x28d/0x310 fs/namespace.c:4324 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xcd/0x4e0 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fd2e1b9066a Code: d8 64 89 02 48 c7 c0 ff ff ff ff eb a6 e8 de 1a 00 00 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 49 89 ca b8 a5 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 a8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fd2e2af8e68 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 00007fd2e2af8ef0 RCX: 00007fd2e1b9066a RDX: 000020000000a000 RSI: 0000200000000000 RDI: 00007fd2e2af8eb0 RBP: 000020000000a000 R08: 00007fd2e2af8ef0 R09: 0000000003200041 R10: 0000000003200041 R11: 0000000000000246 R12: 0000200000000000 R13: 00007fd2e2af8eb0 R14: 0000000000009e15 R15: 0000200000000040 The buggy address belongs to the physical page: page: refcount:1 mapcount:1 mapping:0000000000000000 index:0x7fc08ae6a pfn:0x6c186 memcg:ffff88801caf8000 anon flags: 0xfff60000020828(uptodate|lru|owner_2|swapbacked|node=0|zone=1|lastcpupid=0x7ff) raw: 00fff60000020828 ffffea0001b06408 ffffea0001b064c8 ffff888028c5aaa1 raw: 00000007fc08ae6a 0000000000000000 0000000100000000 ffff88801caf8000 page dumped because: kasan: bad access detected page_owner tracks the page as allocated page last allocated via order 0, migratetype Movable, gfp_mask 0x140dca(GFP_HIGHUSER_MOVABLE|__GFP_ZERO|__GFP_COMP), pid 6153, tgid 6153 (udevd), ts 135881820580, free_ts 135873225430 set_page_owner include/linux/page_owner.h:32 [inline] post_alloc_hook+0x1c0/0x230 mm/page_alloc.c:1851 prep_new_page mm/page_alloc.c:1859 [inline] get_page_from_freelist+0x132b/0x38e0 mm/page_alloc.c:3858 __alloc_frozen_pages_noprof+0x261/0x23f0 mm/page_alloc.c:5148 alloc_pages_mpol+0x1fb/0x550 mm/mempolicy.c:2416 folio_alloc_mpol_noprof+0x36/0x2f0 mm/mempolicy.c:2435 vma_alloc_folio_noprof+0xed/0x1e0 mm/mempolicy.c:2470 folio_prealloc mm/memory.c:1061 [inline] alloc_anon_folio mm/memory.c:4997 [inline] do_anonymous_page mm/memory.c:5054 [inline] do_pte_missing+0x2230/0x3ba0 mm/memory.c:4232 handle_pte_fault mm/memory.c:6052 [inline] __handle_mm_fault+0x152a/0x2a50 mm/memory.c:6195 handle_mm_fault+0x589/0xd10 mm/memory.c:6364 do_user_addr_fault+0x7a6/0x1370 arch/x86/mm/fault.c:1387 handle_page_fault arch/x86/mm/fault.c:1476 [inline] exc_page_fault+0x5c/0xb0 arch/x86/mm/fault.c:1532 asm_exc_page_fault+0x26/0x30 arch/x86/include/asm/idtentry.h:623 page last free pid 6154 tgid 6154 stack trace: reset_page_owner include/linux/page_owner.h:25 [inline] free_pages_prepare mm/page_alloc.c:1395 [inline] free_unref_folios+0xa61/0x16b0 mm/page_alloc.c:2952 folios_put_refs+0x56f/0x740 mm/swap.c:999 free_pages_and_swap_cache+0x3f0/0x4a0 mm/swap_state.c:267 __tlb_batch_free_encoded_pages+0xf9/0x290 mm/mmu_gather.c:136 tlb_batch_pages_flush mm/mmu_gather.c:149 [inline] tlb_flush_mmu_free mm/mmu_gather.c:397 [inline] tlb_flush_mmu mm/mmu_gather.c:404 [inline] tlb_finish_mmu+0x168/0x7c0 mm/mmu_gather.c:497 exit_mmap+0x403/0xb90 mm/mmap.c:1293 __mmput+0x12a/0x410 kernel/fork.c:1129 mmput+0x62/0x70 kernel/fork.c:1152 exit_mm kernel/exit.c:582 [inline] do_exit+0x7c7/0x2bf0 kernel/exit.c:949 do_group_exit+0xd3/0x2a0 kernel/exit.c:1102 __do_sys_exit_group kernel/exit.c:1113 [inline] __se_sys_exit_group kernel/exit.c:1111 [inline] __x64_sys_exit_group+0x3e/0x50 kernel/exit.c:1111 x64_sys_call+0x14fa/0x1720 arch/x86/include/generated/asm/syscalls_64.h:232 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xcd/0x4e0 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f Memory state around the buggy address: ffff88806c186780: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ffff88806c186800: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >ffff88806c186880: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ^ ffff88806c186900: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ffff88806c186980: 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_4sectors(): unaligned read hpfs: hpfs_map_4sectors(): unaligned read hpfs: filesystem error: unable to find root dir hpfs: hpfs_map_4sectors(): unaligned read hpfs: hpfs_map_sector(): read error hpfs: hpfs_map_4sectors(): unaligned read hpfs: hpfs_map_sector(): read error