================================================================== BUG: KMSAN: uninit-value in __mkroute_output net/ipv4/route.c:2200 [inline] BUG: KMSAN: uninit-value in ip_route_output_key_hash_rcu+0x3986/0x40c0 net/ipv4/route.c:2493 CPU: 0 PID: 9952 Comm: syz-executor7 Not tainted 4.16.0+ #87 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:17 [inline] dump_stack+0x185/0x1d0 lib/dump_stack.c:53 kmsan_report+0x142/0x240 mm/kmsan/kmsan.c:1067 __msan_warning_32+0x6c/0xb0 mm/kmsan/kmsan_instr.c:683 __mkroute_output net/ipv4/route.c:2200 [inline] ip_route_output_key_hash_rcu+0x3986/0x40c0 net/ipv4/route.c:2493 ip_route_output_key_hash+0x1ec/0x290 net/ipv4/route.c:2322 __ip_route_output_key include/net/route.h:126 [inline] ip_route_connect include/net/route.h:304 [inline] __ip4_datagram_connect+0xb95/0x1530 net/ipv4/datagram.c:51 ip4_datagram_connect+0xac/0xf0 net/ipv4/datagram.c:92 inet_dgram_connect+0x2e8/0x4d0 net/ipv4/af_inet.c:542 SYSC_connect+0x41a/0x510 net/socket.c:1639 SyS_connect+0x54/0x80 net/socket.c:1620 do_syscall_64+0x309/0x430 arch/x86/entry/common.c:287 entry_SYSCALL_64_after_hwframe+0x3d/0xa2 RIP: 0033:0x455979 RSP: 002b:00007f2829439c68 EFLAGS: 00000246 ORIG_RAX: 000000000000002a RAX: ffffffffffffffda RBX: 00007f282943a6d4 RCX: 0000000000455979 RDX: 0000000000000010 RSI: 0000000020000200 RDI: 0000000000000013 RBP: 000000000072bea0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00000000ffffffff R13: 000000000000005a R14: 00000000006f4910 R15: 0000000000000000 Local variable description: ----res@ip_route_output_key_hash Variable was created at: ip_route_output_key_hash+0x6e/0x290 net/ipv4/route.c:2307 __ip_route_output_key include/net/route.h:126 [inline] ip_route_connect include/net/route.h:304 [inline] __ip4_datagram_connect+0xb95/0x1530 net/ipv4/datagram.c:51 ==================================================================