loop0: detected capacity change from 32768 to 0 Process accounting resumed ------------[ cut here ]------------ kernel BUG at fs/ocfs2/suballoc.c:804! Oops: invalid opcode: 0000 [#1] PREEMPT SMP KASAN NOPTI CPU: 0 UID: 0 PID: 5321 Comm: syz.0.0 Not tainted 6.13.0-rc2-syzkaller-00036-g231825b2e1ff #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_reserve_suballoc_bits+0x4798/0x4e70 fs/ocfs2/suballoc.c:804 Code: e1 07 80 c1 03 38 c1 0f 8c 75 dd ff ff 48 8d bc 24 b0 01 00 00 e8 e8 ee 6a fe e9 63 dd ff ff e8 fe 37 2d 08 e8 29 8d 04 fe 90 <0f> 0b e8 21 8d 04 fe 48 c7 c7 80 10 e3 8e 48 8b 74 24 20 48 89 da RSP: 0018:ffffc9000d4f6620 EFLAGS: 00010287 RAX: ffffffff839ad117 RBX: 00000000ffffffff RCX: 0000000000100000 RDX: ffffc9000eccb000 RSI: 00000000000009a5 RDI: 00000000000009a6 RBP: ffffc9000d4f6b10 R08: ffffffff839a8bf5 R09: 1ffffffff2032cae R10: dffffc0000000000 R11: fffffbfff2032caf R12: 1ffff92001a9ed44 R13: ffff88801efaa700 R14: ffff88801a920e00 R15: dffffc0000000000 FS: 00007f0acb1506c0(0000) GS:ffff88801fc00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000000000 CR3: 000000003efc6000 CR4: 0000000000352ef0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: ocfs2_reserve_cluster_bitmap_bits fs/ocfs2/suballoc.c:1132 [inline] ocfs2_reserve_clusters_with_limit+0x3dd/0xb60 fs/ocfs2/suballoc.c:1177 ocfs2_reserve_clusters fs/ocfs2/suballoc.c:1227 [inline] ocfs2_lock_allocators+0x30a/0x630 fs/ocfs2/suballoc.c:2746 ocfs2_write_begin_nolock+0x270b/0x5060 fs/ocfs2/aops.c:1738 ocfs2_write_begin+0x205/0x3a0 fs/ocfs2/aops.c:1902 generic_perform_write+0x346/0x990 mm/filemap.c:4055 ocfs2_file_write_iter+0x19af/0x2180 fs/ocfs2/file.c:2469 __kernel_write_iter+0x42a/0x940 fs/read_write.c:612 __kernel_write+0x120/0x180 fs/read_write.c:632 do_acct_process+0x11ff/0x1870 kernel/acct.c:539 acct_pin_kill+0x2b/0x130 kernel/acct.c:192 pin_kill+0x2e1/0x5e0 fs/fs_pin.c:44 __do_sys_acct kernel/acct.c:309 [inline] __se_sys_acct+0x2d2/0x760 kernel/acct.c:291 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:0x7f0aca385d19 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:00007f0acb150038 EFLAGS: 00000246 ORIG_RAX: 00000000000000a3 RAX: ffffffffffffffda RBX: 00007f0aca576080 RCX: 00007f0aca385d19 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 00007f0aca401a20 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f0aca576080 R15: 00007ffeedab6898 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:ocfs2_reserve_suballoc_bits+0x4798/0x4e70 fs/ocfs2/suballoc.c:804 Code: e1 07 80 c1 03 38 c1 0f 8c 75 dd ff ff 48 8d bc 24 b0 01 00 00 e8 e8 ee 6a fe e9 63 dd ff ff e8 fe 37 2d 08 e8 29 8d 04 fe 90 <0f> 0b e8 21 8d 04 fe 48 c7 c7 80 10 e3 8e 48 8b 74 24 20 48 89 da RSP: 0018:ffffc9000d4f6620 EFLAGS: 00010287 RAX: ffffffff839ad117 RBX: 00000000ffffffff RCX: 0000000000100000 RDX: ffffc9000eccb000 RSI: 00000000000009a5 RDI: 00000000000009a6 RBP: ffffc9000d4f6b10 R08: ffffffff839a8bf5 R09: 1ffffffff2032cae R10: dffffc0000000000 R11: fffffbfff2032caf R12: 1ffff92001a9ed44 R13: ffff88801efaa700 R14: ffff88801a920e00 R15: dffffc0000000000 FS: 00007f0acb1506c0(0000) GS:ffff88801fc00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000000000 CR3: 000000003efc6000 CR4: 0000000000352ef0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400