Oops: general protection fault, probably for non-canonical address 0xdffffc0000000003: 0000 [#1] SMP KASAN NOPTI KASAN: null-ptr-deref in range [0x0000000000000018-0x000000000000001f] CPU: 2 UID: 0 PID: 13 Comm: kworker/u32:1 Not tainted 6.15.0-syzkaller-11173-g546b1c9e93c2 #0 PREEMPT(full) Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014 Workqueue: ipv6_addrconf addrconf_dad_work RIP: 0010:nexthop_is_blackhole include/net/nexthop.h:383 [inline] RIP: 0010:__find_rr_leaf+0x668/0xe00 net/ipv6/route.c:855 Code: 0f 85 ce 00 00 00 48 89 4c 24 38 e8 52 8c 8f f7 49 8d 7e 19 48 8b 4c 24 38 48 b8 00 00 00 00 00 fc ff df 48 89 fa 48 c1 ea 03 <0f> b6 04 02 48 89 fa 83 e2 07 38 d0 7f 08 84 c0 0f 85 9f 06 00 00 RSP: 0018:ffffc900006484d0 EFLAGS: 00010206 RAX: dffffc0000000000 RBX: ffff888025b56400 RCX: ffff888025b564c0 RDX: 0000000000000003 RSI: ffffffff8a2c8b0e RDI: 0000000000000019 RBP: dffffc0000000000 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000001 R12: ffff888025b56464 R13: ffffc900006487d8 R14: 0000000000000000 R15: 0000000000000001 FS: 0000000000000000(0000) GS:ffff8880d6965000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000558927dee000 CR3: 000000003b2f2000 CR4: 0000000000352ef0 DR0: 0000000000000007 DR1: 0000000000004e6a DR2: 0000000000000007 DR3: 00000000000002d5 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: find_rr_leaf net/ipv6/route.c:899 [inline] rt6_select net/ipv6/route.c:934 [inline] fib6_table_lookup+0x7b3/0xa30 net/ipv6/route.c:2232 ip6_pol_route+0x1cc/0x1230 net/ipv6/route.c:2268 pol_lookup_func include/net/ip6_fib.h:617 [inline] fib6_rule_lookup+0x536/0x720 net/ipv6/fib6_rules.c:120 ip6_route_input_lookup net/ipv6/route.c:2337 [inline] ip6_route_input+0x662/0xc00 net/ipv6/route.c:2640 ip6_rcv_finish_core.constprop.0+0x1a0/0x5d0 net/ipv6/ip6_input.c:66 ip6_rcv_finish net/ipv6/ip6_input.c:77 [inline] NF_HOOK include/linux/netfilter.h:317 [inline] NF_HOOK include/linux/netfilter.h:311 [inline] ipv6_rcv+0x1e8/0x680 net/ipv6/ip6_input.c:309 __netif_receive_skb_one_core+0x12d/0x1e0 net/core/dev.c:5977 __netif_receive_skb+0x1d/0x160 net/core/dev.c:6090 process_backlog+0x442/0x15e0 net/core/dev.c:6442 __napi_poll.constprop.0+0xba/0x550 net/core/dev.c:7414 napi_poll net/core/dev.c:7478 [inline] net_rx_action+0xa9f/0xfe0 net/core/dev.c:7605 handle_softirqs+0x219/0x8e0 kernel/softirq.c:579 do_softirq kernel/softirq.c:480 [inline] do_softirq+0xb2/0xf0 kernel/softirq.c:467 __local_bh_enable_ip+0x100/0x120 kernel/softirq.c:407 local_bh_enable include/linux/bottom_half.h:33 [inline] rcu_read_unlock_bh include/linux/rcupdate.h:910 [inline] __dev_queue_xmit+0x8ab/0x43e0 net/core/dev.c:4740 ---------------- Code disassembly (best guess): 0: 0f 85 ce 00 00 00 jne 0xd4 6: 48 89 4c 24 38 mov %rcx,0x38(%rsp) b: e8 52 8c 8f f7 call 0xf78f8c62 10: 49 8d 7e 19 lea 0x19(%r14),%rdi 14: 48 8b 4c 24 38 mov 0x38(%rsp),%rcx 19: 48 b8 00 00 00 00 00 movabs $0xdffffc0000000000,%rax 20: fc ff df 23: 48 89 fa mov %rdi,%rdx 26: 48 c1 ea 03 shr $0x3,%rdx * 2a: 0f b6 04 02 movzbl (%rdx,%rax,1),%eax <-- trapping instruction 2e: 48 89 fa mov %rdi,%rdx 31: 83 e2 07 and $0x7,%edx 34: 38 d0 cmp %dl,%al 36: 7f 08 jg 0x40 38: 84 c0 test %al,%al 3a: 0f 85 9f 06 00 00 jne 0x6df