------------[ cut here ]------------ kernel BUG at fs/ocfs2/suballoc.c:3044! Oops: invalid opcode: 0000 [#1] SMP KASAN NOPTI CPU: 0 UID: 0 PID: 13 Comm: kworker/u4:0 Not tainted syzkaller #0 PREEMPT(full) Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 Workqueue: ocfs2_wq ocfs2_truncate_log_worker RIP: 0010:_ocfs2_free_suballoc_bits+0xcaf/0xe00 fs/ocfs2/suballoc.c:3044 Code: 3b fe e9 fb fb ff ff 44 89 e1 80 e1 07 fe c1 38 c1 0f 8c 29 fc ff ff 4c 89 e7 e8 8c 0b 3b fe e9 1c fc ff ff e8 82 ab c1 fd 90 <0f> 0b 65 8b 1d d0 39 db 10 bf 07 00 00 00 89 de e8 7c b0 c1 fd 83 RSP: 0018:ffffc9000026f580 EFLAGS: 00010293 RAX: ffffffff8407865e RBX: 00000000ffffffff RCX: ffff88801d7f0000 RDX: 0000000000000000 RSI: 00000000ffffffff RDI: 0000000000000000 RBP: ffffc9000026f6e8 R08: 0000000000000008 R09: 0000000000000010 R10: dffffc0000000000 R11: fffffbfff237c8b8 R12: ffff88804ee75e00 R13: 0000000000000a5a R14: dffffc0000000000 R15: 0000000000000010 FS: 0000000000000000(0000) GS:ffff88808a9f4000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fdb50b78000 CR3: 000000000ff48000 CR4: 0000000000352ef0 Call Trace: _ocfs2_free_clusters+0x5c6/0xa80 fs/ocfs2/suballoc.c:3189 ocfs2_replay_truncate_records fs/ocfs2/alloc.c:6018 [inline] __ocfs2_flush_truncate_log+0x762/0x1230 fs/ocfs2/alloc.c:6101 ocfs2_flush_truncate_log fs/ocfs2/alloc.c:6123 [inline] ocfs2_truncate_log_worker+0xa2/0x1a0 fs/ocfs2/alloc.c:6136 process_one_work kernel/workqueue.c:3495 [inline] process_scheduled_works+0xc3d/0x1630 kernel/workqueue.c:3578 worker_thread+0xa47/0xfb0 kernel/workqueue.c:3659 kthread+0x38b/0x480 kernel/kthread.c:436 ret_from_fork+0x514/0xb70 arch/x86/kernel/process.c:158 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245 Modules linked in: ---[ end trace 0000000000000000 ]---