------------[ cut here ]------------ kernel BUG at fs/ocfs2/suballoc.c:2543! Oops: invalid opcode: 0000 [#1] PREEMPT SMP KASAN NOPTI CPU: 0 UID: 0 PID: 1030 Comm: kworker/u4:7 Not tainted 6.11.0-syzkaller-09959-gabf2050f51fd #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+0x11aa/0x14a0 fs/ocfs2/suballoc.c:2543 Code: e1 80 e1 07 80 c1 03 38 c1 0f 8c 92 fb ff ff 4c 89 e7 e8 a9 e4 68 fe e9 85 fb ff ff e8 ff 2f ff fd 90 0f 0b e8 f7 2f ff fd 90 <0f> 0b f3 0f 1e fa 65 8b 1d a5 53 6e 7c bf 07 00 00 00 89 de e8 1d RSP: 0018:ffffc9000243f640 EFLAGS: 00010293 RAX: ffffffff83958419 RBX: 0000000000000e00 RCX: ffff8880353d0000 RDX: 0000000000000000 RSI: 0000000000000e00 RDI: 00000000f8f8f9f0 RBP: ffffc9000243f7e8 R08: ffffffff839573dc R09: 00000000f8f8f8f8 R10: dffffc0000000000 R11: fffffbfff2039496 R12: 00000000f8f8f9f0 R13: dffffc0000000000 R14: ffff88803e20ee00 R15: 0000000000000e00 FS: 0000000000000000(0000) GS:ffff88801fc00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fece91ff000 CR3: 000000001ab2c000 CR4: 0000000000350ef0 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 ]--- RIP: 0010:_ocfs2_free_suballoc_bits+0x11aa/0x14a0 fs/ocfs2/suballoc.c:2543 Code: e1 80 e1 07 80 c1 03 38 c1 0f 8c 92 fb ff ff 4c 89 e7 e8 a9 e4 68 fe e9 85 fb ff ff e8 ff 2f ff fd 90 0f 0b e8 f7 2f ff fd 90 <0f> 0b f3 0f 1e fa 65 8b 1d a5 53 6e 7c bf 07 00 00 00 89 de e8 1d RSP: 0018:ffffc9000243f640 EFLAGS: 00010293 RAX: ffffffff83958419 RBX: 0000000000000e00 RCX: ffff8880353d0000 RDX: 0000000000000000 RSI: 0000000000000e00 RDI: 00000000f8f8f9f0 RBP: ffffc9000243f7e8 R08: ffffffff839573dc R09: 00000000f8f8f8f8 R10: dffffc0000000000 R11: fffffbfff2039496 R12: 00000000f8f8f9f0 R13: dffffc0000000000 R14: ffff88803e20ee00 R15: 0000000000000e00 FS: 0000000000000000(0000) GS:ffff88801fc00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fece91ff000 CR3: 000000001ab2c000 CR4: 0000000000350ef0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400