general protection fault, probably for non-canonical address 0xdffffc000000006c: 0000 [#1] PREEMPT SMP KASAN KASAN: null-ptr-deref in range [0x0000000000000360-0x0000000000000367] CPU: 1 PID: 4270 Comm: kworker/u4:7 Not tainted 5.15.184-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025 Workqueue: wg-kex-wg2 wg_packet_handshake_send_worker RIP: 0010:__in6_dev_get include/net/addrconf.h:321 [inline] RIP: 0010:ip6_ignore_linkdown include/net/addrconf.h:412 [inline] RIP: 0010:find_match+0xa3/0xc30 net/ipv6/route.c:744 Code: 00 00 00 00 00 fc ff df 42 80 7c 25 00 00 74 08 48 89 df e8 bf 8c 33 f9 48 89 d8 bb 60 03 00 00 48 03 18 48 89 d8 48 c1 e8 03 <42> 80 3c 20 00 74 08 48 89 df e8 9e 8c 33 f9 48 8b 1b e8 f6 87 17 RSP: 0018:ffffc90002e3f0d8 EFLAGS: 00010206 RAX: 000000000000006c RBX: 0000000000000360 RCX: ffff888026fe9dc0 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 1ffff110043006a4 R08: ffffc90002e3f460 R09: ffffc90002e3f470 R10: fffff520005c7e5a R11: 1ffff920005c7e58 R12: dffffc0000000000 R13: 0000000000000003 R14: 1ffff110043006a5 R15: ffff88802180352f FS: 0000000000000000(0000) GS:ffff8880b9100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b30714ff8 CR3: 0000000026d32000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: rt6_nh_find_match+0xd5/0x140 net/ipv6/route.c:784 nexthop_for_each_fib6_nh+0x1be/0x3e0 net/ipv4/nexthop.c:1242 __find_rr_leaf+0x45e/0x6c0 net/ipv6/route.c:825 find_rr_leaf net/ipv6/route.c:853 [inline] rt6_select net/ipv6/route.c:897 [inline] fib6_table_lookup+0x39c/0xa70 net/ipv6/route.c:2183 ip6_pol_route+0x209/0x1290 net/ipv6/route.c:2219 pol_lookup_func include/net/ip6_fib.h:582 [inline] fib6_rule_lookup+0x2fc/0x570 net/ipv6/fib6_rules.c:120 ip6_route_output_flags+0xbf/0x300 net/ipv6/route.c:2640 ip6_route_output include/net/ip6_route.h:98 [inline] ip6_dst_lookup_tail+0x194/0x1200 net/ipv6/ip6_output.c:1101 ip6_dst_lookup_flow+0x44/0xd0 net/ipv6/ip6_output.c:1231 send6+0x47c/0x840 drivers/net/wireguard/socket.c:139 wg_socket_send_skb_to_peer+0x10d/0x1c0 drivers/net/wireguard/socket.c:178 wg_packet_send_handshake_initiation drivers/net/wireguard/send.c:40 [inline] wg_packet_handshake_send_worker+0x1d8/0x310 drivers/net/wireguard/send.c:51 process_one_work+0x863/0x1000 kernel/workqueue.c:2310 worker_thread+0xaa8/0x12a0 kernel/workqueue.c:2457 kthread+0x436/0x520 kernel/kthread.c:334 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:287 Modules linked in: ---[ end trace 60f8e2b5f7c8f030 ]--- RIP: 0010:__in6_dev_get include/net/addrconf.h:321 [inline] RIP: 0010:ip6_ignore_linkdown include/net/addrconf.h:412 [inline] RIP: 0010:find_match+0xa3/0xc30 net/ipv6/route.c:744 Code: 00 00 00 00 00 fc ff df 42 80 7c 25 00 00 74 08 48 89 df e8 bf 8c 33 f9 48 89 d8 bb 60 03 00 00 48 03 18 48 89 d8 48 c1 e8 03 <42> 80 3c 20 00 74 08 48 89 df e8 9e 8c 33 f9 48 8b 1b e8 f6 87 17 RSP: 0018:ffffc90002e3f0d8 EFLAGS: 00010206 RAX: 000000000000006c RBX: 0000000000000360 RCX: ffff888026fe9dc0 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 1ffff110043006a4 R08: ffffc90002e3f460 R09: ffffc90002e3f470 R10: fffff520005c7e5a R11: 1ffff920005c7e58 R12: dffffc0000000000 R13: 0000000000000003 R14: 1ffff110043006a5 R15: ffff88802180352f FS: 0000000000000000(0000) GS:ffff8880b9100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b30714ff8 CR3: 0000000026d32000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess), 7 bytes skipped: 0: df 42 80 filds -0x80(%rdx) 3: 7c 25 jl 0x2a 5: 00 00 add %al,(%rax) 7: 74 08 je 0x11 9: 48 89 df mov %rbx,%rdi c: e8 bf 8c 33 f9 call 0xf9338cd0 11: 48 89 d8 mov %rbx,%rax 14: bb 60 03 00 00 mov $0x360,%ebx 19: 48 03 18 add (%rax),%rbx 1c: 48 89 d8 mov %rbx,%rax 1f: 48 c1 e8 03 shr $0x3,%rax * 23: 42 80 3c 20 00 cmpb $0x0,(%rax,%r12,1) <-- trapping instruction 28: 74 08 je 0x32 2a: 48 89 df mov %rbx,%rdi 2d: e8 9e 8c 33 f9 call 0xf9338cd0 32: 48 8b 1b mov (%rbx),%rbx 35: e8 .byte 0xe8 36: f6 .byte 0xf6 37: 87 17 xchg %edx,(%rdi)