hpfs: filesystem error: improperly stopped hpfs: filesystem error: warning: spare dnodes used, try chkdsk hpfs: Proceeding, but your filesystem could be corrupted if you delete files or directories 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+0x6b/0xb0 lib/string.c:400 Read of size 1 at addr ffff8880584fa001 by task syz.6.668/7817 CPU: 0 PID: 7817 Comm: syz.6.668 Not tainted syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/02/2025 Call Trace: dump_stack_lvl+0x168/0x230 lib/dump_stack.c:106 print_address_description+0x60/0x2d0 mm/kasan/report.c:248 __kasan_report mm/kasan/report.c:434 [inline] kasan_report+0xdf/0x130 mm/kasan/report.c:451 strcmp+0x6b/0xb0 lib/string.c:400 hpfs_get_ea+0x111/0xc80 fs/hpfs/ea.c:139 hpfs_read_inode+0x19a/0x1000 fs/hpfs/inode.c:63 hpfs_fill_super+0x12d1/0x1eb0 fs/hpfs/super.c:712 mount_bdev+0x287/0x3c0 fs/super.c:1400 legacy_get_tree+0xe6/0x180 fs/fs_context.c:611 vfs_get_tree+0x88/0x270 fs/super.c:1530 do_new_mount+0x24a/0xa40 fs/namespace.c:3034 do_mount fs/namespace.c:3377 [inline] __do_sys_mount fs/namespace.c:3585 [inline] __se_sys_mount+0x2d6/0x3c0 fs/namespace.c:3562 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x66/0xd0 RIP: 0033:0x7fc8b3ee176a 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:00007fc8b2146e68 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 00007fc8b2146ef0 RCX: 00007fc8b3ee176a RDX: 000020000000a000 RSI: 0000200000000000 RDI: 00007fc8b2146eb0 RBP: 000020000000a000 R08: 00007fc8b2146ef0 R09: 0000000003200041 R10: 0000000003200041 R11: 0000000000000246 R12: 0000200000000000 R13: 00007fc8b2146eb0 R14: 0000000000009e23 R15: 0000200000000040 The buggy address belongs to the page: page:ffffea0001613e80 refcount:2 mapcount:1 mapping:ffff88807560de80 index:0x3dc pfn:0x584fa memcg:ffff88807782c000 aops:ext4_da_aops ino:7ec dentry name:"syz.IcmHaN" flags: 0xfff00000000014(uptodate|lru|node=0|zone=1|lastcpupid=0x7ff) raw: 00fff00000000014 ffffea00014767c8 ffffea0001613ec8 ffff88807560de80 raw: 00000000000003dc 0000000000000000 0000000200000000 ffff88807782c000 page dumped because: kasan: bad access detected page_owner tracks the page as allocated page last allocated via order 0, migratetype Movable, gfp_mask 0x1112c4a(GFP_NOFS|__GFP_HIGHMEM|__GFP_NOWARN|__GFP_NORETRY|__GFP_HARDWALL|__GFP_MOVABLE|__GFP_SKIP_KASAN_POISON), pid 7701, ts 272339079666, free_ts 269554878161 prep_new_page mm/page_alloc.c:2426 [inline] get_page_from_freelist+0x1b77/0x1c60 mm/page_alloc.c:4192 __alloc_pages+0x1e1/0x470 mm/page_alloc.c:5487 __page_cache_alloc+0xd2/0x3f0 mm/filemap.c:1022 page_cache_ra_unbounded+0x255/0x930 mm/readahead.c:216 page_cache_async_readahead include/linux/pagemap.h:856 [inline] do_async_mmap_readahead mm/filemap.c:3023 [inline] filemap_fault+0x5ff/0x13b0 mm/filemap.c:3079 __do_fault+0x141/0x330 mm/memory.c:3928 do_read_fault mm/memory.c:4264 [inline] do_fault mm/memory.c:4392 [inline] handle_pte_fault mm/memory.c:4650 [inline] __handle_mm_fault mm/memory.c:4785 [inline] handle_mm_fault+0x2946/0x43b0 mm/memory.c:4883 faultin_page mm/gup.c:976 [inline] __get_user_pages+0x93e/0x11c0 mm/gup.c:1197 __get_user_pages_locked mm/gup.c:1382 [inline] get_dump_page+0x188/0x670 mm/gup.c:1838 dump_user_range+0x54/0x340 fs/coredump.c:1013 elf_core_dump+0x2ff7/0x3530 fs/binfmt_elf.c:2285 do_coredump+0x1419/0x2960 fs/coredump.c:894 get_signal+0x40a/0x12c0 kernel/signal.c:2886 arch_do_signal_or_restart+0xc1/0x1300 arch/x86/kernel/signal.c:867 handle_signal_work kernel/entry/common.c:154 [inline] exit_to_user_mode_loop+0x9e/0x130 kernel/entry/common.c:178 exit_to_user_mode_prepare+0xee/0x180 kernel/entry/common.c:214 page last free stack trace: reset_page_owner include/linux/page_owner.h:24 [inline] free_pages_prepare mm/page_alloc.c:1340 [inline] free_pcp_prepare mm/page_alloc.c:1391 [inline] free_unref_page_prepare+0x637/0x6c0 mm/page_alloc.c:3317 free_unref_page_list+0x122/0x7e0 mm/page_alloc.c:3433 release_pages+0x184b/0x1bb0 mm/swap.c:963 __pagevec_release+0x6d/0xe0 mm/swap.c:983 pagevec_release include/linux/pagevec.h:81 [inline] shmem_undo_range+0x5cb/0x1880 mm/shmem.c:964 shmem_truncate_range mm/shmem.c:1063 [inline] shmem_evict_inode+0x20d/0xa00 mm/shmem.c:1145 evict+0x485/0x870 fs/inode.c:647 __dentry_kill+0x431/0x650 fs/dcache.c:586 dentry_kill+0xb8/0x290 fs/dcache.c:-1 dput+0xd8/0x1a0 fs/dcache.c:893 __fput+0x5ee/0x930 fs/file_table.c:319 task_work_run+0x125/0x1a0 kernel/task_work.c:188 exit_task_work include/linux/task_work.h:33 [inline] do_exit+0x61e/0x20a0 kernel/exit.c:883 do_group_exit+0x12e/0x300 kernel/exit.c:997 get_signal+0x6ca/0x12c0 kernel/signal.c:2900 arch_do_signal_or_restart+0xc1/0x1300 arch/x86/kernel/signal.c:867 Memory state around the buggy address: ffff8880584f9f00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ffff8880584f9f80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >ffff8880584fa000: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ^ ffff8880584fa080: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ffff8880584fa100: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ==================================================================