bcachefs (loop1): flushing journal and stopping allocators, journal seq 13 bcachefs (loop1): flushing journal and stopping allocators complete, journal seq 13 ------------[ cut here ]------------ kernel BUG at fs/bcachefs/journal.c:413! Internal error: Oops - BUG: 00000000f2000800 [#1] SMP Modules linked in: CPU: 0 UID: 0 PID: 7324 Comm: syz.1.136 Not tainted 6.15.0-rc2-syzkaller-gc72692105976 #0 PREEMPT Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025 pstate: 60400005 (nZCv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--) pc : journal_entry_open fs/bcachefs/journal.c:413 [inline] pc : __journal_res_get+0x1c78/0x1fe4 fs/bcachefs/journal.c:616 lr : journal_entry_open fs/bcachefs/journal.c:413 [inline] lr : __journal_res_get+0x1c78/0x1fe4 fs/bcachefs/journal.c:616 sp : ffff8000a09e68c0 x29: ffff8000a09e6b20 x28: 1fffe0001e4a94f7 x27: ffff0000cf4b0000 x26: 0000000000000000 x25: 1fffe0001e4a94f9 x24: dfff800000000000 x23: 1fffe0001e4a92b9 x22: ffff0000f25495dc x21: ffff0000f254a770 x20: ffff0000f25495cc x19: ffff0000f2549580 x18: 1fffe0003670dab6 x17: 6c706d6f63207372 x16: ffff8000805136b8 x15: 0000000000000001 x14: 1fffe0001e4a94ee x13: 0000000000000000 x12: 0000000000000000 x11: 0000000000080000 x10: 000000000007ffff x9 : ffff8000a586a000 x8 : 0000000000080000 x7 : ffff8000829616d8 x6 : 0000000000000000 x5 : 0000000000000000 x4 : 0000000000000001 x3 : ffff800082961d9c x2 : 0000000000000000 x1 : 0000000000000000 x0 : 0000000000000000 Call trace: journal_entry_open fs/bcachefs/journal.c:413 [inline] (P) __journal_res_get+0x1c78/0x1fe4 fs/bcachefs/journal.c:616 (P) bch2_journal_res_get_slowpath+0xe8/0x7c4 fs/bcachefs/journal.c:710 bch2_journal_res_get+0x138/0x1dc fs/bcachefs/journal.h:401 __bch2_journal_meta+0x4c/0x1a8 fs/bcachefs/journal.c:955 bch2_fs_journal_stop+0x1ac/0x3cc fs/bcachefs/journal.c:1366 __bch2_fs_read_only+0x2ac/0x430 fs/bcachefs/super.c:285 __bch2_fs_read_write+0x27c/0x49c fs/bcachefs/super.c:522 bch2_fs_read_write_early+0x2c/0x4c fs/bcachefs/super.c:541 bch2_set_may_go_rw+0x17c/0x2d8 fs/bcachefs/recovery_passes.c:50 bch2_run_recovery_pass+0xf0/0x1d0 fs/bcachefs/recovery_passes.c:226 bch2_run_recovery_passes+0x238/0x960 fs/bcachefs/recovery_passes.c:285 bch2_fs_recovery+0x1aac/0x2d30 fs/bcachefs/recovery.c:936 bch2_fs_start+0x298/0x588 fs/bcachefs/super.c:1059 bch2_fs_get_tree+0xa0c/0xef4 fs/bcachefs/fs.c:2253 vfs_get_tree+0x90/0x28c fs/super.c:1759 do_new_mount+0x228/0x814 fs/namespace.c:3879 path_mount+0x5b4/0xde0 fs/namespace.c:4206 do_mount fs/namespace.c:4219 [inline] __do_sys_mount fs/namespace.c:4430 [inline] __se_sys_mount fs/namespace.c:4407 [inline] __arm64_sys_mount+0x3e8/0x468 fs/namespace.c:4407 __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/0x150 arch/arm64/kernel/entry-common.c:744 el0t_64_sync_handler+0x78/0x108 arch/arm64/kernel/entry-common.c:762 el0t_64_sync+0x198/0x19c arch/arm64/kernel/entry.S:600 Code: d4210000 9776b449 d4210000 9776b447 (d4210000) ---[ end trace 0000000000000000 ]---