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. ======================================================= JBD2: Ignoring recovery information on journal 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: 5121 Comm: syz.0.0 Not tainted 6.11.0-rc6-syzkaller-00363-g89f5e14d05b4 #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: ea 9b 03 fe 90 0f 0b e8 e2 9b 03 fe 90 0f 0b e8 da 9b 03 fe 90 0f 0b e8 d2 9b 03 fe 90 0f 0b e8 8a b8 29 08 e8 c5 9b 03 fe 90 <0f> 0b e8 bd 9b 03 fe 90 0f 0b f3 0f 1e fa 65 8b 1d 0b e6 73 7c bf RSP: 0018:ffffc90002f8e500 EFLAGS: 00010287 RAX: ffffffff838ff0eb RBX: 0000000000000000 RCX: 0000000000040000 RDX: ffffc9000b6ca000 RSI: 000000000000ffe6 RDI: 000000000000ffe7 RBP: ffffc90002f8e7b0 R08: ffffffff838fdbd5 R09: 0000000000000000 R10: ffffc90002f8e840 R11: fffff520005f1d0d R12: dffffc0000000000 R13: ffff888011e83e88 R14: ffff88804ca03e00 R15: 0000000000000255 FS: 00007f62e50e06c0(0000) GS:ffff88801fe00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f62e44bc280 CR3: 000000003cd14000 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 do_iter_readv_writev+0x60a/0x890 vfs_writev+0x37c/0xbb0 fs/read_write.c:971 do_pwritev fs/read_write.c:1072 [inline] __do_sys_pwritev2 fs/read_write.c:1131 [inline] __se_sys_pwritev2+0x1ca/0x2d0 fs/read_write.c:1122 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:0x7f62e437cef9 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:00007f62e50e0038 EFLAGS: 00000246 ORIG_RAX: 0000000000000148 RAX: ffffffffffffffda RBX: 00007f62e4535f80 RCX: 00007f62e437cef9 RDX: 0000000000000001 RSI: 00000000200015c0 RDI: 0000000000000005 RBP: 00007f62e43ef046 R08: 00000000ffffffff R09: 0000000000000000 R10: 00000000000fffff R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f62e4535f80 R15: 00007fff422db7c8 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: ea 9b 03 fe 90 0f 0b e8 e2 9b 03 fe 90 0f 0b e8 da 9b 03 fe 90 0f 0b e8 d2 9b 03 fe 90 0f 0b e8 8a b8 29 08 e8 c5 9b 03 fe 90 <0f> 0b e8 bd 9b 03 fe 90 0f 0b f3 0f 1e fa 65 8b 1d 0b e6 73 7c bf RSP: 0018:ffffc90002f8e500 EFLAGS: 00010287 RAX: ffffffff838ff0eb RBX: 0000000000000000 RCX: 0000000000040000 RDX: ffffc9000b6ca000 RSI: 000000000000ffe6 RDI: 000000000000ffe7 RBP: ffffc90002f8e7b0 R08: ffffffff838fdbd5 R09: 0000000000000000 R10: ffffc90002f8e840 R11: fffff520005f1d0d R12: dffffc0000000000 R13: ffff888011e83e88 R14: ffff88804ca03e00 R15: 0000000000000255 FS: 00007f62e50e06c0(0000) GS:ffff88801fe00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fded3481ba8 CR3: 000000003cd14000 CR4: 0000000000350ef0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400