loop0: detected capacity change from 0 to 32768 ocfs2: Mounting device (7,0) on (node local, slot 0) with ordered data mode. ================================================================== BUG: KASAN: use-after-free in ocfs2_find_victim_chain fs/ocfs2/suballoc.c:1447 [inline] BUG: KASAN: use-after-free in ocfs2_claim_suballoc_bits+0xb34/0x1e00 fs/ocfs2/suballoc.c:1996 Read of size 4 at addr ffff0000e5619000 by task syz.0.16/7037 CPU: 1 UID: 0 PID: 7037 Comm: syz.0.16 Not tainted 6.15.0-syzkaller-10769-g7d4e49a77d99 #0 PREEMPT Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025 Call trace: show_stack+0x2c/0x3c arch/arm64/kernel/stacktrace.c:466 (C) __dump_stack+0x30/0x40 lib/dump_stack.c:94 dump_stack_lvl+0xd8/0x12c lib/dump_stack.c:120 print_address_description+0x8c/0x238 mm/kasan/report.c:408 print_report+0x50/0x68 mm/kasan/report.c:521 kasan_report+0xb0/0x110 mm/kasan/report.c:634 __asan_report_load4_noabort+0x20/0x2c mm/kasan/report_generic.c:380 ocfs2_find_victim_chain fs/ocfs2/suballoc.c:1447 [inline] ocfs2_claim_suballoc_bits+0xb34/0x1e00 fs/ocfs2/suballoc.c:1996 ocfs2_claim_new_inode+0x2f4/0x710 fs/ocfs2/suballoc.c:2292 ocfs2_mknod_locked+0xfc/0x228 fs/ocfs2/namei.c:634 ocfs2_mknod+0xe38/0x1cf0 fs/ocfs2/namei.c:381 ocfs2_mkdir+0x190/0x474 fs/ocfs2/namei.c:656 vfs_mkdir+0x284/0x424 fs/namei.c:4366 do_mkdirat+0x1f8/0x4c8 fs/namei.c:4399 __do_sys_mkdirat fs/namei.c:4416 [inline] __se_sys_mkdirat fs/namei.c:4414 [inline] __arm64_sys_mkdirat+0x8c/0xa4 fs/namei.c:4414 __invoke_syscall arch/arm64/kernel/syscall.c:35 [inline] invoke_syscall+0x98/0x2b8 arch/arm64/kernel/syscall.c:49 el0_svc_common+0x130/0x23c arch/arm64/kernel/syscall.c:132 do_el0_svc+0x48/0x58 arch/arm64/kernel/syscall.c:151 el0_svc+0x58/0x17c arch/arm64/kernel/entry-common.c:767 el0t_64_sync_handler+0x78/0x108 arch/arm64/kernel/entry-common.c:786 el0t_64_sync+0x198/0x19c arch/arm64/kernel/entry.S:600 The buggy address belongs to the physical page: page: refcount:0 mapcount:0 mapping:0000000000000000 index:0xffffab337 pfn:0x125619 flags: 0x5ffc00000000000(node=0|zone=2|lastcpupid=0x7ff) raw: 05ffc00000000000 fffffdffc394d308 fffffdffc3958748 0000000000000000 raw: 0000000ffffab337 0000000000000000 00000000ffffffff 0000000000000000 page dumped because: kasan: bad access detected Memory state around the buggy address: ffff0000e5618f00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ffff0000e5618f80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >ffff0000e5619000: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ^ ffff0000e5619080: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ffff0000e5619100: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ================================================================== OCFS2: ERROR (device loop0): int ocfs2_validate_gd_self(struct super_block *, struct buffer_head *, int): Group descriptor #0 has bad signature  On-disk corruption discovered. Please run fsck.ocfs2 once the filesystem is unmounted. OCFS2: File system is now read-only. (syz.0.16,7037,0):ocfs2_search_chain:1817 ERROR: status = -30 (syz.0.16,7037,0):ocfs2_search_chain:1940 ERROR: status = -30 (syz.0.16,7037,0):ocfs2_claim_suballoc_bits:2010 ERROR: status = -30 (syz.0.16,7037,0):ocfs2_claim_suballoc_bits:2063 ERROR: status = -30 (syz.0.16,7037,0):ocfs2_claim_new_inode:2298 ERROR: status = -30 (syz.0.16,7037,0):ocfs2_claim_new_inode:2313 ERROR: status = -30 (syz.0.16,7037,0):ocfs2_mknod_locked:638 ERROR: status = -30 (syz.0.16,7037,0):ocfs2_mknod:385 ERROR: status = -30 (syz.0.16,7037,0):ocfs2_mknod:502 ERROR: status = -30 (syz.0.16,7037,0):ocfs2_mkdir:658 ERROR: status = -30