------------[ cut here ]------------ kernel BUG at fs/ocfs2/suballoc.c:2542! Oops: invalid opcode: 0000 [#1] PREEMPT SMP KASAN NOPTI CPU: 0 UID: 0 PID: 56 Comm: kworker/u4:4 Not tainted 6.12.0-syzkaller-11677-g2ba9f676d0a2 #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+0x1183/0x1470 fs/ocfs2/suballoc.c:2542 Code: f9 fb ff ff 89 f9 80 e1 07 80 c1 03 38 c1 0f 8c fc fb ff ff 48 89 fb e8 ab b9 67 fe 48 89 df e9 ec fb ff ff e8 0e d1 fc fd 90 <0f> 0b e8 06 d1 fc fd 90 0f 0b f3 0f 1e fa 65 44 8b 3d 73 c5 6a 7c RSP: 0018:ffffc9000104f640 EFLAGS: 00010293 RAX: ffffffff83991082 RBX: 00000000ffffffff RCX: ffff88801ee72440 RDX: 0000000000000000 RSI: 00000000ffffffff RDI: 0000000000000000 RBP: ffffc9000104f7e8 R08: ffffffff8398fffe R09: 0000000000000002 R10: dffffc0000000000 R11: fffffbfff203b37f R12: 0000000000000002 R13: ffff8880008e12b8 R14: ffff888000ad0e00 R15: dffffc0000000000 FS: 0000000000000000(0000) GS:ffff88801fc00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f1c6d8c6fe0 CR3: 000000003e7f6000 CR4: 0000000000352ef0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: _ocfs2_free_clusters+0x5ef/0xac0 fs/ocfs2/suballoc.c:2646 ocfs2_replay_truncate_records fs/ocfs2/alloc.c:5971 [inline] __ocfs2_flush_truncate_log+0x760/0x1240 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+0xa66/0x1840 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 ]---