general protection fault, probably for non-canonical address 0xdffffc000000005c: 0000 [#1] PREEMPT SMP KASAN KASAN: null-ptr-deref in range [0x00000000000002e0-0x00000000000002e7] CPU: 1 PID: 3264 Comm: syz.7.673 Not tainted 5.10.236-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025 RIP: 0010:__in6_dev_get include/net/addrconf.h:343 [inline] RIP: 0010:ip6_ignore_linkdown include/net/addrconf.h:434 [inline] RIP: 0010:find_match+0xaa/0xd70 net/ipv6/route.c:739 Code: 00 00 00 00 00 fc ff df 43 80 7c 25 00 00 74 08 48 89 df e8 b8 a8 7c fd 48 89 d8 bb e0 02 00 00 48 03 18 48 89 d8 48 c1 e8 03 <42> 80 3c 20 00 74 08 48 89 df e8 97 a8 7c fd 4c 8b 23 4d 85 e4 0f RSP: 0018:ffffc90001357078 EFLAGS: 00010206 RAX: 000000000000005c RBX: 00000000000002e0 RCX: 0000000000080000 RDX: ffff88810bc14f00 RSI: 0000000000000000 RDI: 0000000000000000 RBP: ffffc900013570f8 R08: ffffffff842bb56f R09: ffffc90001357450 R10: ffffc90001357440 R11: dffffc0000000001 R12: dffffc0000000000 R13: 1ffff11021abb3a4 R14: 0000000000000000 R15: 0000000000000003 FS: 00007f564f5376c0(0000) GS:ffff8881f7100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000200000000000 CR3: 00000001126a6000 CR4: 00000000003526a0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: rt6_nh_find_match+0xdd/0x140 net/ipv6/route.c:779 nexthop_for_each_fib6_nh+0x113/0x210 net/ipv4/nexthop.c:602 __find_rr_leaf+0x658/0xb70 net/ipv6/route.c:820 find_rr_leaf net/ipv6/route.c:848 [inline] rt6_select net/ipv6/route.c:892 [inline] fib6_table_lookup+0x338/0xaf0 net/ipv6/route.c:2190 ip6_pol_route+0x151/0x14b0 net/ipv6/route.c:2226 ip6_pol_route_output+0x50/0x80 net/ipv6/route.c:2475 pol_lookup_func include/net/ip6_fib.h:594 [inline] fib6_rule_lookup+0x371/0x620 net/ipv6/fib6_rules.c:120 ip6_route_output_flags_noref+0x252/0x2f0 net/ipv6/route.c:2507 ip6_route_output_flags+0x3f/0x220 net/ipv6/route.c:2520 ip6_route_output include/net/ip6_route.h:98 [inline] ip6_dst_lookup_tail+0x6be/0x1290 net/ipv6/ip6_output.c:1090 ip6_dst_lookup_flow+0xb5/0x170 net/ipv6/ip6_output.c:1220 ip6_datagram_dst_update+0x5ad/0xbe0 net/ipv6/datagram.c:89 __ip6_datagram_connect+0xba7/0x11d0 net/ipv6/datagram.c:248 ip6_datagram_connect+0x2f/0x50 net/ipv6/datagram.c:272 inet_dgram_connect+0x1e2/0x400 net/ipv4/af_inet.c:587 __sys_connect_file net/socket.c:1866 [inline] __sys_connect+0x388/0x410 net/socket.c:1883 __do_sys_connect net/socket.c:1893 [inline] __se_sys_connect net/socket.c:1890 [inline] __x64_sys_connect+0x7a/0x90 net/socket.c:1890 do_syscall_64+0x31/0x40 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x61/0xcb RIP: 0033:0x7f5650ece169 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:00007f564f537038 EFLAGS: 00000246 ORIG_RAX: 000000000000002a RAX: ffffffffffffffda RBX: 00007f56510f5fa0 RCX: 00007f5650ece169 RDX: 000000000000001c RSI: 0000200000000000 RDI: 0000000000000003 RBP: 00007f5650f50a68 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f56510f5fa0 R15: 00007fff41a922b8 Modules linked in: ---[ end trace a3ef85255d9eb218 ]--- RIP: 0010:__in6_dev_get include/net/addrconf.h:343 [inline] RIP: 0010:ip6_ignore_linkdown include/net/addrconf.h:434 [inline] RIP: 0010:find_match+0xaa/0xd70 net/ipv6/route.c:739 Code: 00 00 00 00 00 fc ff df 43 80 7c 25 00 00 74 08 48 89 df e8 b8 a8 7c fd 48 89 d8 bb e0 02 00 00 48 03 18 48 89 d8 48 c1 e8 03 <42> 80 3c 20 00 74 08 48 89 df e8 97 a8 7c fd 4c 8b 23 4d 85 e4 0f RSP: 0018:ffffc90001357078 EFLAGS: 00010206 RAX: 000000000000005c RBX: 00000000000002e0 RCX: 0000000000080000 RDX: ffff88810bc14f00 RSI: 0000000000000000 RDI: 0000000000000000 RBP: ffffc900013570f8 R08: ffffffff842bb56f R09: ffffc90001357450 R10: ffffc90001357440 R11: dffffc0000000001 R12: dffffc0000000000 R13: 1ffff11021abb3a4 R14: 0000000000000000 R15: 0000000000000003 FS: 00007f564f5376c0(0000) GS:ffff8881f7100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000200000000000 CR3: 00000001126a6000 CR4: 00000000003526a0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess), 7 bytes skipped: 0: df 43 80 filds -0x80(%rbx) 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 b8 a8 7c fd call 0xfd7ca8c9 11: 48 89 d8 mov %rbx,%rax 14: bb e0 02 00 00 mov $0x2e0,%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 97 a8 7c fd call 0xfd7ca8c9 32: 4c 8b 23 mov (%rbx),%r12 35: 4d 85 e4 test %r12,%r12 38: 0f .byte 0xf