bcachefs (loop2): flushing journal and stopping allocators, journal seq 13 bcachefs (loop2): flushing journal and stopping allocators complete, journal seq 13 ------------[ cut here ]------------ journal shutdown error: cur seq 13 but last empty seq 14 WARNING: CPU: 1 PID: 5098 at fs/bcachefs/journal.c:1191 bch2_fs_journal_stop+0x5f3/0x630 fs/bcachefs/journal.c:1187 Modules linked in: CPU: 1 PID: 5098 Comm: syz-executor Not tainted 6.10.0-syzkaller-05505-gb1bc554e009e #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/07/2024 RIP: 0010:bch2_fs_journal_stop+0x5f3/0x630 fs/bcachefs/journal.c:1187 Code: 44 24 18 42 80 3c 20 00 48 8b 5c 24 20 74 08 48 89 df e8 d0 fd c6 fd 48 8b 13 48 c7 c7 a0 63 13 8c 4c 89 f6 e8 1e 2a 26 fd 90 <0f> 0b 90 90 e9 e4 fe ff ff 44 89 f1 80 e1 07 38 c1 0f 8c 7f fc ff RSP: 0000:ffffc900035a78a0 EFLAGS: 00010246 RAX: c87ed61051a0fb00 RBX: ffff88805cdcaaa0 RCX: ffff888019bd3c00 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000 RBP: ffffc900035a79e0 R08: ffffffff815877b2 R09: fffffbfff1c39d94 R10: dffffc0000000000 R11: fffffbfff1c39d94 R12: dffffc0000000000 R13: ffff88805cdca440 R14: 000000000000000d R15: 1ffff1100b9b9488 FS: 0000555573fc1500(0000) GS:ffff8880b9500000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fdb3f418000 CR3: 0000000066a9e000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __bch2_fs_read_only+0x30c/0x430 fs/bcachefs/super.c:291 bch2_fs_read_only+0xb52/0x1210 fs/bcachefs/super.c:356 __bch2_fs_stop+0x105/0x540 fs/bcachefs/super.c:617 generic_shutdown_super+0x136/0x2d0 fs/super.c:642 bch2_kill_sb+0x41/0x50 fs/bcachefs/fs.c:2051 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:222 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:328 [inline] __syscall_exit_to_user_mode_work kernel/entry/common.c:207 [inline] syscall_exit_to_user_mode+0x168/0x370 kernel/entry/common.c:218 do_syscall_64+0x100/0x230 arch/x86/entry/common.c:89 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f8da6576e07 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:00007fff5e92e218 EFLAGS: 00000246 ORIG_RAX: 00000000000000a6 RAX: 0000000000000000 RBX: 0000000000000000 RCX: 00007f8da6576e07 RDX: 0000000000000000 RSI: 0000000000000009 RDI: 00007fff5e92e2d0 RBP: 00007fff5e92e2d0 R08: 0000000000000000 R09: 0000000000000000 R10: 00000000ffffffff R11: 0000000000000246 R12: 00007fff5e92f390 R13: 00007f8da65e344c R14: 0000000000010908 R15: 000000000001011e