===================================================== BUG: KMSAN: uninit-value in xfrm_state_find+0x17d0/0x8a40 net/xfrm/xfrm_state.c:1219 xfrm_state_find+0x17d0/0x8a40 net/xfrm/xfrm_state.c:1219 xfrm_tmpl_resolve_one net/xfrm/xfrm_policy.c:2489 [inline] xfrm_tmpl_resolve net/xfrm/xfrm_policy.c:2540 [inline] xfrm_resolve_and_create_bundle+0x7d7/0x51f0 net/xfrm/xfrm_policy.c:2834 xfrm_lookup_with_ifid+0x3f7/0x35b0 net/xfrm/xfrm_policy.c:3168 xfrm_lookup net/xfrm/xfrm_policy.c:3297 [inline] xfrm_lookup_route+0x63/0x2b0 net/xfrm/xfrm_policy.c:3308 ip_route_output_flow+0x21d/0x2b0 net/ipv4/route.c:2859 ip_route_connect include/net/route.h:334 [inline] __ip4_datagram_connect+0xbfc/0x1290 net/ipv4/datagram.c:49 __ip6_datagram_connect+0x200/0x1580 ip6_datagram_connect net/ipv6/datagram.c:279 [inline] ip6_datagram_connect_v6_only+0xa7/0x110 net/ipv6/datagram.c:291 inet_dgram_connect+0x2e9/0x6a0 net/ipv4/af_inet.c:594 __sys_connect_file net/socket.c:2061 [inline] __sys_connect+0x606/0x690 net/socket.c:2078 __do_sys_connect net/socket.c:2088 [inline] __se_sys_connect net/socket.c:2085 [inline] __x64_sys_connect+0x91/0xe0 net/socket.c:2085 x64_sys_call+0x27a5/0x3ba0 arch/x86/include/generated/asm/syscalls_64.h:43 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xcd/0x1e0 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f Local variable tmp.i.i created at: xfrm_tmpl_resolve_one net/xfrm/xfrm_policy.c:2467 [inline] xfrm_tmpl_resolve net/xfrm/xfrm_policy.c:2540 [inline] xfrm_resolve_and_create_bundle+0x36c/0x51f0 net/xfrm/xfrm_policy.c:2834 xfrm_lookup_with_ifid+0x3f7/0x35b0 net/xfrm/xfrm_policy.c:3168 CPU: 1 UID: 0 PID: 29847 Comm: syz.1.10915 Not tainted 6.11.0-rc5-syzkaller-00176-g20371ba12063 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/06/2024 =====================================================