===================================================== BUG: KMSAN: uninit-value in xfrm_state_find+0x181f/0x92b0 net/xfrm/xfrm_state.c:1160 xfrm_state_find+0x181f/0x92b0 net/xfrm/xfrm_state.c:1160 xfrm_tmpl_resolve_one net/xfrm/xfrm_policy.c:2467 [inline] xfrm_tmpl_resolve net/xfrm/xfrm_policy.c:2512 [inline] xfrm_resolve_and_create_bundle+0x7eb/0x4f40 net/xfrm/xfrm_policy.c:2805 xfrm_lookup_with_ifid+0x414/0x36a0 net/xfrm/xfrm_policy.c:3139 xfrm_lookup net/xfrm/xfrm_policy.c:3268 [inline] xfrm_lookup_route+0x63/0x2b0 net/xfrm/xfrm_policy.c:3279 ip_route_output_flow+0x2a3/0x340 net/ipv4/route.c:2880 udp_sendmsg+0x2597/0x3510 net/ipv4/udp.c:1231 inet_sendmsg+0x105/0x190 net/ipv4/af_inet.c:825 sock_sendmsg_nosec net/socket.c:724 [inline] sock_sendmsg net/socket.c:747 [inline] ____sys_sendmsg+0xa24/0xe40 net/socket.c:2501 ___sys_sendmsg+0x2a1/0x3f0 net/socket.c:2555 __sys_sendmmsg+0x411/0xa50 net/socket.c:2641 __do_sys_sendmmsg net/socket.c:2670 [inline] __se_sys_sendmmsg net/socket.c:2667 [inline] __x64_sys_sendmmsg+0xbc/0x120 net/socket.c:2667 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x41/0xc0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd Local variable tmp.i.i created at: xfrm_tmpl_resolve_one net/xfrm/xfrm_policy.c:2445 [inline] xfrm_tmpl_resolve net/xfrm/xfrm_policy.c:2512 [inline] xfrm_resolve_and_create_bundle+0x37a/0x4f40 net/xfrm/xfrm_policy.c:2805 xfrm_lookup_with_ifid+0x414/0x36a0 net/xfrm/xfrm_policy.c:3139 CPU: 1 PID: 24324 Comm: syz-executor.3 Not tainted 6.3.0-rc3-syzkaller-g90ea0df61c98 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/02/2023 =====================================================