===================================================== 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+0x11a4/0x1f00 net/ipv4/ip_gre.c:701 __netdev_start_xmit include/linux/netdevice.h:4918 [inline] netdev_start_xmit include/linux/netdevice.h:4932 [inline] xmit_one net/core/dev.c:3578 [inline] dev_hard_start_xmit+0x247/0xa10 net/core/dev.c:3594 sch_direct_xmit+0x3c5/0xd40 net/sched/sch_generic.c:342 __dev_xmit_skb net/core/dev.c:3805 [inline] __dev_queue_xmit+0x2f1c/0x50f0 net/core/dev.c:4210 dev_queue_xmit include/linux/netdevice.h:3088 [inline] __bpf_tx_skb net/core/filter.c:2129 [inline] __bpf_redirect_common net/core/filter.c:2173 [inline] __bpf_redirect+0x14c4/0x16f0 net/core/filter.c:2180 ____bpf_clone_redirect net/core/filter.c:2453 [inline] bpf_clone_redirect+0x328/0x470 net/core/filter.c:2425 ___bpf_prog_run+0x805/0xb260 kernel/bpf/core.c:1828 __bpf_prog_run512+0xb5/0xe0 kernel/bpf/core.c:2051 bpf_dispatcher_nop_func include/linux/bpf.h:1168 [inline] __bpf_prog_run include/linux/filter.h:600 [inline] bpf_prog_run include/linux/filter.h:607 [inline] bpf_test_run+0x474/0xaf0 net/bpf/test_run.c:422 bpf_prog_test_run_skb+0x14e5/0x1f20 net/bpf/test_run.c:1229 bpf_prog_test_run+0x6ac/0xac0 kernel/bpf/syscall.c:3690 __sys_bpf+0x7cb/0xf80 kernel/bpf/syscall.c:5090 __do_sys_bpf kernel/bpf/syscall.c:5176 [inline] __se_sys_bpf kernel/bpf/syscall.c:5174 [inline] __ia32_sys_bpf+0xa0/0xe0 kernel/bpf/syscall.c:5174 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+0x37/0x80 arch/x86/entry/common.c:203 do_SYSENTER_32+0x1f/0x30 arch/x86/entry/common.c:246 entry_SYSENTER_compat_after_hwframe+0x70/0x82 Uninit was created at: slab_post_alloc_hook+0x12d/0xb60 mm/slab.h:716 slab_alloc_node mm/slub.c:3451 [inline] kmem_cache_alloc_node+0x535/0xa30 mm/slub.c:3496 kmalloc_reserve+0x148/0x470 net/core/skbuff.c:568 pskb_expand_head+0x226/0x1a10 net/core/skbuff.c:2054 __skb_cow include/linux/skbuff.h:3589 [inline] skb_cow_head include/linux/skbuff.h:3623 [inline] erspan_xmit+0xe96/0x1f00 net/ipv4/ip_gre.c:688 __netdev_start_xmit include/linux/netdevice.h:4918 [inline] netdev_start_xmit include/linux/netdevice.h:4932 [inline] xmit_one net/core/dev.c:3578 [inline] dev_hard_start_xmit+0x247/0xa10 net/core/dev.c:3594 sch_direct_xmit+0x3c5/0xd40 net/sched/sch_generic.c:342 __dev_xmit_skb net/core/dev.c:3805 [inline] __dev_queue_xmit+0x2f1c/0x50f0 net/core/dev.c:4210 dev_queue_xmit include/linux/netdevice.h:3088 [inline] __bpf_tx_skb net/core/filter.c:2129 [inline] __bpf_redirect_common net/core/filter.c:2173 [inline] __bpf_redirect+0x14c4/0x16f0 net/core/filter.c:2180 ____bpf_clone_redirect net/core/filter.c:2453 [inline] bpf_clone_redirect+0x328/0x470 net/core/filter.c:2425 ___bpf_prog_run+0x805/0xb260 kernel/bpf/core.c:1828 __bpf_prog_run512+0xb5/0xe0 kernel/bpf/core.c:2051 bpf_dispatcher_nop_func include/linux/bpf.h:1168 [inline] __bpf_prog_run include/linux/filter.h:600 [inline] bpf_prog_run include/linux/filter.h:607 [inline] bpf_test_run+0x474/0xaf0 net/bpf/test_run.c:422 bpf_prog_test_run_skb+0x14e5/0x1f20 net/bpf/test_run.c:1229 bpf_prog_test_run+0x6ac/0xac0 kernel/bpf/syscall.c:3690 __sys_bpf+0x7cb/0xf80 kernel/bpf/syscall.c:5090 __do_sys_bpf kernel/bpf/syscall.c:5176 [inline] __se_sys_bpf kernel/bpf/syscall.c:5174 [inline] __ia32_sys_bpf+0xa0/0xe0 kernel/bpf/syscall.c:5174 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+0x37/0x80 arch/x86/entry/common.c:203 do_SYSENTER_32+0x1f/0x30 arch/x86/entry/common.c:246 entry_SYSENTER_compat_after_hwframe+0x70/0x82 CPU: 1 PID: 6265 Comm: syz-executor.3 Not tainted 6.4.0-syzkaller-g257152fe29be #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/03/2023 =====================================================