bcachefs (loop4): btree node scan found 7 nodes after overwrites done bcachefs (loop4): check_topology... Unable to handle kernel paging request at virtual address dfff80000000000e KASAN: null-ptr-deref in range [0x0000000000000070-0x0000000000000077] 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 [dfff80000000000e] address between user and kernel address ranges Internal error: Oops: 0000000096000005 [#1] PREEMPT SMP Modules linked in: CPU: 0 UID: 0 PID: 7097 Comm: syz.4.106 Not tainted 6.14.0-rc3-syzkaller-ga1c24ab82279 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 12/27/2024 pstate: 804000c5 (Nzcv daIF +PAN -UAO -TCO -DIT -SSBS BTYPE=--) pc : __lock_acquire+0xfc/0x7904 kernel/locking/lockdep.c:5091 lr : lock_acquire+0x23c/0x724 kernel/locking/lockdep.c:5851 sp : ffff80009f1467e0 x29: ffff80009f146aa0 x28: ffff800082990454 x27: 0000000000000001 x26: ffff0001b378c540 x25: 0000000000000000 x24: 0000000000000000 x23: 0000000000000000 x22: 1ffff00011f780cb x21: 0000000000000070 x20: 0000000000000001 x19: 0000000000000000 x18: ffff80009f146760 x17: 0000000000030340 x16: ffff8000832b5af8 x15: 0000000000000001 x14: 0000000000000000 x13: dfff800000000000 x12: ffff700013e28d24 x11: ffff80008046bf58 x10: ffff80008fbc0658 x9 : 00000000000000f3 x8 : 000000000000000e x7 : ffff800082990454 x6 : 0000000000000000 x5 : 0000000000000000 x4 : 0000000000000001 x3 : 0000000000000001 x2 : 0000000000000000 x1 : 0000000000000000 x0 : 0000000000000070 Call trace: __lock_acquire+0xfc/0x7904 kernel/locking/lockdep.c:5091 (P) lock_acquire+0x23c/0x724 kernel/locking/lockdep.c:5851 six_lock_ip_waiter+0xb0/0x178 fs/bcachefs/six.c:553 __btree_node_lock_nopath fs/bcachefs/btree_locking.h:229 [inline] btree_node_lock_nopath_nofail+0xb0/0x134 fs/bcachefs/btree_locking.h:252 bch2_check_topology+0x5a8/0x878 fs/bcachefs/btree_gc.c:553 bch2_run_recovery_pass+0xe4/0x1d4 fs/bcachefs/recovery_passes.c:226 bch2_run_recovery_passes+0x260/0x92c fs/bcachefs/recovery_passes.c:291 bch2_fs_recovery+0x20e0/0x32ec fs/bcachefs/recovery.c:936 bch2_fs_start+0x32c/0x570 fs/bcachefs/super.c:1041 bch2_fs_get_tree+0xa50/0x11d4 fs/bcachefs/fs.c:2203 vfs_get_tree+0x90/0x28c fs/super.c:1814 do_new_mount+0x278/0x900 fs/namespace.c:3560 path_mount+0x590/0xe04 fs/namespace.c:3887 do_mount fs/namespace.c:3900 [inline] __do_sys_mount fs/namespace.c:4111 [inline] __se_sys_mount fs/namespace.c:4088 [inline] __arm64_sys_mount+0x4f4/0x5d0 fs/namespace.c:4088 __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: 9007baa8 b9465908 340090a8 d343fea8 (386d6908) ---[ end trace 0000000000000000 ]--- ---------------- Code disassembly (best guess): 0: 9007baa8 adrp x8, 0xf754000 4: b9465908 ldr w8, [x8, #1624] 8: 340090a8 cbz w8, 0x121c c: d343fea8 lsr x8, x21, #3 * 10: 386d6908 ldrb w8, [x8, x13] <-- trapping instruction