bcachefs (loop3): flushing journal and stopping allocators complete, journal seq 25 ------------[ cut here ]------------ journal shutdown error: cur seq 25 but last empty seq 24 WARNING: CPU: 0 PID: 6538 at fs/bcachefs/journal.c:1472 bch2_fs_journal_stop+0x394/0x3cc fs/bcachefs/journal.c:1468 Modules linked in: CPU: 0 UID: 0 PID: 6538 Comm: syz-executor Not tainted syzkaller #0 PREEMPT Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/30/2025 pstate: 63400005 (nZCv daif +PAN -UAO +TCO +DIT -SSBS BTYPE=--) pc : bch2_fs_journal_stop+0x394/0x3cc fs/bcachefs/journal.c:1468 lr : bch2_fs_journal_stop+0x394/0x3cc fs/bcachefs/journal.c:1468 sp : ffff80009fc777a0 x29: ffff80009fc77870 x28: 1fffe00024d9953e x27: 1fffe00024d99300 x26: dfff800000000000 x25: ffff700013f8eef8 x24: 0000000000000019 x23: 0000000000000018 x22: 0000000000000019 x21: ffff000126ccaa28 x20: ffff000126cc9800 x19: ffff000126cc9840 x18: 1fffe0003378f088 x17: ffff80008f7ee000 x16: ffff80008b021030 x15: 0000000000000001 x14: 1fffe00033791b00 x13: 0000000000000000 x12: 0000000000000000 x11: ffff800093339c28 x10: 0000000000000003 x9 : 8b3aa04d69f99900 x8 : 8b3aa04d69f99900 x7 : ffff800080493090 x6 : 0000000000000000 x5 : 0000000000000001 x4 : 0000000000000001 x3 : 0000000000000010 x2 : 0000000000000006 x1 : ffff80008b678a40 x0 : 0000000000000001 Call trace: bch2_fs_journal_stop+0x394/0x3cc fs/bcachefs/journal.c:1468 (P) __bch2_fs_read_only+0x2ac/0x4dc fs/bcachefs/super.c:306 bch2_fs_read_only+0x344/0x960 fs/bcachefs/super.c:366 __bch2_fs_stop+0x104/0x800 fs/bcachefs/super.c:677 bch2_put_super+0x40/0x50 fs/bcachefs/fs.c:2365 generic_shutdown_super+0x12c/0x2b8 fs/super.c:643 bch2_kill_sb+0x40/0x58 fs/bcachefs/fs.c:2618 deactivate_locked_super+0xc4/0x12c fs/super.c:474 deactivate_super+0xe0/0x100 fs/super.c:507 cleanup_mnt+0x31c/0x3ac fs/namespace.c:1375 __cleanup_mnt+0x20/0x30 fs/namespace.c:1382 task_work_run+0x1dc/0x260 kernel/task_work.c:227 resume_user_mode_work include/linux/resume_user_mode.h:50 [inline] exit_to_user_mode_loop+0xfc/0x168 kernel/entry/common.c:43 exit_to_user_mode_prepare include/linux/irq-entry-common.h:225 [inline] arm64_exit_to_user_mode arch/arm64/kernel/entry-common.c:103 [inline] el0_svc+0x170/0x254 arch/arm64/kernel/entry-common.c:745 el0t_64_sync_handler+0x84/0x12c arch/arm64/kernel/entry-common.c:763 el0t_64_sync+0x198/0x19c arch/arm64/kernel/entry.S:596 irq event stamp: 684406 hardirqs last enabled at (684405): [] raw_spin_rq_unlock_irq kernel/sched/sched.h:1531 [inline] hardirqs last enabled at (684405): [] finish_lock_switch+0xb0/0x1c0 kernel/sched/core.c:5105 hardirqs last disabled at (684406): [] el1_brk64+0x20/0x54 arch/arm64/kernel/entry-common.c:434 softirqs last enabled at (684126): [] local_bh_enable+0x10/0x34 include/linux/bottom_half.h:32 softirqs last disabled at (684124): [] local_bh_disable+0x10/0x34 include/linux/bottom_half.h:19 ---[ end trace 0000000000000000 ]--- bcachefs (loop3): clean shutdown complete, journal seq 25 ------------[ cut here ]------------ kernel BUG at fs/bcachefs/super.c:384! Internal error: Oops - BUG: 00000000f2000800 [#1] SMP Modules linked in: CPU: 0 UID: 0 PID: 6538 Comm: syz-executor Tainted: G W syzkaller #0 PREEMPT Tainted: [W]=WARN Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/30/2025 pstate: 83400005 (Nzcv daif +PAN -UAO +TCO +DIT -SSBS BTYPE=--) pc : bch2_fs_read_only+0x93c/0x960 fs/bcachefs/super.c:384 lr : bch2_fs_read_only+0x93c/0x960 fs/bcachefs/super.c:384 sp : ffff80009fc77940 x29: ffff80009fc77a40 x28: ffff80009fc77960 x27: 1fffe00024d90035 x26: 00000000003fffff x25: dfff800000000000 x24: ffff700013f8ef2c x23: 00000000001023be x22: 0000000000000018 x21: 0000000000000019 x20: ffff000126c806e2 x19: ffff000126c80000 x18: 1fffe0003378f088 x17: ffff80008f7ee000 x16: ffff80008052aa64 x15: 0000000000000001 x14: 1fffe00024d9953e x13: 0000000000000000 x12: 0000000000000000 x11: ffff600024d9953f x10: 0000000000ff0100 x9 : 0000000000000000 x8 : ffff0000caa95b80 x7 : ffff800082b2bd7c x6 : 0000000000000000 x5 : 0000000000000000 x4 : 0000000000000000 x3 : ffff800082b1ef18 x2 : 0000000000000000 x1 : 0000000000000019 x0 : 0000000000000018 Call trace: bch2_fs_read_only+0x93c/0x960 fs/bcachefs/super.c:384 (P) __bch2_fs_stop+0x104/0x800 fs/bcachefs/super.c:677 bch2_put_super+0x40/0x50 fs/bcachefs/fs.c:2365 generic_shutdown_super+0x12c/0x2b8 fs/super.c:643 bch2_kill_sb+0x40/0x58 fs/bcachefs/fs.c:2618 deactivate_locked_super+0xc4/0x12c fs/super.c:474 deactivate_super+0xe0/0x100 fs/super.c:507 cleanup_mnt+0x31c/0x3ac fs/namespace.c:1375 __cleanup_mnt+0x20/0x30 fs/namespace.c:1382 task_work_run+0x1dc/0x260 kernel/task_work.c:227 resume_user_mode_work include/linux/resume_user_mode.h:50 [inline] exit_to_user_mode_loop+0xfc/0x168 kernel/entry/common.c:43 exit_to_user_mode_prepare include/linux/irq-entry-common.h:225 [inline] arm64_exit_to_user_mode arch/arm64/kernel/entry-common.c:103 [inline] el0_svc+0x170/0x254 arch/arm64/kernel/entry-common.c:745 el0t_64_sync_handler+0x84/0x12c arch/arm64/kernel/entry-common.c:763 el0t_64_sync+0x198/0x19c arch/arm64/kernel/entry.S:596 Code: c80a7ea9 35ffffaa 17fffee3 977049b3 (d4210000) ---[ end trace 0000000000000000 ]---