===================================================== BUG: KMSAN: uninit-value in do_ip_vs_set_ctl+0x19c2/0x34a0 net/netfilter/ipvs/ip_vs_ctl.c:2537 CPU: 0 PID: 29347 Comm: syz-executor.5 Not tainted 5.9.0-rc8-syzkaller #0 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+0x21c/0x280 lib/dump_stack.c:118 kmsan_report+0xf7/0x1e0 mm/kmsan/kmsan_report.c:122 __msan_warning+0x55/0x90 mm/kmsan/kmsan_instr.c:201 do_ip_vs_set_ctl+0x19c2/0x34a0 net/netfilter/ipvs/ip_vs_ctl.c:2537 nf_setsockopt+0x588/0x5e0 net/netfilter/nf_sockopt.c:101 ip_setsockopt+0x6412/0x8ae0 net/ipv4/ip_sockglue.c:1436 dccp_setsockopt+0x43f/0x1960 net/dccp/proto.c:578 sock_common_setsockopt+0x16c/0x1b0 net/core/sock.c:3247 __sys_setsockopt+0x951/0xda0 net/socket.c:2132 __do_sys_setsockopt net/socket.c:2143 [inline] __se_sys_setsockopt+0xdd/0x100 net/socket.c:2140 __x64_sys_setsockopt+0x62/0x80 net/socket.c:2140 do_syscall_64+0x9f/0x140 arch/x86/entry/common.c:48 entry_SYSCALL_64_after_hwframe+0x44/0xa9 RIP: 0033:0x45de59 Code: 0d b4 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 db b3 fb ff c3 66 2e 0f 1f 84 00 00 00 00 RSP: 002b:00007fa397e48c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000036 RAX: ffffffffffffffda RBX: 0000000000031280 RCX: 000000000045de59 RDX: 0000000000000480 RSI: 0000000000000000 RDI: 0000000000000003 RBP: 000000000118bf70 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000118bf2c R13: 000000000169fb7f R14: 00007fa397e499c0 R15: 000000000118bf2c Uninit was stored to memory at: kmsan_save_stack_with_flags mm/kmsan/kmsan.c:143 [inline] kmsan_internal_chain_origin+0xad/0x130 mm/kmsan/kmsan.c:311 __msan_chain_origin+0x4d/0x90 mm/kmsan/kmsan_instr.c:151 ip_vs_copy_usvc_compat net/netfilter/ipvs/ip_vs_ctl.c:2425 [inline] do_ip_vs_set_ctl+0x1296/0x34a0 net/netfilter/ipvs/ip_vs_ctl.c:2518 nf_setsockopt+0x588/0x5e0 net/netfilter/nf_sockopt.c:101 ip_setsockopt+0x6412/0x8ae0 net/ipv4/ip_sockglue.c:1436 dccp_setsockopt+0x43f/0x1960 net/dccp/proto.c:578 sock_common_setsockopt+0x16c/0x1b0 net/core/sock.c:3247 __sys_setsockopt+0x951/0xda0 net/socket.c:2132 __do_sys_setsockopt net/socket.c:2143 [inline] __se_sys_setsockopt+0xdd/0x100 net/socket.c:2140 __x64_sys_setsockopt+0x62/0x80 net/socket.c:2140 do_syscall_64+0x9f/0x140 arch/x86/entry/common.c:48 entry_SYSCALL_64_after_hwframe+0x44/0xa9 Local variable ----arg@do_ip_vs_set_ctl created at: do_ip_vs_set_ctl+0xd9/0x34a0 net/netfilter/ipvs/ip_vs_ctl.c:2458 do_ip_vs_set_ctl+0xd9/0x34a0 net/netfilter/ipvs/ip_vs_ctl.c:2458 =====================================================