===================================================== BUG: KMSAN: uninit-value in decode_session4 net/xfrm/xfrm_policy.c:3381 [inline] BUG: KMSAN: uninit-value in __xfrm_decode_session+0x10f9/0x27d0 net/xfrm/xfrm_policy.c:3552 decode_session4 net/xfrm/xfrm_policy.c:3381 [inline] __xfrm_decode_session+0x10f9/0x27d0 net/xfrm/xfrm_policy.c:3552 xfrm_decode_session include/net/xfrm.h:1210 [inline] xfrmi_xmit+0x201/0x25d0 net/xfrm/xfrm_interface_core.c:508 __netdev_start_xmit include/linux/netdevice.h:4865 [inline] netdev_start_xmit include/linux/netdevice.h:4879 [inline] xmit_one+0x14e/0x5f0 net/core/dev.c:3583 dev_hard_start_xmit+0xe5/0x370 net/core/dev.c:3599 __dev_queue_xmit+0x1dec/0x31f0 net/core/dev.c:4249 dev_queue_xmit+0x2b/0x30 include/linux/netdevice.h:3035 packet_snd net/packet/af_packet.c:3073 [inline] packet_sendmsg+0x6a89/0x7a40 net/packet/af_packet.c:3104 sock_sendmsg_nosec net/socket.c:714 [inline] sock_sendmsg net/socket.c:734 [inline] ____sys_sendmsg+0xa8e/0xe70 net/socket.c:2476 ___sys_sendmsg+0x2a1/0x3f0 net/socket.c:2530 __sys_sendmsg+0x258/0x440 net/socket.c:2559 __compat_sys_sendmsg net/compat.c:345 [inline] __do_compat_sys_sendmsg net/compat.c:352 [inline] __se_compat_sys_sendmsg net/compat.c:349 [inline] __ia32_compat_sys_sendmsg+0x99/0xe0 net/compat.c:349 do_syscall_32_irqs_on arch/x86/entry/common.c:112 [inline] __do_fast_syscall_32+0xa2/0x100 arch/x86/entry/common.c:178 do_fast_syscall_32+0x33/0x70 arch/x86/entry/common.c:203 do_SYSENTER_32+0x1b/0x20 arch/x86/entry/common.c:246 entry_SYSENTER_compat_after_hwframe+0x70/0x82 Uninit was created at: slab_post_alloc_hook mm/slab.h:766 [inline] slab_alloc_node mm/slub.c:3452 [inline] __kmem_cache_alloc_node+0x71f/0xce0 mm/slub.c:3491 __do_kmalloc_node mm/slab_common.c:967 [inline] __kmalloc_node_track_caller+0x114/0x3b0 mm/slab_common.c:988 kmalloc_reserve net/core/skbuff.c:492 [inline] __alloc_skb+0x3af/0x8f0 net/core/skbuff.c:565 alloc_skb include/linux/skbuff.h:1270 [inline] alloc_skb_with_frags+0xb9/0xba0 net/core/skbuff.c:6195 sock_alloc_send_pskb+0xaa8/0xc30 net/core/sock.c:2741 packet_alloc_skb net/packet/af_packet.c:2921 [inline] packet_snd net/packet/af_packet.c:3016 [inline] packet_sendmsg+0x4d71/0x7a40 net/packet/af_packet.c:3104 sock_sendmsg_nosec net/socket.c:714 [inline] sock_sendmsg net/socket.c:734 [inline] ____sys_sendmsg+0xa8e/0xe70 net/socket.c:2476 ___sys_sendmsg+0x2a1/0x3f0 net/socket.c:2530 __sys_sendmsg+0x258/0x440 net/socket.c:2559 __compat_sys_sendmsg net/compat.c:345 [inline] __do_compat_sys_sendmsg net/compat.c:352 [inline] __se_compat_sys_sendmsg net/compat.c:349 [inline] __ia32_compat_sys_sendmsg+0x99/0xe0 net/compat.c:349 do_syscall_32_irqs_on arch/x86/entry/common.c:112 [inline] __do_fast_syscall_32+0xa2/0x100 arch/x86/entry/common.c:178 do_fast_syscall_32+0x33/0x70 arch/x86/entry/common.c:203 do_SYSENTER_32+0x1b/0x20 arch/x86/entry/common.c:246 entry_SYSENTER_compat_after_hwframe+0x70/0x82 CPU: 0 PID: 12709 Comm: syz-executor.1 Tainted: G W 6.2.0-rc6-syzkaller-80422-geda666ff2276 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/12/2023 =====================================================