===================================================== 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+0x140/0x190 net/ipv6/ip6_output.c:1246 rawv6_sendmsg+0x1fde/0x2e50 net/ipv6/raw.c:900 inet_sendmsg+0x105/0x190 net/ipv4/af_inet.c:825 sock_sendmsg_nosec net/socket.c:724 [inline] sock_sendmsg net/socket.c:747 [inline] ____sys_sendmsg+0xa24/0xe40 net/socket.c:2501 ___sys_sendmsg+0x2a1/0x3f0 net/socket.c:2555 __sys_sendmmsg+0x548/0xa50 net/socket.c:2634 __compat_sys_sendmmsg net/compat.c:359 [inline] __do_compat_sys_sendmmsg net/compat.c:366 [inline] __se_compat_sys_sendmmsg net/compat.c:363 [inline] __ia32_compat_sys_sendmmsg+0xc8/0x140 net/compat.c:363 do_syscall_32_irqs_on arch/x86/entry/common.c:112 [inline] __do_fast_syscall_32+0xa2/0x100 arch/x86/entry/common.c:178 do_fast_syscall_32+0x37/0x80 arch/x86/entry/common.c:203 do_SYSENTER_32+0x1f/0x30 arch/x86/entry/common.c:246 entry_SYSENTER_compat_after_hwframe+0x70/0x82 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: 16950 Comm: syz-executor.5 Tainted: G W 6.3.0-rc2-syzkaller-g34add094f9de #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/02/2023 =====================================================