------------[ cut here ]------------ kernel BUG at fs/ocfs2/suballoc.c:2501! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 1 PID: 18125 Comm: syz-executor Not tainted syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/24/2026 RIP: 0010:_ocfs2_free_suballoc_bits+0xda3/0x1030 fs/ocfs2/suballoc.c:2501 Code: 7f fa ff ff 49 89 fd 48 8b 7c 24 18 e8 96 7f 75 fe 4c 89 ef 48 8b 54 24 18 e9 65 fa ff ff e8 44 02 1d fe 0f 0b e8 3d 02 1d fe <0f> 0b 65 44 8b 35 0f 48 99 7c bf 07 00 00 00 44 89 f6 e8 d6 05 1d RSP: 0018:ffffc90004dc7740 EFLAGS: 00010293 RAX: ffffffff836a7033 RBX: 0000001fffff0000 RCX: ffff88802a79da00 RDX: 0000000000000000 RSI: 0000000000000e00 RDI: 000000008a3a2a57 RBP: ffffc90004dc78c8 R08: 0000001fffff0000 R09: 000000008a3a2258 R10: dffffc0000000000 R11: fffffbfff1d190ce R12: dffffc0000000000 R13: 0000000000000e00 R14: 0000000000000e00 R15: 000000008a3a2a57 FS: 000055557fea5500(0000) GS:ffff8880b8f00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f0ca9b4dff8 CR3: 00000000627b4000 CR4: 00000000003506e0 DR0: ffffffffffffffff DR1: 00000000000001f8 DR2: 0000000000000002 DR3: ffffffffefffff15 DR6: 00000000ffff0ff0 DR7: 0000000000000400 Call Trace: _ocfs2_free_clusters+0x5ed/0xa80 fs/ocfs2/suballoc.c:2601 ocfs2_replay_truncate_records fs/ocfs2/alloc.c:5971 [inline] __ocfs2_flush_truncate_log+0x717/0x1130 fs/ocfs2/alloc.c:6054 ocfs2_flush_truncate_log+0x4f/0x60 fs/ocfs2/alloc.c:6076 ocfs2_sync_fs+0x11d/0x330 fs/ocfs2/super.c:402 sync_filesystem+0x1c2/0x220 fs/sync.c:66 generic_shutdown_super+0x6f/0x2b0 fs/super.c:666 kill_block_super+0x44/0x90 fs/super.c:1668 deactivate_locked_super+0x97/0x100 fs/super.c:481 cleanup_mnt+0x3d7/0x460 fs/namespace.c:1259 task_work_run+0x1d4/0x260 kernel/task_work.c:245 resume_user_mode_work include/linux/resume_user_mode.h:49 [inline] exit_to_user_mode_loop+0xe6/0x110 kernel/entry/common.c:177 exit_to_user_mode_prepare+0xee/0x180 kernel/entry/common.c:210 __syscall_exit_to_user_mode_work kernel/entry/common.c:291 [inline] syscall_exit_to_user_mode+0x1a/0x50 kernel/entry/common.c:302 do_syscall_64+0x61/0xb0 arch/x86/entry/common.c:82 entry_SYSCALL_64_after_hwframe+0x68/0xd2 RIP: 0033:0x7f084719f317 Code: a2 c7 05 dc 43 25 00 00 00 00 00 eb 96 e8 e1 12 00 00 90 31 f6 e9 09 00 00 00 66 0f 1f 84 00 00 00 00 00 b8 a6 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 01 c3 48 c7 c2 e8 ff ff ff f7 d8 64 89 02 b8 RSP: 002b:00007fff2acb4d78 EFLAGS: 00000246 ORIG_RAX: 00000000000000a6 RAX: 0000000000000000 RBX: 00007f0847234474 RCX: 00007f084719f317 RDX: 0000000000000000 RSI: 0000000000000009 RDI: 00007fff2acb4e30 RBP: 00007fff2acb4e30 R08: 00007fff2acb5e30 R09: 00000000ffffffff R10: 0000000000000000 R11: 0000000000000246 R12: 00007fff2acb5ec0 R13: 00007f0847234474 R14: 000000000013827d R15: 00007fff2acb5f00 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:_ocfs2_free_suballoc_bits+0xda3/0x1030 fs/ocfs2/suballoc.c:2501 Code: 7f fa ff ff 49 89 fd 48 8b 7c 24 18 e8 96 7f 75 fe 4c 89 ef 48 8b 54 24 18 e9 65 fa ff ff e8 44 02 1d fe 0f 0b e8 3d 02 1d fe <0f> 0b 65 44 8b 35 0f 48 99 7c bf 07 00 00 00 44 89 f6 e8 d6 05 1d RSP: 0018:ffffc90004dc7740 EFLAGS: 00010293 RAX: ffffffff836a7033 RBX: 0000001fffff0000 RCX: ffff88802a79da00 RDX: 0000000000000000 RSI: 0000000000000e00 RDI: 000000008a3a2a57 RBP: ffffc90004dc78c8 R08: 0000001fffff0000 R09: 000000008a3a2258 R10: dffffc0000000000 R11: fffffbfff1d190ce R12: dffffc0000000000 R13: 0000000000000e00 R14: 0000000000000e00 R15: 000000008a3a2a57 FS: 000055557fea5500(0000) GS:ffff8880b8e00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b30622ff8 CR3: 00000000627b4000 CR4: 00000000003506f0 DR0: ffffffffffffffff DR1: 00000000000001f8 DR2: 0000000000000002 DR3: ffffffffefffff15 DR6: 00000000ffff0ff0 DR7: 0000000000000400