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: slab-out-of-bounds in strcmp+0x6b/0xb0 lib/string.c:400 Read of size 1 at addr ffff888056e7c8a6 by task syz.1.80/4640 CPU: 0 PID: 4640 Comm: syz.1.80 Not tainted syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/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:3025 do_mount fs/namespace.c:3368 [inline] __do_sys_mount fs/namespace.c:3576 [inline] __se_sys_mount+0x2d6/0x3c0 fs/namespace.c:3553 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:0x7f15cf85638a 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:00007f15cdabbe68 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 00007f15cdabbef0 RCX: 00007f15cf85638a RDX: 000020000000a000 RSI: 0000200000009ec0 RDI: 00007f15cdabbeb0 RBP: 000020000000a000 R08: 00007f15cdabbef0 R09: 0000000003a00041 R10: 0000000003a00041 R11: 0000000000000246 R12: 0000200000009ec0 R13: 00007f15cdabbeb0 R14: 0000000000009e22 R15: 0000200000000100 Allocated by task 4629: kasan_save_stack mm/kasan/common.c:38 [inline] kasan_set_track mm/kasan/common.c:46 [inline] set_alloc_info mm/kasan/common.c:434 [inline] ____kasan_kmalloc mm/kasan/common.c:513 [inline] __kasan_kmalloc+0xb5/0xf0 mm/kasan/common.c:522 kmalloc include/linux/slab.h:609 [inline] kzalloc include/linux/slab.h:735 [inline] hash_netnet4_resize+0xbba/0x1b10 net/netfilter/ipset/ip_set_hash_gen.h:712 call_ad+0x41e/0x990 net/netfilter/ipset/ip_set_core.c:1759 ip_set_ad+0x783/0x930 net/netfilter/ipset/ip_set_core.c:1841 nfnetlink_rcv_msg+0xacb/0x1040 net/netfilter/nfnetlink.c:297 netlink_rcv_skb+0x1e0/0x430 net/netlink/af_netlink.c:2507 nfnetlink_rcv+0x26b/0x2160 net/netfilter/nfnetlink.c:654 netlink_unicast_kernel net/netlink/af_netlink.c:1318 [inline] netlink_unicast+0x774/0x920 net/netlink/af_netlink.c:1344 netlink_sendmsg+0x8ab/0xbc0 net/netlink/af_netlink.c:1918 sock_sendmsg_nosec net/socket.c:704 [inline] __sock_sendmsg net/socket.c:716 [inline] ____sys_sendmsg+0x5a2/0x8c0 net/socket.c:2436 ___sys_sendmsg+0x1f0/0x260 net/socket.c:2490 __sys_sendmsg net/socket.c:2519 [inline] __do_sys_sendmsg net/socket.c:2528 [inline] __se_sys_sendmsg+0x190/0x250 net/socket.c:2526 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 Last potentially related work creation: kasan_save_stack+0x35/0x60 mm/kasan/common.c:38 kasan_record_aux_stack+0xb8/0x100 mm/kasan/generic.c:348 kvfree_call_rcu+0x10a/0x7c0 kernel/rcu/tree.c:3600 hash_netnet4_add+0x264a/0x32b0 net/netfilter/ipset/ip_set_hash_gen.h:979 hash_netnet4_uadt+0xabc/0xdc0 net/netfilter/ipset/ip_set_hash_netnet.c:266 call_ad+0x337/0x990 net/netfilter/ipset/ip_set_core.c:1753 ip_set_ad+0x783/0x930 net/netfilter/ipset/ip_set_core.c:1841 nfnetlink_rcv_msg+0xacb/0x1040 net/netfilter/nfnetlink.c:297 netlink_rcv_skb+0x1e0/0x430 net/netlink/af_netlink.c:2507 nfnetlink_rcv+0x26b/0x2160 net/netfilter/nfnetlink.c:654 netlink_unicast_kernel net/netlink/af_netlink.c:1318 [inline] netlink_unicast+0x774/0x920 net/netlink/af_netlink.c:1344 netlink_sendmsg+0x8ab/0xbc0 net/netlink/af_netlink.c:1918 sock_sendmsg_nosec net/socket.c:704 [inline] __sock_sendmsg net/socket.c:716 [inline] ____sys_sendmsg+0x5a2/0x8c0 net/socket.c:2436 ___sys_sendmsg+0x1f0/0x260 net/socket.c:2490 __sys_sendmsg net/socket.c:2519 [inline] __do_sys_sendmsg net/socket.c:2528 [inline] __se_sys_sendmsg+0x190/0x250 net/socket.c:2526 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 The buggy address belongs to the object at ffff888056e7c800 which belongs to the cache kmalloc-128 of size 128 The buggy address is located 38 bytes to the right of 128-byte region [ffff888056e7c800, ffff888056e7c880) The buggy address belongs to the page: page:ffffea00015b9f00 refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x56e7c flags: 0xfff00000000200(slab|node=0|zone=1|lastcpupid=0x7ff) raw: 00fff00000000200 0000000000000000 dead000000000122 ffff8880168418c0 raw: 0000000000000000 0000000000100010 00000001ffffffff 0000000000000000 page dumped because: kasan: bad access detected page_owner tracks the page as allocated page last allocated via order 0, migratetype Unmovable, gfp_mask 0x112a20(GFP_ATOMIC|__GFP_NOWARN|__GFP_NORETRY|__GFP_HARDWALL), pid 4629, ts 96648719340, free_ts 95707004878 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 alloc_slab_page mm/slub.c:1775 [inline] allocate_slab mm/slub.c:1912 [inline] new_slab+0xc0/0x4b0 mm/slub.c:1975 ___slab_alloc+0x81e/0xdf0 mm/slub.c:3008 __slab_alloc mm/slub.c:3095 [inline] slab_alloc_node mm/slub.c:3186 [inline] slab_alloc mm/slub.c:3228 [inline] __kmalloc+0x1cd/0x330 mm/slub.c:4403 kmalloc include/linux/slab.h:609 [inline] kzalloc include/linux/slab.h:735 [inline] hash_netnet4_resize+0xbba/0x1b10 net/netfilter/ipset/ip_set_hash_gen.h:712 call_ad+0x41e/0x990 net/netfilter/ipset/ip_set_core.c:1759 ip_set_ad+0x783/0x930 net/netfilter/ipset/ip_set_core.c:1841 nfnetlink_rcv_msg+0xacb/0x1040 net/netfilter/nfnetlink.c:297 netlink_rcv_skb+0x1e0/0x430 net/netlink/af_netlink.c:2507 nfnetlink_rcv+0x26b/0x2160 net/netfilter/nfnetlink.c:654 netlink_unicast_kernel net/netlink/af_netlink.c:1318 [inline] netlink_unicast+0x774/0x920 net/netlink/af_netlink.c:1344 netlink_sendmsg+0x8ab/0xbc0 net/netlink/af_netlink.c:1918 sock_sendmsg_nosec net/socket.c:704 [inline] __sock_sendmsg net/socket.c:716 [inline] ____sys_sendmsg+0x5a2/0x8c0 net/socket.c:2436 ___sys_sendmsg+0x1f0/0x260 net/socket.c:2490 __sys_sendmsg net/socket.c:2519 [inline] __do_sys_sendmsg net/socket.c:2528 [inline] __se_sys_sendmsg+0x190/0x250 net/socket.c:2526 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] truncate_inode_pages_range+0x2f3/0xef0 mm/truncate.c:329 kill_bdev block/bdev.c:77 [inline] blkdev_flush_mapping+0x182/0x340 block/bdev.c:659 blkdev_put_whole block/bdev.c:690 [inline] blkdev_put+0x4d1/0x7d0 block/bdev.c:957 blkdev_close+0x76/0xa0 block/fops.c:478 __fput+0x234/0x930 fs/file_table.c:311 task_work_run+0x125/0x1a0 kernel/task_work.c:188 tracehook_notify_resume include/linux/tracehook.h:189 [inline] exit_to_user_mode_loop+0x10f/0x130 kernel/entry/common.c:181 exit_to_user_mode_prepare+0xb1/0x140 kernel/entry/common.c:214 __syscall_exit_to_user_mode_work kernel/entry/common.c:296 [inline] syscall_exit_to_user_mode+0x16/0x40 kernel/entry/common.c:307 do_syscall_64+0x58/0xa0 arch/x86/entry/common.c:86 entry_SYSCALL_64_after_hwframe+0x66/0xd0 Memory state around the buggy address: ffff888056e7c780: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc ffff888056e7c800: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >ffff888056e7c880: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc ^ ffff888056e7c900: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ffff888056e7c980: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc ==================================================================