===================================================== BUG: KMSAN: uninit-value in xfrm_state_find+0x1614/0x61f0 net/xfrm/xfrm_state.c:1094 xfrm_state_find+0x1614/0x61f0 net/xfrm/xfrm_state.c:1094 xfrm_tmpl_resolve_one net/xfrm/xfrm_policy.c:2392 [inline] xfrm_tmpl_resolve net/xfrm/xfrm_policy.c:2437 [inline] xfrm_resolve_and_create_bundle+0x7dd/0x4ed0 net/xfrm/xfrm_policy.c:2730 xfrm_lookup_with_ifid+0x425/0x4120 net/xfrm/xfrm_policy.c:3064 xfrm_lookup net/xfrm/xfrm_policy.c:3193 [inline] xfrm_lookup_route+0x5f/0x2b0 net/xfrm/xfrm_policy.c:3204 ip6_dst_lookup_flow+0x13c/0x190 net/ipv6/ip6_output.c:1233 ip6_datagram_dst_update+0x959/0xf70 net/ipv6/datagram.c:89 __ip6_datagram_connect+0x1336/0x1630 net/ipv6/datagram.c:248 ip6_datagram_connect net/ipv6/datagram.c:272 [inline] ip6_datagram_connect_v6_only+0xa3/0x100 net/ipv6/datagram.c:284 inet_dgram_connect+0x2d9/0x660 net/ipv4/af_inet.c:581 __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:2370 [inline] xfrm_tmpl_resolve net/xfrm/xfrm_policy.c:2437 [inline] xfrm_resolve_and_create_bundle+0x36c/0x4ed0 net/xfrm/xfrm_policy.c:2730 xfrm_lookup_with_ifid+0x425/0x4120 net/xfrm/xfrm_policy.c:3064 CPU: 1 PID: 13232 Comm: syz-executor.0 Not tainted 6.1.0-syzkaller-64311-g5c6259d6d19f #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 =====================================================