------------[ cut here ]------------ kernel BUG at fs/ocfs2/alloc.c:6002! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 0 PID: 6282 Comm: syz.5.570 Not tainted 5.15.179-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025 RIP: 0010:__ocfs2_flush_truncate_log+0x1077/0x11c0 fs/ocfs2/alloc.c:6002 Code: ff 89 d9 80 e1 07 80 c1 03 38 c1 0f 8c 8a fb ff ff 48 89 df e8 1a f5 8f fe e9 7d fb ff ff e8 60 02 46 fe 0f 0b e8 59 02 46 fe <0f> 0b 65 44 8b 2d e7 7a c7 7c bf 07 00 00 00 44 89 ee e8 a2 05 46 RSP: 0018:ffffc9000354f5a0 EFLAGS: 00010293 RAX: ffffffff833a9a67 RBX: 00000000ffffffff RCX: ffff888027dd8000 RDX: 0000000000000000 RSI: 00000000ffffffff RDI: 0000000000000000 RBP: ffffc9000354f7b0 R08: ffffffff833a8bbe R09: fffff520006a9e9d R10: 0000000000000000 R11: dffffc0000000001 R12: ffffc9000354f6c0 R13: ffff88805655c178 R14: ffff888019df4a00 R15: ffff88813fea9000 FS: 0000000000000000(0000) GS:ffff8880b8e00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000110c250ac4 CR3: 000000006156c000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: ocfs2_flush_truncate_log+0x4b/0x60 fs/ocfs2/alloc.c:6067 ocfs2_sync_fs+0x121/0x380 fs/ocfs2/super.c:403 sync_filesystem+0x1bc/0x220 fs/sync.c:66 generic_shutdown_super+0x6b/0x310 fs/super.c:448 kill_block_super+0x7a/0xe0 fs/super.c:1427 deactivate_locked_super+0xa0/0x110 fs/super.c:335 cleanup_mnt+0x44e/0x500 fs/namespace.c:1143 task_work_run+0x129/0x1a0 kernel/task_work.c:188 exit_task_work include/linux/task_work.h:33 [inline] do_exit+0x6a3/0x2480 kernel/exit.c:874 do_group_exit+0x144/0x310 kernel/exit.c:996 get_signal+0xc66/0x14e0 kernel/signal.c:2900 arch_do_signal_or_restart+0xc3/0x1890 arch/x86/kernel/signal.c:867 handle_signal_work kernel/entry/common.c:154 [inline] exit_to_user_mode_loop+0x97/0x130 kernel/entry/common.c:178 exit_to_user_mode_prepare+0xb1/0x140 kernel/entry/common.c:214 __syscall_exit_to_user_mode_work kernel/entry/common.c:296 [inline] syscall_exit_to_user_mode+0x5d/0x240 kernel/entry/common.c:307 do_syscall_64+0x47/0xb0 arch/x86/entry/common.c:86 entry_SYSCALL_64_after_hwframe+0x66/0xd0 RIP: 0033:0x7f66d01eda25 Code: Unable to access opcode bytes at RIP 0x7f66d01ed9fb. RSP: 002b:00007f66ce023f80 EFLAGS: 00000293 ORIG_RAX: 00000000000000e6 RAX: fffffffffffffdfc RBX: 00007f66d03d3fa0 RCX: 00007f66d01eda25 RDX: 00007f66ce023fc0 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 00007f66d023c2a0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000000 R13: 0000000000000001 R14: 00007f66d03d3fa0 R15: 00007ffca521ad68 Modules linked in: ---[ end trace a8d7d67e600768cc ]--- RIP: 0010:__ocfs2_flush_truncate_log+0x1077/0x11c0 fs/ocfs2/alloc.c:6002 Code: ff 89 d9 80 e1 07 80 c1 03 38 c1 0f 8c 8a fb ff ff 48 89 df e8 1a f5 8f fe e9 7d fb ff ff e8 60 02 46 fe 0f 0b e8 59 02 46 fe <0f> 0b 65 44 8b 2d e7 7a c7 7c bf 07 00 00 00 44 89 ee e8 a2 05 46 RSP: 0018:ffffc9000354f5a0 EFLAGS: 00010293 RAX: ffffffff833a9a67 RBX: 00000000ffffffff RCX: ffff888027dd8000 RDX: 0000000000000000 RSI: 00000000ffffffff RDI: 0000000000000000 RBP: ffffc9000354f7b0 R08: ffffffff833a8bbe R09: fffff520006a9e9d R10: 0000000000000000 R11: dffffc0000000001 R12: ffffc9000354f6c0 R13: ffff88805655c178 R14: ffff888019df4a00 R15: ffff88813fea9000 FS: 0000000000000000(0000) GS:ffff8880b8e00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ffb82756ab8 CR3: 0000000061584000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400