===================================================== BUG: KMSAN: uninit-value in xfrm_state_find+0x17bc/0x8ce0 net/xfrm/xfrm_state.c:1160 xfrm_state_find+0x17bc/0x8ce0 net/xfrm/xfrm_state.c:1160 xfrm_tmpl_resolve_one net/xfrm/xfrm_policy.c:2469 [inline] xfrm_tmpl_resolve net/xfrm/xfrm_policy.c:2514 [inline] xfrm_resolve_and_create_bundle+0x80c/0x4e30 net/xfrm/xfrm_policy.c:2807 xfrm_lookup_with_ifid+0x3f7/0x3590 net/xfrm/xfrm_policy.c:3141 xfrm_lookup net/xfrm/xfrm_policy.c:3270 [inline] xfrm_lookup_route+0x63/0x2b0 net/xfrm/xfrm_policy.c:3281 ip_route_output_flow+0x288/0x320 net/ipv4/route.c:2876 udp_sendmsg+0x235b/0x31b0 net/ipv4/udp.c:1231 inet_sendmsg+0x105/0x190 net/ipv4/af_inet.c:830 sock_sendmsg_nosec net/socket.c:725 [inline] sock_sendmsg net/socket.c:748 [inline] ____sys_sendmsg+0x9c2/0xd60 net/socket.c:2494 ___sys_sendmsg+0x28d/0x3c0 net/socket.c:2548 __sys_sendmmsg+0x3c4/0x950 net/socket.c:2634 __do_sys_sendmmsg net/socket.c:2663 [inline] __se_sys_sendmmsg net/socket.c:2660 [inline] __x64_sys_sendmmsg+0xbc/0x120 net/socket.c:2660 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:2447 [inline] xfrm_tmpl_resolve net/xfrm/xfrm_policy.c:2514 [inline] xfrm_resolve_and_create_bundle+0x370/0x4e30 net/xfrm/xfrm_policy.c:2807 xfrm_lookup_with_ifid+0x3f7/0x3590 net/xfrm/xfrm_policy.c:3141 CPU: 0 PID: 22820 Comm: syz-executor.1 Not tainted 6.5.0-rc6-syzkaller-00253-g9e6c269de404 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/26/2023 =====================================================