bcachefs (loop2): done starting filesystem 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: 6993 Comm: syz.2.84 Not tainted 6.13.0-rc7-syzkaller-g1950a0af2d55 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 12/27/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 : ffff80009e7851c0 x29: ffff80009e7854a0 x28: ffff0000e42014d8 x27: ffff0000e172c488 x26: 000000000000110b x25: 1fffe0001c84029b x24: 0000000000000000 x23: ffff80009e785320 x22: dfff800000000000 x21: ffff0000e4200000 x20: 0000000000000098 x19: 0000000000000000 x18: ffff80009e7856e0 x17: 32686362204e494d x16: ffff80008b63c748 x15: 0000000000000005 x14: 0000000000000002 x13: 0000000000000003 x12: ffff0000db561e40 x11: 0000000000080000 x10: 0000000000ff0100 x9 : 0000000000000002 x8 : 0000000000000013 x7 : 0000000000000000 x6 : 0000000100000000 x5 : ffff0000e172c488 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_logged_op_start+0x19c/0x2c0 fs/bcachefs/logged_ops.c:92 bch2_truncate+0x168/0x298 fs/bcachefs/io_misc.c:294 bchfs_truncate+0x6bc/0xa88 fs/bcachefs/fs-io.c:464 bch2_setattr+0x1a0/0x214 fs/bcachefs/fs.c:1163 notify_change+0x9f0/0xca0 fs/attr.c:552 do_truncate+0x1c0/0x28c fs/open.c:65 vfs_truncate+0x2b8/0x360 fs/open.c:111 do_sys_truncate+0xe8/0x1ac fs/open.c:134 __do_sys_truncate fs/open.c:146 [inline] __se_sys_truncate fs/open.c:144 [inline] __arm64_sys_truncate+0x5c/0x70 fs/open.c:144 __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