===================================================== 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+0x845/0xf60 net/socket.c:2546 __compat_sys_sendmmsg net/compat.c:361 [inline] __do_compat_sys_sendmmsg net/compat.c:368 [inline] __se_compat_sys_sendmmsg net/compat.c:365 [inline] __ia32_compat_sys_sendmmsg+0x127/0x180 net/compat.c:365 do_syscall_32_irqs_on arch/x86/entry/common.c:113 [inline] __do_fast_syscall_32+0x96/0xf0 arch/x86/entry/common.c:179 do_fast_syscall_32+0x34/0x70 arch/x86/entry/common.c:204 do_SYSENTER_32+0x1b/0x20 arch/x86/entry/common.c:247 entry_SYSENTER_compat_after_hwframe+0x4d/0x5c 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: 8327 Comm: syz-executor.5 Not tainted 5.18.0-rc4-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 =====================================================