================================================================== BUG: KMSAN: uninit-value in strlen lib/string.c:482 [inline] BUG: KMSAN: uninit-value in strlcpy+0x68/0x1c0 lib/string.c:142 CPU: 0 PID: 10406 Comm: syz-executor3 Not tainted 4.17.0-rc5+ #1 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack+0x185/0x1d0 lib/dump_stack.c:113 kmsan_report+0x149/0x260 mm/kmsan/kmsan.c:1084 __msan_warning_32+0x6e/0xc0 mm/kmsan/kmsan_instr.c:685 strlen lib/string.c:482 [inline] strlcpy+0x68/0x1c0 lib/string.c:142 do_ip_vs_set_ctl+0x565/0x2770 net/netfilter/ipvs/ip_vs_ctl.c:2384 nf_sockopt net/netfilter/nf_sockopt.c:106 [inline] nf_setsockopt+0x47c/0x4e0 net/netfilter/nf_sockopt.c:115 ip_setsockopt+0x24b/0x2b0 net/ipv4/ip_sockglue.c:1253 udp_setsockopt+0x108/0x1b0 net/ipv4/udp.c:2416 ipv6_setsockopt+0x311/0x350 net/ipv6/ipv6_sockglue.c:917 tcp_setsockopt+0x1c0/0x1f0 net/ipv4/tcp.c:2891 sock_common_setsockopt+0x13b/0x170 net/core/sock.c:3039 __sys_setsockopt+0x496/0x540 net/socket.c:1903 __do_sys_setsockopt net/socket.c:1914 [inline] __se_sys_setsockopt net/socket.c:1911 [inline] __x64_sys_setsockopt+0x15c/0x1c0 net/socket.c:1911 do_syscall_64+0x15b/0x230 arch/x86/entry/common.c:287 entry_SYSCALL_64_after_hwframe+0x44/0xa9 RIP: 0033:0x455a09 RSP: 002b:00007f85ab7e3c68 EFLAGS: 00000246 ORIG_RAX: 0000000000000036 RAX: ffffffffffffffda RBX: 00007f85ab7e46d4 RCX: 0000000000455a09 RDX: 000000000000048b RSI: 0000000000000000 RDI: 0000000000000013 RBP: 000000000072bea0 R08: 0000000000000018 R09: 0000000000000000 R10: 0000000020000040 R11: 0000000000000246 R12: 00000000ffffffff R13: 0000000000000600 R14: 00000000006fe0a0 R15: 0000000000000000 Local variable description: ----arg@do_ip_vs_set_ctl Variable was created at: read_pnet include/net/net_namespace.h:288 [inline] sock_net include/net/sock.h:2306 [inline] do_ip_vs_set_ctl+0x93/0x2770 net/netfilter/ipvs/ip_vs_ctl.c:2347 nf_sockopt net/netfilter/nf_sockopt.c:106 [inline] nf_setsockopt+0x47c/0x4e0 net/netfilter/nf_sockopt.c:115 ==================================================================