===================================================== BUG: KMSAN: uninit-value in erspan_build_header+0x16d/0x330 erspan_build_header+0x16d/0x330 erspan_xmit+0x11b1/0x2020 net/ipv4/ip_gre.c:697 __netdev_start_xmit include/linux/netdevice.h:4775 [inline] netdev_start_xmit include/linux/netdevice.h:4789 [inline] xmit_one+0x1de/0x6a0 net/core/dev.c:3532 dev_hard_start_xmit+0xe5/0x370 net/core/dev.c:3548 sch_direct_xmit+0x3f1/0xdb0 net/sched/sch_generic.c:342 __dev_xmit_skb+0x1156/0x1a70 net/core/dev.c:3759 __dev_queue_xmit+0x118d/0x2ed0 net/core/dev.c:4141 dev_queue_xmit+0x2b/0x30 net/core/dev.c:4209 __bpf_tx_skb net/core/filter.c:2113 [inline] __bpf_redirect_common net/core/filter.c:2152 [inline] __bpf_redirect+0x1273/0x1420 net/core/filter.c:2159 ____bpf_clone_redirect net/core/filter.c:2428 [inline] bpf_clone_redirect+0x324/0x470 net/core/filter.c:2400 ___bpf_prog_run+0x7f7/0xac10 kernel/bpf/core.c:1835 __bpf_prog_run512+0xdb/0x120 kernel/bpf/core.c:2075 bpf_dispatcher_nop_func include/linux/bpf.h:804 [inline] __bpf_prog_run include/linux/filter.h:628 [inline] bpf_prog_run include/linux/filter.h:635 [inline] bpf_test_run+0x592/0xd20 net/bpf/test_run.c:402 bpf_prog_test_run_skb+0x1625/0x20b0 net/bpf/test_run.c:1111 bpf_prog_test_run+0x6a0/0x730 kernel/bpf/syscall.c:3369 __sys_bpf+0x7e3/0xe90 kernel/bpf/syscall.c:4681 __do_sys_bpf kernel/bpf/syscall.c:4767 [inline] __se_sys_bpf kernel/bpf/syscall.c:4765 [inline] __ia32_sys_bpf+0x9c/0xe0 kernel/bpf/syscall.c:4765 do_syscall_32_irqs_on arch/x86/entry/common.c:112 [inline] __do_fast_syscall_32+0x95/0xf0 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+0x4d/0x5c Uninit was created at: slab_post_alloc_hook mm/slab.h:754 [inline] slab_alloc_node mm/slub.c:3232 [inline] __kmalloc_node_track_caller+0x86c/0x1230 mm/slub.c:4963 kmalloc_reserve net/core/skbuff.c:354 [inline] pskb_expand_head+0x1aa/0x1a00 net/core/skbuff.c:1700 __skb_cow include/linux/skbuff.h:3476 [inline] skb_cow_head include/linux/skbuff.h:3510 [inline] erspan_xmit+0xad5/0x2020 net/ipv4/ip_gre.c:684 __netdev_start_xmit include/linux/netdevice.h:4775 [inline] netdev_start_xmit include/linux/netdevice.h:4789 [inline] xmit_one+0x1de/0x6a0 net/core/dev.c:3532 dev_hard_start_xmit+0xe5/0x370 net/core/dev.c:3548 sch_direct_xmit+0x3f1/0xdb0 net/sched/sch_generic.c:342 __dev_xmit_skb+0x1156/0x1a70 net/core/dev.c:3759 __dev_queue_xmit+0x118d/0x2ed0 net/core/dev.c:4141 dev_queue_xmit+0x2b/0x30 net/core/dev.c:4209 __bpf_tx_skb net/core/filter.c:2113 [inline] __bpf_redirect_common net/core/filter.c:2152 [inline] __bpf_redirect+0x1273/0x1420 net/core/filter.c:2159 ____bpf_clone_redirect net/core/filter.c:2428 [inline] bpf_clone_redirect+0x324/0x470 net/core/filter.c:2400 ___bpf_prog_run+0x7f7/0xac10 kernel/bpf/core.c:1835 __bpf_prog_run512+0xdb/0x120 kernel/bpf/core.c:2075 bpf_dispatcher_nop_func include/linux/bpf.h:804 [inline] __bpf_prog_run include/linux/filter.h:628 [inline] bpf_prog_run include/linux/filter.h:635 [inline] bpf_test_run+0x592/0xd20 net/bpf/test_run.c:402 bpf_prog_test_run_skb+0x1625/0x20b0 net/bpf/test_run.c:1111 bpf_prog_test_run+0x6a0/0x730 kernel/bpf/syscall.c:3369 __sys_bpf+0x7e3/0xe90 kernel/bpf/syscall.c:4681 __do_sys_bpf kernel/bpf/syscall.c:4767 [inline] __se_sys_bpf kernel/bpf/syscall.c:4765 [inline] __ia32_sys_bpf+0x9c/0xe0 kernel/bpf/syscall.c:4765 do_syscall_32_irqs_on arch/x86/entry/common.c:112 [inline] __do_fast_syscall_32+0x95/0xf0 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+0x4d/0x5c CPU: 1 PID: 9461 Comm: syz-executor.3 Not tainted 5.18.0-syzkaller-16266-gfb61e40b30d1 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 =====================================================