===================================================== 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 ip_route_output_flow+0x2a3/0x340 net/ipv4/route.c:2880 ip_route_connect include/net/route.h:331 [inline] __ip4_datagram_connect+0xbf5/0x1280 net/ipv4/datagram.c:49 __ip6_datagram_connect+0x22d/0x1640 ip6_datagram_connect net/ipv6/datagram.c:277 [inline] ip6_datagram_connect_v6_only+0xa7/0x110 net/ipv6/datagram.c:289 inet_dgram_connect+0x2df/0x680 net/ipv4/af_inet.c:579 __sys_connect_file net/socket.c:2004 [inline] __sys_connect+0x6bc/0x760 net/socket.c:2021 __do_sys_connect net/socket.c:2031 [inline] __se_sys_connect net/socket.c:2028 [inline] __x64_sys_connect+0x91/0xe0 net/socket.c:2028 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: 1 PID: 9563 Comm: syz-executor.1 Not tainted 6.3.0-rc1-syzkaller-ge61893130d87 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/02/2023 =====================================================