===================================================== 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:2731 xfrm_lookup_with_ifid+0x420/0x42c0 net/xfrm/xfrm_policy.c:3065 xfrm_lookup net/xfrm/xfrm_policy.c:3194 [inline] xfrm_lookup_route+0x5f/0x2b0 net/xfrm/xfrm_policy.c:3205 ip_route_output_flow+0x29b/0x340 net/ipv4/route.c:2880 ip_route_connect include/net/route.h:334 [inline] __ip4_datagram_connect+0xbe6/0x1350 net/ipv4/datagram.c:47 ip4_datagram_connect+0x45/0x80 net/ipv4/datagram.c:88 inet_dgram_connect+0x2b5/0x610 net/ipv4/af_inet.c:576 __sys_connect_file net/socket.c:1976 [inline] __sys_connect+0x6b8/0x760 net/socket.c:1993 __do_sys_connect net/socket.c:2003 [inline] __se_sys_connect net/socket.c:2000 [inline] __x64_sys_connect+0x8d/0xe0 net/socket.c:2000 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+0x63/0xcd 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:2731 xfrm_lookup_with_ifid+0x420/0x42c0 net/xfrm/xfrm_policy.c:3065 CPU: 0 PID: 21189 Comm: syz-executor.5 Not tainted 6.0.0-rc5-syzkaller-48543-g968c2729e576 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/22/2022 =====================================================