===================================================== BUG: KMSAN: uninit-value in erspan_build_header+0x1ec/0x470 include/net/erspan.h:194 erspan_build_header+0x1ec/0x470 include/net/erspan.h:194 erspan_xmit+0x167f/0x2970 net/ipv4/ip_gre.c:699 __netdev_start_xmit include/linux/netdevice.h:4683 [inline] netdev_start_xmit include/linux/netdevice.h:4697 [inline] xmit_one+0x2f4/0x840 net/core/dev.c:3473 dev_hard_start_xmit+0x186/0x440 net/core/dev.c:3489 sch_direct_xmit+0x5f5/0x1400 net/sched/sch_generic.c:342 __dev_xmit_skb+0x18a4/0x2900 net/core/dev.c:3700 __dev_queue_xmit+0x1599/0x3310 net/core/dev.c:4081 dev_queue_xmit+0x4b/0x60 net/core/dev.c:4149 __bpf_tx_skb net/core/filter.c:2113 [inline] __bpf_redirect_common net/core/filter.c:2152 [inline] __bpf_redirect+0x15cd/0x1820 net/core/filter.c:2159 ____bpf_clone_redirect net/core/filter.c:2428 [inline] bpf_clone_redirect+0x4a5/0x670 net/core/filter.c:2400 ___bpf_prog_run+0x92d/0xb420 kernel/bpf/core.c:1558 __bpf_prog_run512+0x121/0x180 kernel/bpf/core.c:1798 bpf_dispatcher_nop_func include/linux/bpf.h:785 [inline] __bpf_prog_run include/linux/filter.h:626 [inline] bpf_prog_run include/linux/filter.h:633 [inline] bpf_test_run+0x762/0x1040 net/bpf/test_run.c:120 bpf_prog_test_run_skb+0x15c9/0x2100 net/bpf/test_run.c:666 bpf_prog_test_run+0x784/0x820 kernel/bpf/syscall.c:3350 __sys_bpf+0xadd/0x1240 kernel/bpf/syscall.c:4652 __do_sys_bpf kernel/bpf/syscall.c:4738 [inline] __se_sys_bpf kernel/bpf/syscall.c:4736 [inline] __ia32_sys_bpf+0xe1/0x130 kernel/bpf/syscall.c:4736 do_syscall_32_irqs_on arch/x86/entry/common.c:114 [inline] __do_fast_syscall_32+0x96/0xf0 arch/x86/entry/common.c:180 do_fast_syscall_32+0x34/0x70 arch/x86/entry/common.c:205 do_SYSENTER_32+0x1b/0x20 arch/x86/entry/common.c:248 entry_SYSENTER_compat_after_hwframe+0x4d/0x5c Uninit was created at: slab_post_alloc_hook mm/slab.h:737 [inline] slab_alloc_node mm/slub.c:3247 [inline] __kmalloc_node_track_caller+0xe0c/0x1510 mm/slub.c:4975 kmalloc_reserve net/core/skbuff.c:354 [inline] pskb_expand_head+0x26a/0x1ca0 net/core/skbuff.c:1699 __skb_cow include/linux/skbuff.h:3324 [inline] skb_cow_head include/linux/skbuff.h:3358 [inline] erspan_xmit+0xae8/0x2970 net/ipv4/ip_gre.c:686 __netdev_start_xmit include/linux/netdevice.h:4683 [inline] netdev_start_xmit include/linux/netdevice.h:4697 [inline] xmit_one+0x2f4/0x840 net/core/dev.c:3473 dev_hard_start_xmit+0x186/0x440 net/core/dev.c:3489 sch_direct_xmit+0x5f5/0x1400 net/sched/sch_generic.c:342 __dev_xmit_skb+0x18a4/0x2900 net/core/dev.c:3700 __dev_queue_xmit+0x1599/0x3310 net/core/dev.c:4081 dev_queue_xmit+0x4b/0x60 net/core/dev.c:4149 __bpf_tx_skb net/core/filter.c:2113 [inline] __bpf_redirect_common net/core/filter.c:2152 [inline] __bpf_redirect+0x15cd/0x1820 net/core/filter.c:2159 ____bpf_clone_redirect net/core/filter.c:2428 [inline] bpf_clone_redirect+0x4a5/0x670 net/core/filter.c:2400 ___bpf_prog_run+0x92d/0xb420 kernel/bpf/core.c:1558 __bpf_prog_run512+0x121/0x180 kernel/bpf/core.c:1798 bpf_dispatcher_nop_func include/linux/bpf.h:785 [inline] __bpf_prog_run include/linux/filter.h:626 [inline] bpf_prog_run include/linux/filter.h:633 [inline] bpf_test_run+0x762/0x1040 net/bpf/test_run.c:120 bpf_prog_test_run_skb+0x15c9/0x2100 net/bpf/test_run.c:666 bpf_prog_test_run+0x784/0x820 kernel/bpf/syscall.c:3350 __sys_bpf+0xadd/0x1240 kernel/bpf/syscall.c:4652 __do_sys_bpf kernel/bpf/syscall.c:4738 [inline] __se_sys_bpf kernel/bpf/syscall.c:4736 [inline] __ia32_sys_bpf+0xe1/0x130 kernel/bpf/syscall.c:4736 do_syscall_32_irqs_on arch/x86/entry/common.c:114 [inline] __do_fast_syscall_32+0x96/0xf0 arch/x86/entry/common.c:180 do_fast_syscall_32+0x34/0x70 arch/x86/entry/common.c:205 do_SYSENTER_32+0x1b/0x20 arch/x86/entry/common.c:248 entry_SYSENTER_compat_after_hwframe+0x4d/0x5c CPU: 1 PID: 21125 Comm: syz-executor.3 Not tainted 5.17.0-rc4-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 =====================================================