===================================================== 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 ip6_dst_lookup_flow net/ipv6/ip6_output.c:1246 [inline] ip6_sk_dst_lookup_flow+0x10cf/0x13b0 net/ipv6/ip6_output.c:1278 udpv6_sendmsg+0x36a9/0x4370 net/ipv6/udp.c:1562 inet6_sendmsg+0x105/0x190 net/ipv6/af_inet6.c:661 sock_sendmsg_nosec net/socket.c:714 [inline] sock_sendmsg net/socket.c:734 [inline] __sys_sendto+0x7f6/0xa70 net/socket.c:2120 __do_sys_sendto net/socket.c:2132 [inline] __se_sys_sendto net/socket.c:2128 [inline] __x64_sys_sendto+0x125/0x1c0 net/socket.c:2128 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: 0 PID: 9512 Comm: syz-executor.3 Tainted: G W 6.2.0-syzkaller-81152-g97e36f4aa06f #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/16/2023 =====================================================