bcachefs (loop3): check_allocations... done bcachefs (loop3): going read-write bcachefs (loop3): journal_replay... Unable to handle kernel paging request at virtual address dfff800000000013 KASAN: null-ptr-deref in range [0x0000000000000098-0x000000000000009f] Mem abort info: ESR = 0x0000000096000005 EC = 0x25: DABT (current EL), IL = 32 bits SET = 0, FnV = 0 EA = 0, S1PTW = 0 FSC = 0x05: level 1 translation fault Data abort info: ISV = 0, ISS = 0x00000005, ISS2 = 0x00000000 CM = 0, WnR = 0, TnD = 0, TagAccess = 0 GCS = 0, Overlay = 0, DirtyBit = 0, Xs = 0 [dfff800000000013] address between user and kernel address ranges Internal error: Oops: 0000000096000005 [#1] PREEMPT SMP Modules linked in: CPU: 0 UID: 0 PID: 8069 Comm: syz.3.305 Not tainted 6.13.0-rc7-syzkaller-g1950a0af2d55 #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 : btree_path_lock_root fs/bcachefs/btree_iter.c:732 [inline] pc : bch2_btree_path_traverse_one+0x738/0x2b30 fs/bcachefs/btree_iter.c:1183 lr : btree_path_lock_root fs/bcachefs/btree_iter.c:728 [inline] lr : bch2_btree_path_traverse_one+0x714/0x2b30 fs/bcachefs/btree_iter.c:1183 sp : ffff8000a19649e0 x29: ffff8000a1964cc0 x28: ffff0000eae814d8 x27: ffff0000caeb4400 x26: 000000000000110b x25: 1fffe0001d5d029b x24: 0000000000000000 x23: ffff8000a1964b40 x22: dfff800000000000 x21: ffff0000eae80000 x20: 0000000000000098 x19: 0000000000000000 x18: ffff8000a1964f00 x17: 2d4e494d5f534f50 x16: ffff80008b60aec8 x15: 0000000000000005 x14: 0000000000000000 x13: 0000000000000003 x12: ffff0000cd615ac0 x11: ffff8000a1964b60 x10: 0000000000ff0100 x9 : 0000000000000000 x8 : 0000000000000013 x7 : 0000000000000000 x6 : 0000000100000000 x5 : ffff0000caeb4400 x4 : 0000000000000000 x3 : ffff800082907760 x2 : 0000000000000000 x1 : 0000000000000000 x0 : 0000000000000000 Call trace: btree_path_lock_root fs/bcachefs/btree_iter.c:732 [inline] (P) bch2_btree_path_traverse_one+0x738/0x2b30 fs/bcachefs/btree_iter.c:1183 (P) bch2_btree_path_traverse fs/bcachefs/btree_iter.h:247 [inline] __bch2_btree_iter_peek fs/bcachefs/btree_iter.c:2210 [inline] bch2_btree_iter_peek_upto+0xafc/0x54f8 fs/bcachefs/btree_iter.c:2310 bch2_btree_iter_peek_upto_type fs/bcachefs/btree_iter.h:685 [inline] bch2_bucket_alloc_freelist fs/bcachefs/alloc_foreground.c:495 [inline] bch2_bucket_alloc_trans+0x8b4/0x25e4 fs/bcachefs/alloc_foreground.c:648 bch2_bucket_alloc_set_trans+0x4ac/0xa10 fs/bcachefs/alloc_foreground.c:808 __open_bucket_add_buckets+0x1168/0x1a68 fs/bcachefs/alloc_foreground.c:1057 open_bucket_add_buckets+0x2d8/0x3b4 fs/bcachefs/alloc_foreground.c:1101 bch2_alloc_sectors_start_trans+0xa84/0x199c __bch2_btree_node_alloc fs/bcachefs/btree_update_interior.c:339 [inline] bch2_btree_reserve_get+0x500/0xf70 fs/bcachefs/btree_update_interior.c:549 bch2_btree_update_start+0xe14/0x15ac fs/bcachefs/btree_update_interior.c:1247 bch2_btree_split_leaf+0x118/0x7b0 fs/bcachefs/btree_update_interior.c:1856 bch2_trans_commit_error+0x2a8/0x1130 fs/bcachefs/btree_trans_commit.c:942 __bch2_trans_commit+0x2a80/0x6604 fs/bcachefs/btree_trans_commit.c:1140 bch2_trans_commit fs/bcachefs/btree_update.h:184 [inline] bch2_journal_replay+0x1134/0x1f0c fs/bcachefs/recovery.c:317 bch2_run_recovery_pass+0xe4/0x1d4 fs/bcachefs/recovery_passes.c:191 bch2_run_recovery_passes+0x30c/0x73c fs/bcachefs/recovery_passes.c:244 bch2_fs_recovery+0x32d8/0x55dc fs/bcachefs/recovery.c:861 bch2_fs_start+0x30c/0x53c fs/bcachefs/super.c:1037 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:3511 path_mount+0x590/0xe04 fs/namespace.c:3838 do_mount fs/namespace.c:3851 [inline] __do_sys_mount fs/namespace.c:4061 [inline] __se_sys_mount fs/namespace.c:4038 [inline] __arm64_sys_mount+0x4d4/0x5ac fs/namespace.c:4038 __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: 97896fc4 f9400398 91026314 d343fe88 (38f66908) ---[ end trace 0000000000000000 ]--- ---------------- Code disassembly (best guess): 0: 97896fc4 bl 0xfffffffffe25bf10 4: f9400398 ldr x24, [x28] 8: 91026314 add x20, x24, #0x98 c: d343fe88 lsr x8, x20, #3 * 10: 38f66908 ldrsb w8, [x8, x22] <-- trapping instruction