===================================================== BUG: KMSAN: uninit-value in xfrm_state_find+0x1614/0x6230 net/xfrm/xfrm_state.c:1094 xfrm_state_find+0x1614/0x6230 net/xfrm/xfrm_state.c:1094 xfrm_tmpl_resolve_one net/xfrm/xfrm_policy.c:2393 [inline] xfrm_tmpl_resolve net/xfrm/xfrm_policy.c:2438 [inline] xfrm_resolve_and_create_bundle+0x7cc/0x5040 net/xfrm/xfrm_policy.c:2728 xfrm_lookup_with_ifid+0x420/0x42a0 net/xfrm/xfrm_policy.c:3062 xfrm_lookup net/xfrm/xfrm_policy.c:3191 [inline] xfrm_lookup_route+0x5f/0x2b0 net/xfrm/xfrm_policy.c:3202 ip6_dst_lookup_flow+0x13c/0x190 net/ipv6/ip6_output.c:1228 rawv6_sendmsg+0x2068/0x2ea0 net/ipv6/raw.c:928 inet_sendmsg+0x101/0x180 net/ipv4/af_inet.c:819 sock_sendmsg_nosec net/socket.c:714 [inline] sock_sendmsg net/socket.c:734 [inline] ____sys_sendmsg+0xabc/0xe90 net/socket.c:2492 ___sys_sendmsg+0x2a5/0x350 net/socket.c:2546 __sys_sendmmsg+0x413/0x960 net/socket.c:2632 __do_sys_sendmmsg net/socket.c:2661 [inline] __se_sys_sendmmsg net/socket.c:2658 [inline] __x64_sys_sendmmsg+0xb8/0x120 net/socket.c:2658 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+0x46/0xb0 Local variable tmp.i.i created at: xfrm_tmpl_resolve_one net/xfrm/xfrm_policy.c:2371 [inline] xfrm_tmpl_resolve net/xfrm/xfrm_policy.c:2438 [inline] xfrm_resolve_and_create_bundle+0x37c/0x5040 net/xfrm/xfrm_policy.c:2728 xfrm_lookup_with_ifid+0x420/0x42a0 net/xfrm/xfrm_policy.c:3062 CPU: 0 PID: 24075 Comm: syz-executor.3 Not tainted 5.19.0-rc4-syzkaller-31331-gef4d99f50920 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/18/2022 =====================================================