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: 5315 Comm: syz.0.0 Not tainted 6.13.0-rc2-syzkaller-00031-gf92f4749861b #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:ffffc9000d246580 EFLAGS: 00010293 RAX: ffffffff839ad117 RBX: 00000000ffffffff RCX: ffff888000cc2440 RDX: 0000000000000000 RSI: 00000000ffffffff RDI: 0000000000000000 RBP: ffffc9000d246a70 R08: ffffffff839a8bf5 R09: 1ffffffff2032cae R10: dffffc0000000000 R11: fffffbfff2032caf R12: 1ffff92001a48d30 R13: ffff88803e6fcf80 R14: ffff8880540cce00 R15: dffffc0000000000 FS: 0000000000000000(0000) GS:ffff88801fc00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f290237f000 CR3: 00000000436a0000 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 slow_acct_process+0x3e8/0x510 kernel/acct.c:597 do_exit+0x9f0/0x28e0 kernel/exit.c:928 do_group_exit+0x207/0x2c0 kernel/exit.c:1087 __do_sys_exit_group kernel/exit.c:1098 [inline] __se_sys_exit_group kernel/exit.c:1096 [inline] __x64_sys_exit_group+0x3f/0x40 kernel/exit.c:1096 x64_sys_call+0x26a8/0x26b0 arch/x86/include/generated/asm/syscalls_64.h:232 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:0x7feafd17ff19 Code: Unable to access opcode bytes at 0x7feafd17feef. RSP: 002b:00007ffc05978b38 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007feafd17ff19 RDX: 0000000000000064 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 0000000000000003 R08: 00007ffc05978c1f R09: 00007feafd314260 R10: 000000000003bb24 R11: 0000000000000246 R12: 00007feafd314f68 R13: 00007feafd314260 R14: 0000000000000003 R15: 00007ffc05978be0 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:ffffc9000d246580 EFLAGS: 00010293 RAX: ffffffff839ad117 RBX: 00000000ffffffff RCX: ffff888000cc2440 RDX: 0000000000000000 RSI: 00000000ffffffff RDI: 0000000000000000 RBP: ffffc9000d246a70 R08: ffffffff839a8bf5 R09: 1ffffffff2032cae R10: dffffc0000000000 R11: fffffbfff2032caf R12: 1ffff92001a48d30 R13: ffff88803e6fcf80 R14: ffff8880540cce00 R15: dffffc0000000000 FS: 0000000000000000(0000) GS:ffff88801fc00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f290237f000 CR3: 000000001cd88000 CR4: 0000000000352ef0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400