IPv6: Can't replace route, no match found kasan: CONFIG_KASAN_INLINE enabled kasan: GPF could be caused by NULL-ptr deref or user memory access general protection fault: 0000 [#1] PREEMPT SMP KASAN CPU: 1 PID: 23686 Comm: syz-executor.2 Not tainted 5.2.0-rc2+ #20 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:ipv6_addr_any include/net/ipv6.h:626 [inline] RIP: 0010:ip6_route_check_nh_onlink net/ipv6/route.c:2910 [inline] RIP: 0010:ip6_validate_gw net/ipv6/route.c:3013 [inline] RIP: 0010:fib6_nh_init+0x47e/0x1c80 net/ipv6/route.c:3121 Code: 89 de e8 c5 ab 4e fb 48 85 db 0f 84 fb 10 00 00 e8 17 aa 4e fb 48 8d 7b 40 48 b8 00 00 00 00 00 fc ff df 48 89 fa 48 c1 ea 03 <80> 3c 02 00 0f 85 bf 16 00 00 48 8d 7b 48 48 8b 4b 40 48 b8 00 00 RSP: 0018:ffff8880952cf2a0 EFLAGS: 00010a02 RAX: dffffc0000000000 RBX: ff88808d9086c000 RCX: ffffc90005aaf000 RDX: 1ff11011b210d808 RSI: ffffffff8621fba9 RDI: ff88808d9086c040 RBP: ffff8880952cf320 R08: ffff88808b0b6140 R09: ffffed1015d06be8 R10: ffffed1015d06be7 R11: ffff8880ae835f3b R12: ffff88808b0c44ff R13: ffff8880952cf490 R14: ffff8880a8192ed8 R15: ffff8880952cf4a4 FS: 00007fe73009c700(0000) GS:ffff8880ae900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ffff5b36000 CR3: 000000009f98d000 CR4: 00000000001406e0 DR0: 0000000020000280 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000600 Call Trace: ip6_route_info_create+0x922/0x1240 net/ipv6/route.c:3313 ip6_route_multipath_add+0x48c/0x1380 net/ipv6/route.c:4612 inet6_rtm_newroute+0xf8/0x190 net/ipv6/route.c:4780 rtnetlink_rcv_msg+0x463/0xb00 net/core/rtnetlink.c:5218 netlink_rcv_skb+0x177/0x450 net/netlink/af_netlink.c:2486 rtnetlink_rcv+0x1d/0x30 net/core/rtnetlink.c:5236 netlink_unicast_kernel net/netlink/af_netlink.c:1311 [inline] netlink_unicast+0x531/0x710 net/netlink/af_netlink.c:1337 netlink_sendmsg+0x8ae/0xd70 net/netlink/af_netlink.c:1926 sock_sendmsg_nosec net/socket.c:652 [inline] sock_sendmsg+0xd7/0x130 net/socket.c:671 ___sys_sendmsg+0x803/0x920 net/socket.c:2292 __sys_sendmsg+0x105/0x1d0 net/socket.c:2330 __do_sys_sendmsg net/socket.c:2339 [inline] __se_sys_sendmsg net/socket.c:2337 [inline] __x64_sys_sendmsg+0x78/0xb0 net/socket.c:2337 do_syscall_64+0xfd/0x680 arch/x86/entry/common.c:301 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x4592c9 Code: fd b7 fb ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 90 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 0f 83 cb b7 fb ff c3 66 2e 0f 1f 84 00 00 00 00 RSP: 002b:00007fe73009bc78 EFLAGS: 00000246 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 00000000004592c9 RDX: 0000000000000000 RSI: 0000000020000100 RDI: 0000000000000005 RBP: 000000000075bf20 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007fe73009c6d4 R13: 00000000004c6f76 R14: 00000000004dc0b0 R15: 00000000ffffffff Modules linked in: ---[ end trace 26970f0c04ccfc0a ]--- RIP: 0010:ipv6_addr_any include/net/ipv6.h:626 [inline] RIP: 0010:ip6_route_check_nh_onlink net/ipv6/route.c:2910 [inline] RIP: 0010:ip6_validate_gw net/ipv6/route.c:3013 [inline] RIP: 0010:fib6_nh_init+0x47e/0x1c80 net/ipv6/route.c:3121 Code: 89 de e8 c5 ab 4e fb 48 85 db 0f 84 fb 10 00 00 e8 17 aa 4e fb 48 8d 7b 40 48 b8 00 00 00 00 00 fc ff df 48 89 fa 48 c1 ea 03 <80> 3c 02 00 0f 85 bf 16 00 00 48 8d 7b 48 48 8b 4b 40 48 b8 00 00 RSP: 0018:ffff8880952cf2a0 EFLAGS: 00010a02 RAX: dffffc0000000000 RBX: ff88808d9086c000 RCX: ffffc90005aaf000 RDX: 1ff11011b210d808 RSI: ffffffff8621fba9 RDI: ff88808d9086c040 RBP: ffff8880952cf320 R08: ffff88808b0b6140 R09: ffffed1015d06be8 R10: ffffed1015d06be7 R11: ffff8880ae835f3b R12: ffff88808b0c44ff R13: ffff8880952cf490 R14: ffff8880a8192ed8 R15: ffff8880952cf4a4 FS: 00007fe73009c700(0000) GS:ffff8880ae800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fff93bbaf78 CR3: 000000009f98d000 CR4: 00000000001406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000600