------------[ cut here ]------------ kernel BUG at fs/ocfs2/alloc.c:6011! Oops: invalid opcode: 0000 [#1] PREEMPT SMP KASAN PTI CPU: 0 UID: 0 PID: 6350 Comm: syz-executor Not tainted 6.12.0-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 RIP: 0010:__ocfs2_flush_truncate_log+0x10d3/0x1220 fs/ocfs2/alloc.c:6011 Code: ff 89 d9 80 e1 07 80 c1 03 38 c1 0f 8c 6f fb ff ff 48 89 df e8 ce d1 7a fe e9 62 fb ff ff e8 b4 e3 12 fe 0f 0b e8 ad e3 12 fe <0f> 0b f3 0f 1e fa 65 44 8b 2d bb 5d 7a 7c bf 07 00 00 00 44 89 ee RSP: 0018:ffffc900030e79c0 EFLAGS: 00010293 RAX: ffffffff83897843 RBX: 00000000ffffffff RCX: ffff88807aecda00 RDX: 0000000000000000 RSI: 00000000ffffffff RDI: 0000000000000000 RBP: ffffc900030e7bd0 R08: ffffffff8389692e R09: 1ffff9200061cf28 R10: dffffc0000000000 R11: fffff5200061cf29 R12: 1ffff9200061cf4c R13: ffff88806d8db338 R14: ffff88801e356a00 R15: ffff88807f058800 FS: 000055556e7d1500(0000) GS:ffff8880b8800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055f226346000 CR3: 000000002dfb6000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: 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:1710 deactivate_locked_super+0xc4/0x120 fs/super.c:473 cleanup_mnt+0x41f/0x4b0 fs/namespace.c:1373 task_work_run+0x24f/0x310 kernel/task_work.c:239 resume_user_mode_work include/linux/resume_user_mode.h:50 [inline] exit_to_user_mode_loop kernel/entry/common.c:114 [inline] exit_to_user_mode_prepare include/linux/entry-common.h:329 [inline] __syscall_exit_to_user_mode_work kernel/entry/common.c:207 [inline] syscall_exit_to_user_mode+0x13e/0x330 kernel/entry/common.c:218 do_syscall_64+0x8e/0x160 arch/x86/entry/common.c:89 entry_SYSCALL_64_after_hwframe+0x76/0x7e RIP: 0033:0x7f3dc3181b77 Code: a8 ff ff ff f7 d8 64 89 01 48 83 c8 ff c3 0f 1f 44 00 00 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 a8 ff ff ff f7 d8 64 89 02 b8 RSP: 002b:00007ffc4f42ade8 EFLAGS: 00000246 ORIG_RAX: 00000000000000a6 RAX: 0000000000000000 RBX: 0000000000000000 RCX: 00007f3dc3181b77 RDX: 0000000000000000 RSI: 0000000000000009 RDI: 00007ffc4f42aea0 RBP: 00007ffc4f42aea0 R08: 0000000000000000 R09: 0000000000000000 R10: 00000000ffffffff R11: 0000000000000246 R12: 00007ffc4f42bf20 R13: 00007f3dc31f3824 R14: 000000000001e002 R15: 00007ffc4f42bf60 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:__ocfs2_flush_truncate_log+0x10d3/0x1220 fs/ocfs2/alloc.c:6011 Code: ff 89 d9 80 e1 07 80 c1 03 38 c1 0f 8c 6f fb ff ff 48 89 df e8 ce d1 7a fe e9 62 fb ff ff e8 b4 e3 12 fe 0f 0b e8 ad e3 12 fe <0f> 0b f3 0f 1e fa 65 44 8b 2d bb 5d 7a 7c bf 07 00 00 00 44 89 ee RSP: 0018:ffffc900030e79c0 EFLAGS: 00010293 RAX: ffffffff83897843 RBX: 00000000ffffffff RCX: ffff88807aecda00 RDX: 0000000000000000 RSI: 00000000ffffffff RDI: 0000000000000000 RBP: ffffc900030e7bd0 R08: ffffffff8389692e R09: 1ffff9200061cf28 R10: dffffc0000000000 R11: fffff5200061cf29 R12: 1ffff9200061cf4c R13: ffff88806d8db338 R14: ffff88801e356a00 R15: ffff88807f058800 FS: 000055556e7d1500(0000) GS:ffff8880b8900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000c0027d6000 CR3: 000000002dfb6000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400