Oops: general protection fault, probably for non-canonical address 0xdffffc0000000018: 0000 [#1] SMP KASAN PTI KASAN: null-ptr-deref in range [0x00000000000000c0-0x00000000000000c7] CPU: 1 UID: 0 PID: 9167 Comm: syz.4.1166 Not tainted 6.14.0-syzkaller-05877-g1a9239bb4253 #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025 RIP: 0010:__in6_dev_get include/net/addrconf.h:347 [inline] RIP: 0010:ip6_ignore_linkdown include/net/addrconf.h:443 [inline] RIP: 0010:find_match+0xae/0xc10 net/ipv6/route.c:747 Code: 08 48 89 df e8 03 4a 70 f7 4c 89 64 24 40 48 89 d8 bb c0 00 00 00 48 03 18 48 89 d8 48 c1 e8 03 48 b9 00 00 00 00 00 fc ff df <80> 3c 08 00 74 08 48 89 df e8 d4 49 70 f7 4c 8b 23 e8 bc 04 65 01 RSP: 0018:ffffc900100ef160 EFLAGS: 00010206 RAX: 0000000000000018 RBX: 00000000000000c0 RCX: dffffc0000000000 RDX: ffff88807c359e00 RSI: 0000000000000000 RDI: 0000000000000000 RBP: ffff888032e83320 R08: ffffffff8abb621f R09: ffffc900100ef530 R10: ffffc900100ef360 R11: ffffffff8abb6060 R12: ffffc900100ef530 R13: ffff888032e83337 R14: 1ffff110065d0666 R15: 1ffff110065d0664 FS: 00007f83e4f306c0(0000) GS:ffff88812510f000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000110c3662d5 CR3: 000000002a37c000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: rt6_nh_find_match+0xde/0x150 net/ipv6/route.c:787 nexthop_for_each_fib6_nh+0x1d0/0x410 net/ipv4/nexthop.c:1515 __find_rr_leaf+0x596/0x8f0 net/ipv6/route.c:828 find_rr_leaf net/ipv6/route.c:856 [inline] rt6_select net/ipv6/route.c:900 [inline] fib6_table_lookup+0x410/0xbf0 net/ipv6/route.c:2195 ip6_pol_route+0x26d/0x15f0 net/ipv6/route.c:2231 pol_lookup_func include/net/ip6_fib.h:616 [inline] fib6_rule_lookup+0x3c4/0x7a0 net/ipv6/fib6_rules.c:125 ip6_route_output_flags_noref net/ipv6/route.c:2639 [inline] ip6_route_output_flags+0x38e/0x610 net/ipv6/route.c:2651 ip6_route_output include/net/ip6_route.h:93 [inline] ip6_dst_lookup_tail+0x1b5/0x1510 net/ipv6/ip6_output.c:1128 ip6_dst_lookup_flow+0xbb/0x180 net/ipv6/ip6_output.c:1259 ip6_datagram_dst_update+0x7cc/0xdf0 net/ipv6/datagram.c:96 __ip6_datagram_connect+0xc0b/0x1260 net/ipv6/datagram.c:255 ip6_datagram_connect net/ipv6/datagram.c:279 [inline] ip6_datagram_connect_v6_only+0x63/0xa0 net/ipv6/datagram.c:291 __sys_connect_file net/socket.c:2038 [inline] __sys_connect+0x28c/0x2d0 net/socket.c:2057 __do_sys_connect net/socket.c:2063 [inline] __se_sys_connect net/socket.c:2060 [inline] __x64_sys_connect+0x7a/0x90 net/socket.c:2060 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xf3/0x230 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f83e418d169 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 a8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f83e4f30038 EFLAGS: 00000246 ORIG_RAX: 000000000000002a RAX: ffffffffffffffda RBX: 00007f83e43a5fa0 RCX: 00007f83e418d169 RDX: 000000000000001c RSI: 0000200000000080 RDI: 0000000000000003 RBP: 00007f83e420e2a0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f83e43a5fa0 R15: 00007ffeeed890d8 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:__in6_dev_get include/net/addrconf.h:347 [inline] RIP: 0010:ip6_ignore_linkdown include/net/addrconf.h:443 [inline] RIP: 0010:find_match+0xae/0xc10 net/ipv6/route.c:747 Code: 08 48 89 df e8 03 4a 70 f7 4c 89 64 24 40 48 89 d8 bb c0 00 00 00 48 03 18 48 89 d8 48 c1 e8 03 48 b9 00 00 00 00 00 fc ff df <80> 3c 08 00 74 08 48 89 df e8 d4 49 70 f7 4c 8b 23 e8 bc 04 65 01 RSP: 0018:ffffc900100ef160 EFLAGS: 00010206 RAX: 0000000000000018 RBX: 00000000000000c0 RCX: dffffc0000000000 RDX: ffff88807c359e00 RSI: 0000000000000000 RDI: 0000000000000000 RBP: ffff888032e83320 R08: ffffffff8abb621f R09: ffffc900100ef530 R10: ffffc900100ef360 R11: ffffffff8abb6060 R12: ffffc900100ef530 R13: ffff888032e83337 R14: 1ffff110065d0666 R15: 1ffff110065d0664 FS: 00007f83e4f306c0(0000) GS:ffff88812510f000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f195c412440 CR3: 000000002a37c000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess): 0: 08 48 89 or %cl,-0x77(%rax) 3: df e8 fucomip %st(0),%st 5: 03 4a 70 add 0x70(%rdx),%ecx 8: f7 4c 89 64 24 40 48 testl $0x89484024,0x64(%rcx,%rcx,4) f: 89 10: d8 bb c0 00 00 00 fdivrs 0xc0(%rbx) 16: 48 03 18 add (%rax),%rbx 19: 48 89 d8 mov %rbx,%rax 1c: 48 c1 e8 03 shr $0x3,%rax 20: 48 b9 00 00 00 00 00 movabs $0xdffffc0000000000,%rcx 27: fc ff df * 2a: 80 3c 08 00 cmpb $0x0,(%rax,%rcx,1) <-- trapping instruction 2e: 74 08 je 0x38 30: 48 89 df mov %rbx,%rdi 33: e8 d4 49 70 f7 call 0xf7704a0c 38: 4c 8b 23 mov (%rbx),%r12 3b: e8 bc 04 65 01 call 0x16504fc