loop2: detected capacity change from 0 to 32768 ocfs2: Mounting device (7,2) on (node local, slot 0) with writeback 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 ffff0000fab2e000 by task syz.2.87/7020 CPU: 1 UID: 0 PID: 7020 Comm: syz.2.87 Not tainted 6.17.0-rc1-syzkaller-g8f5ae30d69d7 #0 PREEMPT Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/30/2025 Call trace: show_stack+0x2c/0x3c arch/arm64/kernel/stacktrace.c:499 (C) __dump_stack+0x30/0x40 lib/dump_stack.c:94 dump_stack_lvl+0xd8/0x12c lib/dump_stack.c:120 print_address_description+0xa8/0x238 mm/kasan/report.c:378 print_report+0x68/0x84 mm/kasan/report.c:482 kasan_report+0xb0/0x110 mm/kasan/report.c:595 __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_metadata+0x150/0x444 fs/ocfs2/suballoc.c:2082 ocfs2_create_xattr_block+0x180/0x940 fs/ocfs2/xattr.c:2883 ocfs2_xattr_block_set+0x1e8/0x2568 fs/ocfs2/xattr.c:2965 __ocfs2_xattr_set_handle+0x554/0xc28 fs/ocfs2/xattr.c:3387 ocfs2_xattr_set_handle+0x378/0x5e4 fs/ocfs2/xattr.c:3512 ocfs2_init_security_set+0xb4/0xd8 fs/ocfs2/xattr.c:7307 ocfs2_mknod+0x106c/0x1cf0 fs/ocfs2/namei.c:422 ocfs2_create+0x190/0x474 fs/ocfs2/namei.c:676 lookup_open fs/namei.c:3708 [inline] open_last_lookups fs/namei.c:3807 [inline] path_openat+0x12d8/0x2c40 fs/namei.c:4043 do_filp_open+0x18c/0x36c fs/namei.c:4073 do_sys_openat2+0x11c/0x1b4 fs/open.c:1435 do_sys_open fs/open.c:1450 [inline] __do_sys_openat fs/open.c:1466 [inline] __se_sys_openat fs/open.c:1461 [inline] __arm64_sys_openat+0x120/0x158 fs/open.c:1461 __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/0x180 arch/arm64/kernel/entry-common.c:879 el0t_64_sync_handler+0x84/0x12c arch/arm64/kernel/entry-common.c:898 el0t_64_sync+0x198/0x19c arch/arm64/kernel/entry.S:596 The buggy address belongs to the physical page: page: refcount:0 mapcount:0 mapping:0000000000000000 index:0xffff8c315 pfn:0x13ab2e flags: 0x5ffc00000000000(node=0|zone=2|lastcpupid=0x7ff) raw: 05ffc00000000000 fffffdffc3eacfc8 fffffdffc39f4c48 0000000000000000 raw: 0000000ffff8c315 0000000000000000 00000000ffffffff 0000000000000000 page dumped because: kasan: bad access detected Memory state around the buggy address: ffff0000fab2df00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ffff0000fab2df80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >ffff0000fab2e000: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ^ ffff0000fab2e080: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ffff0000fab2e100: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ================================================================== OCFS2: ERROR (device loop2): 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: Returning error to the calling process. (syz.2.87,7020,1):ocfs2_search_chain:1817 ERROR: status = -5 (syz.2.87,7020,1):ocfs2_search_chain:1940 ERROR: status = -5 (syz.2.87,7020,1):ocfs2_claim_suballoc_bits:2010 ERROR: status = -5 (syz.2.87,7020,1):ocfs2_claim_suballoc_bits:2063 ERROR: status = -5 (syz.2.87,7020,1):ocfs2_claim_metadata:2088 ERROR: status = -5 (syz.2.87,7020,1):ocfs2_claim_metadata:2101 ERROR: status = -5 (syz.2.87,7020,1):ocfs2_create_xattr_block:2887 ERROR: status = -5 (syz.2.87,7020,1):ocfs2_xattr_block_set:2968 ERROR: status = -5 (syz.2.87,7020,1):ocfs2_mknod:425 ERROR: status = -5 (syz.2.87,7020,1):ocfs2_mknod:505 ERROR: status = -5 (syz.2.87,7020,1):ocfs2_create:678 ERROR: status = -5