------------[ cut here ]------------ kernel BUG at fs/ocfs2/suballoc.c:2542! Oops: invalid opcode: 0000 [#1] PREEMPT SMP KASAN PTI CPU: 0 UID: 0 PID: 5216 Comm: syz-executor Not tainted 6.12.0-rc4-syzkaller-00047-gc2ee9f594da8 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 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 f9 2e 68 fe e9 85 fb ff ff e8 6f 8c 01 fe 90 <0f> 0b e8 67 8c 01 fe 90 0f 0b f3 0f 1e fa 65 8b 1d 55 8c 70 7c bf RSP: 0018:ffffc90003cf7560 EFLAGS: 00010293 RAX: ffffffff83934b21 RBX: 00000000ffffffff RCX: ffff888021ec5a00 RDX: 0000000000000000 RSI: 00000000ffffffff RDI: 0000000000000000 RBP: ffffc90003cf7708 R08: ffffffff83933a7c R09: 0000000000000009 R10: dffffc0000000000 R11: fffffbfff2037a56 R12: ffff88805db58e80 R13: dffffc0000000000 R14: ffff8880250bce00 R15: dffffc0000000000 FS: 0000000000000000(0000) GS:ffff8880b8600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055651569c308 CR3: 000000006fbae000 CR4: 00000000003526f0 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+0x4f/0x70 fs/ocfs2/alloc.c:6076 ocfs2_sync_fs+0x125/0x390 fs/ocfs2/super.c:402 sync_filesystem+0x1c8/0x230 fs/sync.c:66 generic_shutdown_super+0x72/0x2d0 fs/super.c:621 kill_block_super+0x44/0x90 fs/super.c:1696 deactivate_locked_super+0xc4/0x130 fs/super.c:473 cleanup_mnt+0x41f/0x4b0 fs/namespace.c:1373 task_work_run+0x24f/0x310 kernel/task_work.c:239 exit_task_work include/linux/task_work.h:43 [inline] do_exit+0xa2f/0x28e0 kernel/exit.c:939 do_group_exit+0x207/0x2c0 kernel/exit.c:1088 __do_sys_exit_group kernel/exit.c:1099 [inline] __se_sys_exit_group kernel/exit.c:1097 [inline] __x64_sys_exit_group+0x3f/0x40 kernel/exit.c:1097 x64_sys_call+0x2634/0x2640 arch/x86/include/generated/asm/syscalls_64.h:232 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7eff4c57dff9 Code: Unable to access opcode bytes at 0x7eff4c57dfcf. RSP: 002b:00007ffe4026a918 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 RAX: ffffffffffffffda RBX: 00007eff4c5f01a6 RCX: 00007eff4c57dff9 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000001 RBP: 0000000000000010 R08: 00007ffe402686b6 R09: 00007ffe4026bbd0 R10: 0000000000000000 R11: 0000000000000246 R12: 00007ffe4026bbd0 R13: 00007eff4c5f0134 R14: 000055555b2894a8 R15: 00007ffe4026cc90 Modules linked in: ---[ end trace 0000000000000000 ]--- 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 f9 2e 68 fe e9 85 fb ff ff e8 6f 8c 01 fe 90 <0f> 0b e8 67 8c 01 fe 90 0f 0b f3 0f 1e fa 65 8b 1d 55 8c 70 7c bf RSP: 0018:ffffc90003cf7560 EFLAGS: 00010293 RAX: ffffffff83934b21 RBX: 00000000ffffffff RCX: ffff888021ec5a00 RDX: 0000000000000000 RSI: 00000000ffffffff RDI: 0000000000000000 RBP: ffffc90003cf7708 R08: ffffffff83933a7c R09: 0000000000000009 R10: dffffc0000000000 R11: fffffbfff2037a56 R12: ffff88805db58e80 R13: dffffc0000000000 R14: ffff8880250bce00 R15: dffffc0000000000 FS: 0000000000000000(0000) GS:ffff8880b8600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00005565155e8778 CR3: 00000000658b4000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400