hpfs: filesystem error: warning: spare dnodes used, try chkdsk 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+0x67/0xb0 lib/string.c:400 Read of size 1 at addr ffff88804d499002 by task syz.0.177/5228 CPU: 1 PID: 5228 Comm: syz.0.177 Not tainted syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/24/2026 Call Trace: dump_stack_lvl+0x188/0x250 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+0x67/0xb0 lib/string.c:400 hpfs_get_ea+0x132/0xdd0 fs/hpfs/ea.c:139 hpfs_read_inode+0x1a3/0x1050 fs/hpfs/inode.c:63 hpfs_fill_super+0x135a/0x1fd0 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+0x2e3/0x3d0 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:0x7efcb5bc920a Code: 48 c7 c2 e8 ff ff ff f7 d8 64 89 02 b8 ff ff ff ff c3 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 e8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007efcb3e22e58 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 00007efcb3e22ee0 RCX: 00007efcb5bc920a RDX: 000020000000a000 RSI: 0000200000000000 RDI: 00007efcb3e22ea0 RBP: 000020000000a000 R08: 00007efcb3e22ee0 R09: 0000000003200041 R10: 0000000003200041 R11: 0000000000000246 R12: 0000200000000000 R13: 00007efcb3e22ea0 R14: 0000000000009e18 R15: 0000200000000080 The buggy address belongs to the page: page:ffffea0001352640 refcount:1 mapcount:0 mapping:ffff88805b5cda60 index:0x2f5 pfn:0x4d499 memcg:ffff88802b000000 aops:shmem_aops ino:93 dentry name:"file1" flags: 0xfff0000008001e(referenced|uptodate|dirty|lru|swapbacked|node=0|zone=1|lastcpupid=0x7ff) raw: 00fff0000008001e ffffea0001c8bc48 ffffea0001559248 ffff88805b5cda60 raw: 00000000000002f5 0000000000000000 00000001ffffffff ffff88802b000000 page dumped because: kasan: bad access detected page_owner tracks the page as allocated page last allocated via order 0, migratetype Movable, gfp_mask 0x1100cca(GFP_HIGHUSER_MOVABLE), pid 5232, ts 118964324299, free_ts 117705787133 prep_new_page mm/page_alloc.c:2426 [inline] get_page_from_freelist+0x1bbd/0x1ca0 mm/page_alloc.c:4192 __alloc_pages+0x1ee/0x480 mm/page_alloc.c:5487 alloc_pages_vma+0x393/0x7c0 mm/mempolicy.c:2146 shmem_alloc_page mm/shmem.c:1586 [inline] shmem_alloc_and_acct_page+0x47f/0xbe0 mm/shmem.c:1611 shmem_getpage_gfp+0x14f4/0x2d40 mm/shmem.c:1906 shmem_getpage mm/shmem.c:151 [inline] shmem_file_read_iter+0x210/0xa80 mm/shmem.c:2563 do_iter_readv_writev+0x47e/0x5f0 fs/read_write.c:-1 do_iter_read+0x20b/0x7c0 fs/read_write.c:790 ovl_read_iter+0x480/0x8c0 fs/overlayfs/file.c:314 __kernel_read+0x517/0x960 fs/read_write.c:443 integrity_kernel_read+0x86/0xd0 security/integrity/iint.c:228 ima_calc_file_hash_tfm security/integrity/ima/ima_crypto.c:485 [inline] ima_calc_file_shash security/integrity/ima/ima_crypto.c:516 [inline] ima_calc_file_hash+0x931/0x1920 security/integrity/ima/ima_crypto.c:573 ima_collect_measurement+0x337/0x7c0 security/integrity/ima/ima_api.c:255 process_measurement+0x113a/0x1ba0 security/integrity/ima/ima_main.c:351 ima_file_mmap+0x105/0x150 security/integrity/ima/ima_main.c:429 vm_mmap_pgoff+0x12e/0x2d0 mm/util.c:547 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+0x119/0x820 mm/page_alloc.c:3433 release_pages+0x186c/0x1be0 mm/swap.c:963 __pagevec_release+0x6d/0xe0 mm/swap.c:983 pagevec_release include/linux/pagevec.h:81 [inline] shmem_undo_range+0x62b/0x1930 mm/shmem.c:964 shmem_truncate_range mm/shmem.c:1063 [inline] shmem_evict_inode+0x220/0xa40 mm/shmem.c:1145 evict+0x4c9/0x8d0 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+0x626/0x20c0 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+0xe7/0x12c0 arch/x86/kernel/signal.c:867 Memory state around the buggy address: ffff88804d498f00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ffff88804d498f80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >ffff88804d499000: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ^ ffff88804d499080: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ffff88804d499100: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ==================================================================