===================================================== BUG: KMSAN: uninit-value in xfrm_state_find+0x18a5/0x9260 net/xfrm/xfrm_state.c:1160 xfrm_state_find+0x18a5/0x9260 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+0x7dd/0x4ed0 net/xfrm/xfrm_policy.c:2805 xfrm_lookup_with_ifid+0x40e/0x3670 net/xfrm/xfrm_policy.c:3139 xfrm_lookup net/xfrm/xfrm_policy.c:3268 [inline] xfrm_lookup_route+0x5f/0x2b0 net/xfrm/xfrm_policy.c:3279 ip_route_output_flow+0x29b/0x340 net/ipv4/route.c:2880 udp_sendmsg+0x2808/0x3610 net/ipv4/udp.c:1231 inet_sendmsg+0x101/0x180 net/ipv4/af_inet.c:827 sock_sendmsg_nosec net/socket.c:714 [inline] sock_sendmsg net/socket.c:734 [inline] ____sys_sendmsg+0xa8e/0xe70 net/socket.c:2476 ___sys_sendmsg+0x2a1/0x3f0 net/socket.c:2530 __sys_sendmmsg+0x40d/0xa40 net/socket.c:2616 __do_sys_sendmmsg net/socket.c:2645 [inline] __se_sys_sendmmsg net/socket.c:2642 [inline] __x64_sys_sendmmsg+0xb8/0x120 net/socket.c:2642 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x3d/0xb0 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+0x36c/0x4ed0 net/xfrm/xfrm_policy.c:2805 xfrm_lookup_with_ifid+0x40e/0x3670 net/xfrm/xfrm_policy.c:3139 CPU: 0 PID: 12506 Comm: syz-executor.0 Not tainted 6.2.0-rc3-syzkaller-79343-ge919e2b1bc1c #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/12/2023 =====================================================