bcachefs (loop0): flushing journal and stopping allocators, journal seq 25 bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 25 ------------[ cut here ]------------ journal shutdown error: cur seq 25 but last empty seq 24 WARNING: CPU: 1 PID: 6540 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: 6540 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 : ffff80009f9277a0 x29: ffff80009f927870 x28: 1fffe0002024953e x27: 1fffe00020249300 x26: dfff800000000000 x25: ffff700013f24ef8 x24: 0000000000000019 x23: 0000000000000018 x22: 0000000000000019 x21: ffff00010124aa28 x20: ffff000101249800 x19: ffff000101249840 x18: 1fffe00033799a88 x17: ffff80008f7de000 x16: ffff80008b01d6e0 x15: 0000000000000001 x14: 1fffe00033799af2 x13: 0000000000000000 x12: 0000000000000000 x11: ffff600033799af3 x10: 0000000000ff0100 x9 : 0de1b41c7b103d00 x8 : 0de1b41c7b103d00 x7 : ffff80008056556c x6 : 0000000000000000 x5 : 0000000000000000 x4 : 0000000000000000 x3 : ffff8000807e0064 x2 : 0000000000000001 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: 1673058 hardirqs last enabled at (1673057): [] vprintk_store+0x898/0xac8 kernel/printk/printk.c:2356 hardirqs last disabled at (1673058): [] el1_brk64+0x20/0x54 arch/arm64/kernel/entry-common.c:434 softirqs last enabled at (1672780): [] local_bh_enable+0x10/0x34 include/linux/bottom_half.h:32 softirqs last disabled at (1672778): [] local_bh_disable+0x10/0x34 include/linux/bottom_half.h:19 ---[ end trace 0000000000000000 ]--- bcachefs (loop0): 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: 1 UID: 0 PID: 6540 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 : ffff80009f927940 x29: ffff80009f927a40 x28: ffff80009f927960 x27: 1fffe00020240035 x26: 00000000003fffff x25: dfff800000000000 x24: ffff700013f24f2c x23: 00000000001023be x22: 0000000000000018 x21: 0000000000000019 x20: ffff0001012006e2 x19: ffff000101200000 x18: 1fffe00033799a88 x17: ffff80008f7de000 x16: ffff80008052a464 x15: 0000000000000001 x14: 1fffe0002024953e x13: 0000000000000000 x12: 0000000000000000 x11: ffff60002024953f x10: 0000000000ff0100 x9 : 0000000000000000 x8 : ffff0000ce6e0000 x7 : ffff800082b2a658 x6 : 0000000000000000 x5 : 0000000000000000 x4 : 0000000000000000 x3 : ffff800082b1d7f4 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 97704df3 (d4210000) ---[ end trace 0000000000000000 ]---