bcachefs (loop3): flushing journal and stopping allocators, journal seq 24 bcachefs (loop3): flushing journal and stopping allocators complete, journal seq 24 ------------[ cut here ]------------ journal shutdown error: cur seq 24 but last empty seq 23 WARNING: CPU: 1 PID: 6537 at fs/bcachefs/journal.c:1472 bch2_fs_journal_stop+0x394/0x3cc fs/bcachefs/journal.c:1468 Modules linked in: CPU: 1 UID: 0 PID: 6537 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 : ffff80009f9377a0 x29: ffff80009f937870 x28: 1fffe00020a4953e x27: 1fffe00020a49300 x26: dfff800000000000 x25: ffff700013f26ef8 x24: 0000000000000018 x23: 0000000000000017 x22: 0000000000000018 x21: ffff00010524aa28 x20: ffff000105249800 x19: ffff000105249840 x18: 1fffe00033793888 x17: ffff80008f7ee000 x16: ffff80008b020930 x15: 0000000000000001 x14: 1ffff00013f26e64 x13: 0000000000000000 x12: 0000000000000000 x11: 0000000000000000 x10: 0000000000ff0100 x9 : 04a2b56960ce0900 x8 : 04a2b56960ce0900 x7 : ffff80008056536c x6 : 0000000000000000 x5 : 0000000000000000 x4 : 0000000000000000 x3 : ffff8000807e00b4 x2 : 0000000000000002 x1 : 0000000100000000 x0 : 0000000000000000 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: 447488 hardirqs last enabled at (447487): [] irqentry_exit+0xd8/0x108 kernel/entry/common.c:214 hardirqs last disabled at (447488): [] el1_brk64+0x20/0x54 arch/arm64/kernel/entry-common.c:434 softirqs last enabled at (447116): [] local_bh_enable+0x10/0x34 include/linux/bottom_half.h:32 softirqs last disabled at (447114): [] local_bh_disable+0x10/0x34 include/linux/bottom_half.h:19 ---[ end trace 0000000000000000 ]--- bcachefs (loop3): clean shutdown complete, journal seq 24 ------------[ cut here ]------------ kernel BUG at fs/bcachefs/super.c:384! Internal error: Oops - BUG: 00000000f2000800 [#1] SMP Modules linked in: CPU: 1 UID: 0 PID: 6537 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 : ffff80009f937940 x29: ffff80009f937a40 x28: ffff80009f937960 x27: 1fffe00020a40035 x26: 00000000003fffff x25: dfff800000000000 x24: ffff700013f26f2c x23: 00000000001023be x22: 0000000000000017 x21: 0000000000000018 x20: ffff0001052006e2 x19: ffff000105200000 x18: 1fffe00033793888 x17: ffff80008f7ee000 x16: ffff80008052a264 x15: 0000000000000001 x14: 1fffe00020a4953e x13: 0000000000000000 x12: 0000000000000000 x11: ffff600020a4953f x10: 0000000000ff0100 x9 : 0000000000000000 x8 : ffff0000c9138000 x7 : ffff800082b2b57c x6 : 0000000000000000 x5 : 0000000000000000 x4 : 0000000000000000 x3 : ffff800082b1e718 x2 : 0000000000000000 x1 : 0000000000000018 x0 : 0000000000000017 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 ]---