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: 32507 Comm: syz.7.7305 Not tainted 6.15.0-rc4-syzkaller-00147-gebd297a2affa #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/19/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+0xa3/0xc90 net/ipv6/route.c:781 Code: 00 00 00 00 00 fc ff df 42 80 7c 25 00 00 74 08 48 89 df e8 3f d2 12 f8 48 89 d8 bb c0 00 00 00 48 03 18 48 89 d8 48 c1 e8 03 <42> 80 3c 20 00 74 08 48 89 df e8 1e d2 12 f8 48 8b 1b e8 16 0b 47 RSP: 0018:ffffc900035ff190 EFLAGS: 00010206 RAX: 0000000000000018 RBX: 00000000000000c0 RCX: 0000000000000002 RDX: ffff88802f4c8000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 1ffff1100cf014e4 R08: ffffc900035ff520 R09: ffffc900035ff530 R10: ffffc900035ff380 R11: ffffffff8a0ee120 R12: dffffc0000000000 R13: 0000000000000003 R14: 1ffff1100cf014e6 R15: ffff88806780a737 FS: 0000000000000000(0000) GS:ffff8881261cc000(0063) knlGS:00000000f505eb40 CS: 0010 DS: 002b ES: 002b CR0: 0000000080050033 CR2: 000000003251dffc CR3: 000000004ccf0000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 000000000000000e DR6: 00000000ffff0ff0 DR7: 0000000000000400 Call Trace: rt6_nh_find_match+0xd9/0x150 net/ipv6/route.c:821 nexthop_for_each_fib6_nh+0x1c6/0x400 net/ipv4/nexthop.c:1515 __find_rr_leaf+0x461/0x6d0 net/ipv6/route.c:862 find_rr_leaf net/ipv6/route.c:890 [inline] rt6_select net/ipv6/route.c:934 [inline] fib6_table_lookup+0x39f/0xa80 net/ipv6/route.c:2230 ip6_pol_route+0x222/0x1180 net/ipv6/route.c:2266 pol_lookup_func include/net/ip6_fib.h:616 [inline] fib6_rule_lookup+0x348/0x6f0 net/ipv6/fib6_rules.c:125 ip6_route_output_flags_noref net/ipv6/route.c:2674 [inline] ip6_route_output_flags+0x364/0x5d0 net/ipv6/route.c:2686 ip6_route_output include/net/ip6_route.h:93 [inline] ip6_dst_lookup_tail+0x1ae/0x1500 net/ipv6/ip6_output.c:1128 ip6_dst_lookup_flow+0x47/0xe0 net/ipv6/ip6_output.c:1259 tcp_v6_connect+0xbce/0x1830 net/ipv6/tcp_ipv6.c:277 __inet_stream_connect+0x295/0xf10 net/ipv4/af_inet.c:677 inet_stream_connect+0x66/0xa0 net/ipv4/af_inet.c:748 __sys_connect_file net/socket.c:2038 [inline] __sys_connect+0x313/0x440 net/socket.c:2057 __do_sys_connect net/socket.c:2063 [inline] __se_sys_connect net/socket.c:2060 [inline] __ia32_sys_connect+0x7a/0x90 net/socket.c:2060 do_syscall_32_irqs_on arch/x86/entry/syscall_32.c:83 [inline] __do_fast_syscall_32+0xb4/0x110 arch/x86/entry/syscall_32.c:306 do_fast_syscall_32+0x34/0x80 arch/x86/entry/syscall_32.c:331 entry_SYSENTER_compat_after_hwframe+0x84/0x8e RIP: 0023:0xf706e539 Code: 03 74 b4 01 10 07 03 74 b0 01 10 08 03 74 d8 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 51 52 55 89 e5 0f 34 cd 80 <5d> 5a 59 c3 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 RSP: 002b:00000000f505e55c EFLAGS: 00000206 ORIG_RAX: 000000000000016a RAX: ffffffffffffffda RBX: 0000000000000004 RCX: 0000000080000000 RDX: 000000000000001c RSI: 0000000000000000 RDI: 0000000000000000 RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000206 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 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+0xa3/0xc90 net/ipv6/route.c:781 Code: 00 00 00 00 00 fc ff df 42 80 7c 25 00 00 74 08 48 89 df e8 3f d2 12 f8 48 89 d8 bb c0 00 00 00 48 03 18 48 89 d8 48 c1 e8 03 <42> 80 3c 20 00 74 08 48 89 df e8 1e d2 12 f8 48 8b 1b e8 16 0b 47 RSP: 0018:ffffc900035ff190 EFLAGS: 00010206 RAX: 0000000000000018 RBX: 00000000000000c0 RCX: 0000000000000002 RDX: ffff88802f4c8000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 1ffff1100cf014e4 R08: ffffc900035ff520 R09: ffffc900035ff530 R10: ffffc900035ff380 R11: ffffffff8a0ee120 R12: dffffc0000000000 R13: 0000000000000003 R14: 1ffff1100cf014e6 R15: ffff88806780a737 FS: 0000000000000000(0000) GS:ffff8881260cc000(0063) knlGS:00000000f505eb40 CS: 0010 DS: 002b ES: 002b CR0: 0000000080050033 CR2: 000000003251bffc CR3: 000000004ccf0000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 000000000000000e DR6: 00000000ffff0ff0 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 3f d2 12 f8 call 0xf812d250 11: 48 89 d8 mov %rbx,%rax 14: bb c0 00 00 00 mov $0xc0,%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 1e d2 12 f8 call 0xf812d250 32: 48 8b 1b mov (%rbx),%rbx 35: e8 .byte 0xe8 36: 16 (bad) 37: 0b .byte 0xb 38: 47 rex.RXB