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: 6494 Comm: kworker/u8:2 Not tainted 6.12.0-syzkaller-g7b1d1d4cfac0 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 Workqueue: btree_node_rewrite async_btree_node_rewrite_work 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 : ffff8000a23c5840 x29: ffff8000a23c5b20 x28: ffff0000f2b814d8 x27: ffff0000d4638378 x26: 000000000000110b x25: 1fffe0001e57029b x24: 0000000000000000 x23: ffff8000a23c59a0 x22: dfff800000000000 x21: ffff0000f2b80000 x20: 0000000000000098 x19: 0000000000000000 x18: ffff8000a23c5d60 x17: 534f502058414d5f x16: ffff80008b47f808 x15: 0000000000000005 x14: 0000000000000000 x13: 0000000000000003 x12: ffff0000ee778000 x11: ffff8000a23c59c0 x10: 0000000000ff0100 x9 : 0000000000000000 x8 : 0000000000000013 x7 : 0000000000000000 x6 : 0000000100000000 x5 : ffff0000d4638378 x4 : 0000000000000000 x3 : ffff8000828047f4 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) btree_path_lock_root fs/bcachefs/btree_iter.c:728 [inline] (L) bch2_btree_path_traverse_one+0x714/0x2b30 fs/bcachefs/btree_iter.c:1183 (L) 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_node_rewrite+0x17c/0xd74 fs/bcachefs/btree_update_interior.c:2148 async_btree_node_rewrite_trans fs/bcachefs/btree_update_interior.c:2236 [inline] async_btree_node_rewrite_work+0x28c/0x124c fs/bcachefs/btree_update_interior.c:2249 process_one_work+0x7bc/0x1600 kernel/workqueue.c:3229 process_scheduled_works kernel/workqueue.c:3310 [inline] worker_thread+0x97c/0xeec kernel/workqueue.c:3391 kthread+0x288/0x310 kernel/kthread.c:389 ret_from_fork+0x10/0x20 arch/arm64/kernel/entry.S:862 Code: 9788dadc f9400398 91026314 d343fe88 (38f66908) ---[ end trace 0000000000000000 ]--- ---------------- Code disassembly (best guess): 0: 9788dadc bl 0xfffffffffe236b70 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