bcachefs (loop2): flushing journal and stopping allocators, journal seq 13 bcachefs (loop2): flushing journal and stopping allocators complete, journal seq 13 ------------[ cut here ]------------ kernel BUG at fs/bcachefs/journal.c:397! Internal error: Oops - BUG: 00000000f2000800 [#1] SMP Modules linked in: CPU: 0 UID: 0 PID: 7066 Comm: syz.2.84 Not tainted 6.16.0-rc5-syzkaller-gec4801305969 #0 PREEMPT Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025 pstate: 80400005 (Nzcv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--) pc : journal_entry_open fs/bcachefs/journal.c:397 [inline] pc : __journal_res_get+0x1d90/0x20ec fs/bcachefs/journal.c:639 lr : journal_entry_open fs/bcachefs/journal.c:397 [inline] lr : __journal_res_get+0x1d90/0x20ec fs/bcachefs/journal.c:639 sp : ffff8000a27572c0 x29: ffff8000a2757520 x28: ffff7000144eae84 x27: 00000000007ffffe x26: ffff0000dbc44090 x25: 1fffe0001eb7951b x24: dfff800000000000 x23: 0000000000001098 x22: 1fffe0001eb79300 x21: 8111000080100103 x20: 000000000000000d x19: ffff0000f5bc9800 x18: 00000000ffffffff x17: 6c706d6f63207372 x16: ffff80008051fb20 x15: 0000000000000001 x14: 1fffe0001eb7953e x13: 0000000000000000 x12: 0000000000000000 x11: ffff60001eb7953f x10: 0000000000ff0100 x9 : 0000000000000000 x8 : ffff0000ce33db80 x7 : ffff8000829c8660 x6 : 0000000000000000 x5 : 0000000000000000 x4 : 0000000000000001 x3 : ffff8000829c88b0 x2 : 0000000000000000 x1 : 0000000000000002 x0 : 0000000000000000 Call trace: journal_entry_open fs/bcachefs/journal.c:397 [inline] (P) __journal_res_get+0x1d90/0x20ec fs/bcachefs/journal.c:639 (P) bch2_journal_res_get_slowpath+0xe8/0x904 fs/bcachefs/journal.c:734 bch2_journal_res_get+0x138/0x1dc fs/bcachefs/journal.h:401 __bch2_journal_meta+0x4c/0x1a8 fs/bcachefs/journal.c:980 bch2_fs_journal_stop+0x1ac/0x3cc fs/bcachefs/journal.c:1462 __bch2_fs_read_only+0x2ac/0x4dc fs/bcachefs/super.c:306 __bch2_fs_read_write+0x150/0x5ec fs/bcachefs/super.c:553 bch2_fs_read_write+0xe0/0x138 fs/bcachefs/super.c:569 bch2_fs_reconfigure+0x208/0x358 fs/bcachefs/fs.c:2675 reconfigure_super+0x1d4/0x6f0 fs/super.c:1077 do_remount fs/namespace.c:3386 [inline] path_mount+0xb34/0xde0 fs/namespace.c:4218 do_mount fs/namespace.c:4239 [inline] __do_sys_mount fs/namespace.c:4450 [inline] __se_sys_mount fs/namespace.c:4427 [inline] __arm64_sys_mount+0x3e8/0x468 fs/namespace.c:4427 __invoke_syscall arch/arm64/kernel/syscall.c:35 [inline] invoke_syscall+0x98/0x2b8 arch/arm64/kernel/syscall.c:49 el0_svc_common+0x130/0x23c arch/arm64/kernel/syscall.c:132 do_el0_svc+0x48/0x58 arch/arm64/kernel/syscall.c:151 el0_svc+0x58/0x180 arch/arm64/kernel/entry-common.c:879 el0t_64_sync_handler+0x84/0x12c arch/arm64/kernel/entry-common.c:898 el0t_64_sync+0x198/0x19c arch/arm64/kernel/entry.S:596 Code: 97609c5a 97755822 d4210000 97755820 (d4210000) ---[ end trace 0000000000000000 ]---