===================================================== BUG: KMSAN: uninit-value in xfrm_state_find+0x25fe/0x76c0 net/xfrm/xfrm_state.c:1094 xfrm_state_find+0x25fe/0x76c0 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+0xc7d/0x54a0 net/xfrm/xfrm_policy.c:2728 xfrm_lookup_with_ifid+0x596/0x4800 net/xfrm/xfrm_policy.c:3062 xfrm_lookup net/xfrm/xfrm_policy.c:3191 [inline] xfrm_lookup_route+0x108/0x3b0 net/xfrm/xfrm_policy.c:3202 ip6_dst_lookup_flow+0x210/0x260 net/ipv6/ip6_output.c:1206 rawv6_sendmsg+0x1e66/0x33b0 net/ipv6/raw.c:928 inet_sendmsg+0x15b/0x1d0 net/ipv4/af_inet.c:819 sock_sendmsg_nosec net/socket.c:705 [inline] sock_sendmsg net/socket.c:725 [inline] ____sys_sendmsg+0xe11/0x12c0 net/socket.c:2413 ___sys_sendmsg net/socket.c:2467 [inline] __sys_sendmmsg+0xac2/0xf60 net/socket.c:2553 __do_sys_sendmmsg net/socket.c:2582 [inline] __se_sys_sendmmsg net/socket.c:2579 [inline] __x64_sys_sendmmsg+0x11c/0x170 net/socket.c:2579 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x3d/0x90 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae 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+0x528/0x54a0 net/xfrm/xfrm_policy.c:2728 xfrm_lookup_with_ifid+0x596/0x4800 net/xfrm/xfrm_policy.c:3062 CPU: 0 PID: 870 Comm: syz-executor.3 Not tainted 5.18.0-rc4-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 =====================================================