===================================================== BUG: KMSAN: uninit-value in erspan_build_header+0x170/0x2f0 include/net/erspan.h:197 erspan_build_header+0x170/0x2f0 include/net/erspan.h:197 erspan_xmit+0x11a2/0x1f00 net/ipv4/ip_gre.c:701 __netdev_start_xmit include/linux/netdevice.h:4843 [inline] netdev_start_xmit include/linux/netdevice.h:4857 [inline] xmit_one+0x15a/0x5f0 net/core/dev.c:3590 dev_hard_start_xmit+0xe5/0x370 net/core/dev.c:3606 sch_direct_xmit+0x3f1/0xdb0 net/sched/sch_generic.c:342 __dev_xmit_skb+0xc22/0x1a30 net/core/dev.c:3817 __dev_queue_xmit+0x12cb/0x31f0 net/core/dev.c:4222 dev_queue_xmit include/linux/netdevice.h:3009 [inline] __bpf_tx_skb net/core/filter.c:2116 [inline] __bpf_redirect_common net/core/filter.c:2155 [inline] __bpf_redirect+0x1293/0x13b0 net/core/filter.c:2162 ____bpf_clone_redirect net/core/filter.c:2431 [inline] bpf_clone_redirect+0x324/0x470 net/core/filter.c:2403 ___bpf_prog_run+0x7ed/0xaee0 kernel/bpf/core.c:1818 __bpf_prog_run512+0xc2/0x110 kernel/bpf/core.c:2043 bpf_dispatcher_nop_func include/linux/bpf.h:968 [inline] __bpf_prog_run include/linux/filter.h:600 [inline] bpf_prog_run include/linux/filter.h:607 [inline] bpf_test_run+0x592/0xd20 net/bpf/test_run.c:402 bpf_prog_test_run_skb+0x1625/0x2090 net/bpf/test_run.c:1183 bpf_prog_test_run+0x6a0/0x730 kernel/bpf/syscall.c:3630 __sys_bpf+0x8a3/0xe90 kernel/bpf/syscall.c:4983 __do_sys_bpf kernel/bpf/syscall.c:5069 [inline] __se_sys_bpf kernel/bpf/syscall.c:5067 [inline] __ia32_sys_bpf+0x9c/0xe0 kernel/bpf/syscall.c:5067 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:742 [inline] slab_alloc_node mm/slub.c:3398 [inline] __kmem_cache_alloc_node+0x6ee/0xc90 mm/slub.c:3437 __do_kmalloc_node mm/slab_common.c:954 [inline] __kmalloc_node_track_caller+0x114/0x3c0 mm/slab_common.c:975 kmalloc_reserve net/core/skbuff.c:437 [inline] pskb_expand_head+0x23d/0x1970 net/core/skbuff.c:1832 __skb_cow include/linux/skbuff.h:3534 [inline] skb_cow_head include/linux/skbuff.h:3568 [inline] erspan_xmit+0xad2/0x1f00 net/ipv4/ip_gre.c:688 __netdev_start_xmit include/linux/netdevice.h:4843 [inline] netdev_start_xmit include/linux/netdevice.h:4857 [inline] xmit_one+0x15a/0x5f0 net/core/dev.c:3590 dev_hard_start_xmit+0xe5/0x370 net/core/dev.c:3606 sch_direct_xmit+0x3f1/0xdb0 net/sched/sch_generic.c:342 __dev_xmit_skb+0xc22/0x1a30 net/core/dev.c:3817 __dev_queue_xmit+0x12cb/0x31f0 net/core/dev.c:4222 dev_queue_xmit include/linux/netdevice.h:3009 [inline] __bpf_tx_skb net/core/filter.c:2116 [inline] __bpf_redirect_common net/core/filter.c:2155 [inline] __bpf_redirect+0x1293/0x13b0 net/core/filter.c:2162 ____bpf_clone_redirect net/core/filter.c:2431 [inline] bpf_clone_redirect+0x324/0x470 net/core/filter.c:2403 ___bpf_prog_run+0x7ed/0xaee0 kernel/bpf/core.c:1818 __bpf_prog_run512+0xc2/0x110 kernel/bpf/core.c:2043 bpf_dispatcher_nop_func include/linux/bpf.h:968 [inline] __bpf_prog_run include/linux/filter.h:600 [inline] bpf_prog_run include/linux/filter.h:607 [inline] bpf_test_run+0x592/0xd20 net/bpf/test_run.c:402 bpf_prog_test_run_skb+0x1625/0x2090 net/bpf/test_run.c:1183 bpf_prog_test_run+0x6a0/0x730 kernel/bpf/syscall.c:3630 __sys_bpf+0x8a3/0xe90 kernel/bpf/syscall.c:4983 __do_sys_bpf kernel/bpf/syscall.c:5069 [inline] __se_sys_bpf kernel/bpf/syscall.c:5067 [inline] __ia32_sys_bpf+0x9c/0xe0 kernel/bpf/syscall.c:5067 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: 5007 Comm: syz-executor.3 Not tainted 6.1.0-rc6-syzkaller-63553-gddce02aa9c40 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 =====================================================