------------[ cut here ]------------ kernel BUG at fs/ocfs2/suballoc.c:2542! Oops: invalid opcode: 0000 [#1] PREEMPT SMP KASAN NOPTI CPU: 0 UID: 0 PID: 1065 Comm: kworker/u4:8 Not tainted 6.12.0-rc6-syzkaller-00110-gff7afaeca1a1 #0 Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014 Workqueue: ocfs2_wq ocfs2_truncate_log_worker RIP: 0010:_ocfs2_free_suballoc_bits+0x11a2/0x14a0 fs/ocfs2/suballoc.c:2542 Code: 18 e9 8f fb ff ff 44 89 e1 80 e1 07 80 c1 03 38 c1 0f 8c 92 fb ff ff 4c 89 e7 e8 39 0d 68 fe e9 85 fb ff ff e8 6f 46 fe fd 90 <0f> 0b e8 67 46 fe fd 90 0f 0b f3 0f 1e fa 65 8b 1d c5 43 6d 7c bf RSP: 0018:ffffc900023ff640 EFLAGS: 00010293 RAX: ffffffff839693f1 RBX: 00000000ffffffff RCX: ffff888035a68000 RDX: 0000000000000000 RSI: 00000000ffffffff RDI: 0000000000000000 RBP: ffffc900023ff7e8 R08: ffffffff8396834c R09: 0000000000000001 R10: dffffc0000000000 R11: fffffbfff203a11e R12: ffff88801aad41d0 R13: dffffc0000000000 R14: ffff888012efde00 R15: dffffc0000000000 FS: 0000000000000000(0000) GS:ffff88801fc00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00005555727ec5f8 CR3: 000000004315c000 CR4: 0000000000352ef0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: _ocfs2_free_clusters+0x5ff/0xad0 fs/ocfs2/suballoc.c:2646 ocfs2_replay_truncate_records fs/ocfs2/alloc.c:5971 [inline] __ocfs2_flush_truncate_log+0x760/0x1250 fs/ocfs2/alloc.c:6054 ocfs2_flush_truncate_log fs/ocfs2/alloc.c:6076 [inline] ocfs2_truncate_log_worker+0xa2/0x1b0 fs/ocfs2/alloc.c:6089 process_one_work kernel/workqueue.c:3229 [inline] process_scheduled_works+0xa63/0x1850 kernel/workqueue.c:3310 worker_thread+0x870/0xd30 kernel/workqueue.c:3391 kthread+0x2f0/0x390 kernel/kthread.c:389 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244 Modules linked in: ---[ end trace 0000000000000000 ]---