===================================================== BUG: KMSAN: uninit-value in xfrm_state_find+0x17c2/0x8af0 net/xfrm/xfrm_state.c:1160 xfrm_state_find+0x17c2/0x8af0 net/xfrm/xfrm_state.c:1160 xfrm_tmpl_resolve_one net/xfrm/xfrm_policy.c:2490 [inline] xfrm_tmpl_resolve net/xfrm/xfrm_policy.c:2535 [inline] xfrm_resolve_and_create_bundle+0x815/0x5080 net/xfrm/xfrm_policy.c:2830 xfrm_lookup_with_ifid+0x3f7/0x35a0 net/xfrm/xfrm_policy.c:3164 xfrm_lookup net/xfrm/xfrm_policy.c:3293 [inline] xfrm_lookup_route+0x63/0x2b0 net/xfrm/xfrm_policy.c:3304 ip_route_output_flow+0x288/0x320 net/ipv4/route.c:2879 udp_sendmsg+0x2412/0x3200 net/ipv4/udp.c:1214 inet_sendmsg+0x1fc/0x280 net/ipv4/af_inet.c:851 sock_sendmsg_nosec net/socket.c:730 [inline] __sock_sendmsg+0x267/0x380 net/socket.c:745 ____sys_sendmsg+0x903/0xb60 net/socket.c:2584 ___sys_sendmsg+0x28d/0x3c0 net/socket.c:2638 __sys_sendmmsg+0x4e2/0x950 net/socket.c:2717 __compat_sys_sendmmsg net/compat.c:360 [inline] __do_compat_sys_sendmmsg net/compat.c:367 [inline] __se_compat_sys_sendmmsg net/compat.c:364 [inline] __ia32_compat_sys_sendmmsg+0xc8/0x140 net/compat.c:364 do_syscall_32_irqs_on arch/x86/entry/common.c:165 [inline] __do_fast_syscall_32+0xba/0x120 arch/x86/entry/common.c:321 do_fast_syscall_32+0x38/0x80 arch/x86/entry/common.c:346 do_SYSENTER_32+0x1f/0x30 arch/x86/entry/common.c:384 entry_SYSENTER_compat_after_hwframe+0x7a/0x84 Local variable tmp.i.i created at: xfrm_tmpl_resolve_one net/xfrm/xfrm_policy.c:2468 [inline] xfrm_tmpl_resolve net/xfrm/xfrm_policy.c:2535 [inline] xfrm_resolve_and_create_bundle+0x376/0x5080 net/xfrm/xfrm_policy.c:2830 xfrm_lookup_with_ifid+0x3f7/0x35a0 net/xfrm/xfrm_policy.c:3164 CPU: 0 PID: 16272 Comm: syz-executor.4 Not tainted 6.9.0-rc1-syzkaller-00178-g317c7bc0ef03 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024 =====================================================