done bcachefs (loop3): going read-write bcachefs (loop3): journal_replay... ------------[ cut here ]------------ kernel BUG at fs/bcachefs/btree_write_buffer.c:147! Internal error: Oops - BUG: 00000000f2000800 [#1] PREEMPT SMP Modules linked in: CPU: 1 UID: 0 PID: 6562 Comm: syz.3.12 Not tainted 6.12.0-rc6-syzkaller-g563047e691f2 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 pstate: 80400005 (Nzcv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--) pc : wb_flush_one+0x15bc/0x1638 fs/bcachefs/btree_write_buffer.c:147 lr : wb_flush_one+0x15bc/0x1638 fs/bcachefs/btree_write_buffer.c:147 sp : ffff8000b01362a0 x29: ffff8000b01363c0 x28: ffff8000b071a4b0 x27: ffff8000b0136640 x26: ffff0000d5d48000 x25: ffff8000b01366d0 x24: ffff8000b0136720 x23: 000000000000000b x22: ffff700016026c64 x21: 070000000000000b x20: dfff800000000000 x19: ffff8000b0136320 x18: ffff8000b0135ac0 x17: 000000000001ecf3 x16: ffff80008b3e4508 x15: ffff700016026be1 x14: 1ffff00016026be0 x13: 0000000000000004 x12: ffffffffffffffff x11: ffff800082899bcc x10: 0000000000ff0100 x9 : 0000000000000000 x8 : ffff0000d4fa0000 x7 : 0000000000000000 x6 : 0000000000000000 x5 : ffff8000b01366d0 x4 : ffff8000b0136720 x3 : ffff8000b01366f0 x2 : ffff8000b071a4b0 x1 : 000000000000000b x0 : 070000000000000b Call trace: wb_flush_one+0x15bc/0x1638 fs/bcachefs/btree_write_buffer.c:147 (P) wb_flush_one+0x15bc/0x1638 fs/bcachefs/btree_write_buffer.c:147 (L) bch2_btree_write_buffer_flush_locked+0x1370/0x2c98 fs/bcachefs/btree_write_buffer.c:375 btree_write_buffer_flush_seq+0xff8/0x1130 fs/bcachefs/btree_write_buffer.c:510 bch2_btree_write_buffer_journal_flush+0x58/0x94 fs/bcachefs/btree_write_buffer.c:525 journal_flush_pins+0x524/0xa10 fs/bcachefs/journal_reclaim.c:565 journal_flush_done+0x98/0x248 fs/bcachefs/journal_reclaim.c:819 bch2_journal_flush_pins+0x1f4/0x338 fs/bcachefs/journal_reclaim.c:852 bch2_journal_flush_all_pins fs/bcachefs/journal_reclaim.h:76 [inline] bch2_journal_replay+0x1bc8/0x1f0c fs/bcachefs/recovery.c:383 bch2_run_recovery_pass+0xe4/0x1d4 fs/bcachefs/recovery_passes.c:185 bch2_run_recovery_passes+0x430/0x71c fs/bcachefs/recovery_passes.c:232 bch2_fs_recovery+0x32d8/0x55a0 fs/bcachefs/recovery.c:861 bch2_fs_start+0x30c/0x53c fs/bcachefs/super.c:1036 bch2_fs_get_tree+0x938/0x1030 fs/bcachefs/fs.c:2170 vfs_get_tree+0x90/0x28c fs/super.c:1814 do_new_mount+0x278/0x900 fs/namespace.c:3507 path_mount+0x590/0xe04 fs/namespace.c:3834 do_mount fs/namespace.c:3847 [inline] __do_sys_mount fs/namespace.c:4057 [inline] __se_sys_mount fs/namespace.c:4034 [inline] __arm64_sys_mount+0x4d4/0x5ac fs/namespace.c:4034 __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+0x54/0x168 arch/arm64/kernel/entry-common.c:744 el0t_64_sync_handler+0x84/0x108 arch/arm64/kernel/entry-common.c:762 el0t_64_sync+0x198/0x19c arch/arm64/kernel/entry.S:600 Code: d4210000 9773acc2 d4210000 9773acc0 (d4210000) ---[ end trace 0000000000000000 ]---