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] PREEMPT SMP KASAN NOPTI CPU: 0 UID: 0 PID: 5108 Comm: syz.0.0 Not tainted 6.11.0-rc6-syzkaller-00019-g67784a74e258 #0 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+0x240c/0x2570 fs/ocfs2/suballoc.c:1982 Code: 2a b0 03 fe 90 0f 0b e8 22 b0 03 fe 90 0f 0b e8 1a b0 03 fe 90 0f 0b e8 12 b0 03 fe 90 0f 0b e8 fa bc 29 08 e8 05 b0 03 fe 90 <0f> 0b e8 fd af 03 fe 90 0f 0b f3 0f 1e fa 65 8b 1d 4b fa 73 7c bf RSP: 0018:ffffc90002f2e6c0 EFLAGS: 00010287 RAX: ffffffff838fdcab RBX: 0000000000000000 RCX: 0000000000040000 RDX: ffffc9000b319000 RSI: 000000000000de5e RDI: 000000000000de5f RBP: ffffc90002f2e970 R08: ffffffff838fc795 R09: 0000000000000000 R10: ffffc90002f2ea00 R11: fffff520005e5d45 R12: dffffc0000000000 R13: ffff88803d393b88 R14: ffff8880232dde00 R15: 0000000000000255 FS: 00007f2e22e766c0(0000) GS:ffff88801fe00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020001000 CR3: 00000000126c2000 CR4: 0000000000350ef0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __ocfs2_claim_clusters+0x332/0xa40 fs/ocfs2/suballoc.c:2395 ocfs2_local_alloc_new_window fs/ocfs2/localalloc.c:1164 [inline] ocfs2_local_alloc_slide_window fs/ocfs2/localalloc.c:1293 [inline] ocfs2_reserve_local_alloc_bits+0x1456/0x2870 fs/ocfs2/localalloc.c:669 ocfs2_reserve_clusters_with_limit+0x1b8/0xb60 fs/ocfs2/suballoc.c:1166 ocfs2_reserve_clusters fs/ocfs2/suballoc.c:1227 [inline] ocfs2_lock_allocators+0x30a/0x630 fs/ocfs2/suballoc.c:2746 ocfs2_write_begin_nolock+0x2916/0x4d30 fs/ocfs2/aops.c:1739 ocfs2_write_begin+0x205/0x3a0 fs/ocfs2/aops.c:1903 generic_perform_write+0x399/0x840 mm/filemap.c:4019 ocfs2_file_write_iter+0x17b4/0x1f60 fs/ocfs2/file.c:2455 new_sync_write fs/read_write.c:497 [inline] vfs_write+0xa72/0xc90 fs/read_write.c:590 ksys_write+0x1a0/0x2c0 fs/read_write.c:643 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:0x7f2e22179eb9 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:00007f2e22e76038 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007f2e22315f80 RCX: 00007f2e22179eb9 RDX: 000000000208e24b RSI: 0000000020000240 RDI: 0000000000000005 RBP: 00007f2e221e793e R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f2e22315f80 R15: 00007ffd0c922fc8 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:ocfs2_find_victim_chain fs/ocfs2/suballoc.c:1441 [inline] RIP: 0010:ocfs2_claim_suballoc_bits+0x240c/0x2570 fs/ocfs2/suballoc.c:1982 Code: 2a b0 03 fe 90 0f 0b e8 22 b0 03 fe 90 0f 0b e8 1a b0 03 fe 90 0f 0b e8 12 b0 03 fe 90 0f 0b e8 fa bc 29 08 e8 05 b0 03 fe 90 <0f> 0b e8 fd af 03 fe 90 0f 0b f3 0f 1e fa 65 8b 1d 4b fa 73 7c bf RSP: 0018:ffffc90002f2e6c0 EFLAGS: 00010287 RAX: ffffffff838fdcab RBX: 0000000000000000 RCX: 0000000000040000 RDX: ffffc9000b319000 RSI: 000000000000de5e RDI: 000000000000de5f RBP: ffffc90002f2e970 R08: ffffffff838fc795 R09: 0000000000000000 R10: ffffc90002f2ea00 R11: fffff520005e5d45 R12: dffffc0000000000 R13: ffff88803d393b88 R14: ffff8880232dde00 R15: 0000000000000255 FS: 00007f2e22e766c0(0000) GS:ffff88801fe00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00000000200008c0 CR3: 00000000126c2000 CR4: 0000000000350ef0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400