loop0: detected capacity change from 0 to 32768 ======================================================= WARNING: The mand mount option has been deprecated and and is ignored by this kernel. Remove the mand option from the mount to silence this warning. ======================================================= 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:1445 [inline] BUG: KASAN: use-after-free in ocfs2_claim_suballoc_bits+0x10d3/0x2570 fs/ocfs2/suballoc.c:1982 Read of size 4 at addr ffff8880511fe000 by task syz.0.0/5323 CPU: 0 UID: 0 PID: 5323 Comm: syz.0.0 Not tainted 6.12.0-rc6-syzkaller-00077-g2e1b3cc9d7f7 #0 Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014 Call Trace: __dump_stack lib/dump_stack.c:94 [inline] dump_stack_lvl+0x241/0x360 lib/dump_stack.c:120 print_address_description mm/kasan/report.c:377 [inline] print_report+0x169/0x550 mm/kasan/report.c:488 kasan_report+0x143/0x180 mm/kasan/report.c:601 ocfs2_find_victim_chain fs/ocfs2/suballoc.c:1445 [inline] ocfs2_claim_suballoc_bits+0x10d3/0x2570 fs/ocfs2/suballoc.c:1982 ocfs2_claim_new_inode+0x338/0x870 fs/ocfs2/suballoc.c:2267 ocfs2_mknod_locked+0x17a/0x3b0 fs/ocfs2/namei.c:633 ocfs2_mknod+0x17d4/0x2b40 fs/ocfs2/namei.c:379 vfs_mknod+0x36d/0x3b0 fs/namei.c:4135 do_mknodat+0x3ec/0x5b0 __do_sys_mknodat fs/namei.c:4213 [inline] __se_sys_mknodat fs/namei.c:4210 [inline] __x64_sys_mknodat+0xa7/0xc0 fs/namei.c:4210 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f500557e719 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 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:00007f50063fd038 EFLAGS: 00000246 ORIG_RAX: 0000000000000103 RAX: ffffffffffffffda RBX: 00007f5005735f80 RCX: 00007f500557e719 RDX: f0b9ce0949ff22d3 RSI: 0000000020000000 RDI: ffffffffffffff9c RBP: 00007f50055f139e R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000701 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f5005735f80 R15: 00007ffe178f8c48 The buggy address belongs to the physical page: page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x511fe flags: 0x4fff00000000000(node=1|zone=1|lastcpupid=0x7ff) raw: 04fff00000000000 ffffea0001447fc8 ffff88801fc44cb0 0000000000000000 raw: 0000000000000000 0000000000000000 00000000ffffffff 0000000000000000 page dumped because: kasan: bad access detected page_owner info is not present (never set?) Memory state around the buggy address: ffff8880511fdf00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ffff8880511fdf80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >ffff8880511fe000: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ^ ffff8880511fe080: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ffff8880511fe100: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ==================================================================