===================================================== BUG: KMSAN: uninit-value in decode_session6 net/xfrm/xfrm_policy.c:3477 [inline] BUG: KMSAN: uninit-value in __xfrm_decode_session+0x880/0x2890 net/xfrm/xfrm_policy.c:3566 decode_session6 net/xfrm/xfrm_policy.c:3477 [inline] __xfrm_decode_session+0x880/0x2890 net/xfrm/xfrm_policy.c:3566 xfrm_decode_session_reverse include/net/xfrm.h:1223 [inline] icmpv6_route_lookup+0x68b/0xa70 net/ipv6/icmp.c:388 icmp6_send+0x2164/0x29b0 net/ipv6/icmp.c:595 __icmpv6_send include/linux/icmpv6.h:28 [inline] icmpv6_send include/linux/icmpv6.h:49 [inline] ip6_link_failure+0x40/0x320 net/ipv6/route.c:2785 dst_link_failure include/net/dst.h:437 [inline] ip6_tnl_xmit+0x22dc/0x3760 net/ipv6/ip6_tunnel.c:1268 ipxip6_tnl_xmit net/ipv6/ip6_tunnel.c:1384 [inline] ip6_tnl_start_xmit+0x1851/0x1a70 net/ipv6/ip6_tunnel.c:1432 __netdev_start_xmit include/linux/netdevice.h:4910 [inline] netdev_start_xmit include/linux/netdevice.h:4924 [inline] xmit_one net/core/dev.c:3537 [inline] dev_hard_start_xmit+0x247/0xa10 net/core/dev.c:3553 sch_direct_xmit+0x3c5/0xd40 net/sched/sch_generic.c:342 qdisc_restart net/sched/sch_generic.c:407 [inline] __qdisc_run+0x14ab/0x35a0 net/sched/sch_generic.c:415 __dev_xmit_skb net/core/dev.c:3827 [inline] __dev_queue_xmit+0x1b43/0x50f0 net/core/dev.c:4169 dev_queue_xmit include/linux/netdevice.h:3088 [inline] neigh_connected_output+0x569/0x660 net/core/neighbour.c:1581 neigh_output include/net/neighbour.h:544 [inline] ip6_finish_output2+0x2179/0x28e0 net/ipv6/ip6_output.c:135 ip6_fragment+0x3322/0x39e0 net/ipv6/ip6_output.c:1008 __ip6_finish_output net/ipv6/ip6_output.c:194 [inline] ip6_finish_output+0x9cb/0x1240 net/ipv6/ip6_output.c:207 NF_HOOK_COND include/linux/netfilter.h:292 [inline] ip6_output+0x323/0x610 net/ipv6/ip6_output.c:228 dst_output include/net/dst.h:458 [inline] ip6_local_out+0xe9/0x140 net/ipv6/output_core.c:155 ip6_send_skb net/ipv6/ip6_output.c:2008 [inline] ip6_push_pending_frames+0x1f9/0x560 net/ipv6/ip6_output.c:2028 rawv6_push_pending_frames+0xbe8/0xdf0 net/ipv6/raw.c:582 rawv6_sendmsg+0x2925/0x2c10 net/ipv6/raw.c:926 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_sendmsg net/socket.c:2577 [inline] __do_sys_sendmsg net/socket.c:2586 [inline] __se_sys_sendmsg net/socket.c:2584 [inline] __x64_sys_sendmsg+0x307/0x490 net/socket.c:2584 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 Uninit was created at: __alloc_pages+0x9a4/0xe00 mm/page_alloc.c:4500 alloc_pages+0xd01/0x1040 alloc_slab_page mm/slub.c:1862 [inline] allocate_slab mm/slub.c:2009 [inline] new_slab+0x41e/0x1580 mm/slub.c:2062 ___slab_alloc+0x13c3/0x33b0 mm/slub.c:3215 __slab_alloc mm/slub.c:3314 [inline] __slab_alloc_node mm/slub.c:3367 [inline] slab_alloc_node mm/slub.c:3460 [inline] __kmem_cache_alloc_node+0x5ca/0x8d0 mm/slub.c:3509 __do_kmalloc_node mm/slab_common.c:984 [inline] __kmalloc_node_track_caller+0x118/0x3c0 mm/slab_common.c:1005 kmalloc_reserve+0x248/0x470 net/core/skbuff.c:575 __alloc_skb+0x318/0x740 net/core/skbuff.c:644 alloc_skb include/linux/skbuff.h:1289 [inline] nlmsg_new include/net/netlink.h:1003 [inline] rtmsg_ifinfo_build_skb+0xb7/0x420 net/core/rtnetlink.c:4015 unregister_netdevice_many_notify+0x19db/0x3010 net/core/dev.c:10854 unregister_netdevice_many+0x22/0x30 net/core/dev.c:10906 ip_tunnel_delete_nets+0x59f/0x5c0 net/ipv4/ip_tunnel.c:1144 ipip_exit_batch_net+0x40/0x50 net/ipv4/ipip.c:597 ops_exit_list net/core/net_namespace.c:175 [inline] cleanup_net+0xdb2/0x1880 net/core/net_namespace.c:614 process_one_work+0xbf6/0x17c0 kernel/workqueue.c:2597 worker_thread+0x107e/0x1d60 kernel/workqueue.c:2748 kthread+0x3e8/0x540 kernel/kthread.c:389 ret_from_fork+0x57/0x80 arch/x86/kernel/process.c:145 ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:296 CPU: 1 PID: 20351 Comm: syz-executor.1 Not tainted 6.5.0-rc3-syzkaller-00025-g5f0bc0b042fc #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2023 =====================================================