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: 5318 Comm: syz.0.0 Not tainted 6.13.0-rc2-syzkaller-00018-g7cb1b4663150 #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 7e 39 2d 08 e8 a9 8e 04 fe 90 <0f> 0b e8 a1 8e 04 fe 48 c7 c7 80 10 e3 8e 48 8b 74 24 20 48 89 da RSP: 0018:ffffc9000d356580 EFLAGS: 00010293 RAX: ffffffff839acf97 RBX: 0000000000000001 RCX: ffff88801ceba440 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000 RBP: ffffc9000d356a70 R08: ffffffff839a8a75 R09: 1ffffffff2032cae R10: dffffc0000000000 R11: fffffbfff2032caf R12: 1ffff92001a6ad30 R13: ffff88800064f880 R14: ffff888000ebae00 R15: dffffc0000000000 FS: 0000000000000000(0000) GS:ffff88801fc00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000000000 CR3: 000000003f308000 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:0x7f0e9137ff19 Code: Unable to access opcode bytes at 0x7f0e9137feef. RSP: 002b:00007ffc624d3578 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f0e9137ff19 RDX: 0000000000000064 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 0000000000000003 R08: 00007ffc624d365f R09: 00007f0e91514260 R10: 0000000000037dfc R11: 0000000000000246 R12: 00007f0e91514f68 R13: 00007f0e91514260 R14: 0000000000000003 R15: 00007ffc624d3620 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 7e 39 2d 08 e8 a9 8e 04 fe 90 <0f> 0b e8 a1 8e 04 fe 48 c7 c7 80 10 e3 8e 48 8b 74 24 20 48 89 da RSP: 0018:ffffc9000d356580 EFLAGS: 00010293 RAX: ffffffff839acf97 RBX: 0000000000000001 RCX: ffff88801ceba440 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000 RBP: ffffc9000d356a70 R08: ffffffff839a8a75 R09: 1ffffffff2032cae R10: dffffc0000000000 R11: fffffbfff2032caf R12: 1ffff92001a6ad30 R13: ffff88800064f880 R14: ffff888000ebae00 R15: dffffc0000000000 FS: 0000000000000000(0000) GS:ffff88801fc00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000000000 CR3: 0000000011aa0000 CR4: 0000000000352ef0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400