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. ------------[ cut here ]------------ kernel BUG at fs/ocfs2/suballoc.c:1441! Oops: invalid opcode: 0000 [#1] SMP KASAN NOPTI CPU: 0 UID: 0 PID: 5315 Comm: syz.0.0 Not tainted 6.15.0-rc4-syzkaller-00147-gebd297a2affa #0 PREEMPT(full) Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014 RIP: 0010:ocfs2_find_victim_chain fs/ocfs2/suballoc.c:1441 [inline] RIP: 0010:ocfs2_claim_suballoc_bits+0x21d9/0x2310 fs/ocfs2/suballoc.c:1982 Code: 38 fb ff ff e8 f8 6a 1e fe 90 0f 0b e8 f0 6a 1e fe 90 0f 0b e8 e8 6a 1e fe 90 0f 0b e8 e0 6a 1e fe 90 0f 0b e8 d8 6a 1e fe 90 <0f> 0b e8 d0 6a 1e fe 90 0f 0b f3 0f 1e fa 4d 89 f4 65 8b 1d a3 ea RSP: 0018:ffffc9000fee5fa0 EFLAGS: 00010293 RAX: ffffffff83a15578 RBX: 0000000000000000 RCX: ffff88801ecd8000 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: ffffc9000fee6230 R08: ffffc9000fee62c0 R09: 0000000000000000 R10: ffffc9000fee62c0 R11: fffff52001fdcc5d R12: ffff888053739e00 R13: ffff8880115e1a08 R14: 0000000000000255 R15: dffffc0000000000 FS: 00007f78731926c0(0000) GS:ffff88808d6cc000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f786627f000 CR3: 000000003f6f3000 CR4: 0000000000352ef0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __ocfs2_claim_clusters+0x307/0x910 fs/ocfs2/suballoc.c:2395 ocfs2_claim_clusters fs/ocfs2/suballoc.c:2432 [inline] ocfs2_block_group_alloc_contig fs/ocfs2/suballoc.c:432 [inline] ocfs2_block_group_alloc fs/ocfs2/suballoc.c:699 [inline] ocfs2_reserve_suballoc_bits+0xf1e/0x45f0 fs/ocfs2/suballoc.c:832 ocfs2_reserve_new_metadata_blocks+0x403/0x940 fs/ocfs2/suballoc.c:982 ocfs2_expand_inline_dir fs/ocfs2/dir.c:2837 [inline] ocfs2_extend_dir+0xc76/0x4870 fs/ocfs2/dir.c:3199 ocfs2_prepare_dir_for_insert+0x2fe8/0x5450 fs/ocfs2/dir.c:4304 ocfs2_mknod+0x819/0x2050 fs/ocfs2/namei.c:294 ocfs2_create+0x1a5/0x440 fs/ocfs2/namei.c:673 vfs_create+0x24b/0x400 fs/namei.c:3398 do_mknodat+0x3c6/0x4d0 fs/namei.c:4278 __do_sys_mknod fs/namei.c:4311 [inline] __se_sys_mknod fs/namei.c:4309 [inline] __x64_sys_mknod+0x8c/0xa0 fs/namei.c:4309 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xf6/0x210 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f787238e969 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:00007f7873192038 EFLAGS: 00000246 ORIG_RAX: 0000000000000085 RAX: ffffffffffffffda RBX: 00007f78725b6080 RCX: 00007f787238e969 RDX: 0000000000000701 RSI: 0000000000000000 RDI: 0000200000000000 RBP: 00007f7872410ab1 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f78725b6080 R15: 00007fff60c8fea8 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:ocfs2_find_victim_chain fs/ocfs2/suballoc.c:1441 [inline] RIP: 0010:ocfs2_claim_suballoc_bits+0x21d9/0x2310 fs/ocfs2/suballoc.c:1982 Code: 38 fb ff ff e8 f8 6a 1e fe 90 0f 0b e8 f0 6a 1e fe 90 0f 0b e8 e8 6a 1e fe 90 0f 0b e8 e0 6a 1e fe 90 0f 0b e8 d8 6a 1e fe 90 <0f> 0b e8 d0 6a 1e fe 90 0f 0b f3 0f 1e fa 4d 89 f4 65 8b 1d a3 ea RSP: 0018:ffffc9000fee5fa0 EFLAGS: 00010293 RAX: ffffffff83a15578 RBX: 0000000000000000 RCX: ffff88801ecd8000 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: ffffc9000fee6230 R08: ffffc9000fee62c0 R09: 0000000000000000 R10: ffffc9000fee62c0 R11: fffff52001fdcc5d R12: ffff888053739e00 R13: ffff8880115e1a08 R14: 0000000000000255 R15: dffffc0000000000 FS: 00007f78731926c0(0000) GS:ffff88808d6cc000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f7866cce000 CR3: 000000003f6f3000 CR4: 0000000000352ef0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400