done bcachefs (loop6): alloc_read... ------------[ cut here ]------------ kernel BUG at fs/bcachefs/btree_iter.c:633! Internal error: Oops - BUG: 00000000f2000800 [#1] SMP Modules linked in: CPU: 0 UID: 0 PID: 8436 Comm: syz.6.225 Not tainted 6.17.0-rc1-syzkaller-g8f5ae30d69d7 #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_btree_path_level_init+0x814/0x830 fs/bcachefs/btree_iter.c:114 lr : btree_path_pos_in_node fs/bcachefs/btree_iter.c:114 [inline] lr : bch2_btree_path_level_init+0x814/0x830 fs/bcachefs/btree_iter.c:633 sp : ffff80009e926670 x29: ffff80009e926680 x28: dfff800000000000 x27: 0000000000000000 x26: 0000000000000000 x25: 0000000000010000 x24: 0000000000000000 x23: 0000000000000000 x22: 0000000000000000 x21: ffff0000fb8b02d8 x20: ffff0000fb8b02dc x19: ffff0000d7caf800 x18: 1fffe0003379be88 x17: ffff80008f7be000 x16: ffff80008b007340 x15: ffff700013d24cbc x14: 1ffff00013d24cbc x13: 0000000000000004 x12: ffffffffffffffff x11: 0000000000080000 x10: 000000000007ffff x9 : ffff80009d609000 x8 : 0000000000080000 x7 : ffff8000828b9f04 x6 : 0000000000000000 x5 : 0000000000000000 x4 : 0000000000000001 x3 : 0000000000000001 x2 : ffff0000d7caf800 x1 : 0000000000010000 x0 : 0000000000000000 Call trace: btree_path_pos_in_node fs/bcachefs/btree_iter.c:114 [inline] (P) bch2_btree_path_level_init+0x814/0x830 fs/bcachefs/btree_iter.c:633 (P) btree_path_lock_root fs/bcachefs/btree_iter.c:787 [inline] bch2_btree_path_traverse_one+0xa18/0x1f0c fs/bcachefs/btree_iter.c:1203 bch2_btree_path_traverse fs/bcachefs/btree_iter.h:250 [inline] __bch2_btree_iter_peek fs/bcachefs/btree_iter.c:2267 [inline] bch2_btree_iter_peek_max+0x740/0x57d4 fs/bcachefs/btree_iter.c:2384 bch2_btree_iter_peek_max_type fs/bcachefs/btree_iter.h:743 [inline] bch2_alloc_read+0x910/0x1308 fs/bcachefs/alloc_background.c:654 bch2_run_recovery_pass fs/bcachefs/recovery_passes.c:484 [inline] __bch2_run_recovery_passes+0x2b8/0xd54 fs/bcachefs/recovery_passes.c:539 bch2_run_recovery_passes+0x174/0x1f4 fs/bcachefs/recovery_passes.c:610 bch2_fs_recovery+0x1c34/0x2fb4 fs/bcachefs/recovery.c:1016 bch2_fs_start+0x940/0xbec fs/bcachefs/super.c:1213 bch2_fs_get_tree+0x880/0x107c fs/bcachefs/fs.c:2488 vfs_get_tree+0x90/0x28c fs/super.c:1815 do_new_mount+0x278/0x7f4 fs/namespace.c:3805 path_mount+0x5b4/0xde0 fs/namespace.c:4120 do_mount fs/namespace.c:4133 [inline] __do_sys_mount fs/namespace.c:4344 [inline] __se_sys_mount fs/namespace.c:4321 [inline] __arm64_sys_mount+0x3e8/0x468 fs/namespace.c:4321 __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: d4210000 977a9444 d4210000 977a9442 (d4210000) ---[ end trace 0000000000000000 ]---