===================================================== 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+0x1252/0x1cd0 net/ipv4/ip_gre.c:728 __netdev_start_xmit include/linux/netdevice.h:4913 [inline] netdev_start_xmit include/linux/netdevice.h:4922 [inline] xmit_one net/core/dev.c:3580 [inline] dev_hard_start_xmit+0x247/0xa20 net/core/dev.c:3596 sch_direct_xmit+0x3c5/0xd50 net/sched/sch_generic.c:343 __dev_xmit_skb net/core/dev.c:3809 [inline] __dev_queue_xmit+0x2f86/0x5610 net/core/dev.c:4389 dev_queue_xmit include/linux/netdevice.h:3105 [inline] __bpf_tx_skb net/core/filter.c:2151 [inline] __bpf_redirect_common net/core/filter.c:2195 [inline] __bpf_redirect+0x148c/0x1610 net/core/filter.c:2202 ____bpf_clone_redirect net/core/filter.c:2474 [inline] bpf_clone_redirect+0x37e/0x500 net/core/filter.c:2446 ___bpf_prog_run+0x13fe/0xe0f0 kernel/bpf/core.c:2010 __bpf_prog_run512+0xc5/0xf0 kernel/bpf/core.c:2253 bpf_dispatcher_nop_func include/linux/bpf.h:1243 [inline] __bpf_prog_run include/linux/filter.h:691 [inline] bpf_prog_run include/linux/filter.h:698 [inline] bpf_test_run+0x546/0xd20 net/bpf/test_run.c:433 bpf_prog_test_run_skb+0x182f/0x24d0 net/bpf/test_run.c:1094 bpf_prog_test_run+0x6b7/0xad0 kernel/bpf/syscall.c:4313 __sys_bpf+0x6aa/0xd90 kernel/bpf/syscall.c:5728 __do_sys_bpf kernel/bpf/syscall.c:5817 [inline] __se_sys_bpf kernel/bpf/syscall.c:5815 [inline] __x64_sys_bpf+0xa0/0xe0 kernel/bpf/syscall.c:5815 x64_sys_call+0x2cce/0x3ba0 arch/x86/include/generated/asm/syscalls_64.h:322 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xcd/0x1e0 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f Uninit was created at: slab_post_alloc_hook mm/slub.c:3994 [inline] slab_alloc_node mm/slub.c:4037 [inline] kmem_cache_alloc_node_noprof+0x6bf/0xb80 mm/slub.c:4080 kmalloc_reserve+0x13d/0x4a0 net/core/skbuff.c:583 pskb_expand_head+0x222/0x19c0 net/core/skbuff.c:2259 __skb_cow include/linux/skbuff.h:3646 [inline] skb_cow_head include/linux/skbuff.h:3680 [inline] erspan_xmit+0x8e2/0x1cd0 net/ipv4/ip_gre.c:714 __netdev_start_xmit include/linux/netdevice.h:4913 [inline] netdev_start_xmit include/linux/netdevice.h:4922 [inline] xmit_one net/core/dev.c:3580 [inline] dev_hard_start_xmit+0x247/0xa20 net/core/dev.c:3596 sch_direct_xmit+0x3c5/0xd50 net/sched/sch_generic.c:343 __dev_xmit_skb net/core/dev.c:3809 [inline] __dev_queue_xmit+0x2f86/0x5610 net/core/dev.c:4389 dev_queue_xmit include/linux/netdevice.h:3105 [inline] __bpf_tx_skb net/core/filter.c:2151 [inline] __bpf_redirect_common net/core/filter.c:2195 [inline] __bpf_redirect+0x148c/0x1610 net/core/filter.c:2202 ____bpf_clone_redirect net/core/filter.c:2474 [inline] bpf_clone_redirect+0x37e/0x500 net/core/filter.c:2446 ___bpf_prog_run+0x13fe/0xe0f0 kernel/bpf/core.c:2010 __bpf_prog_run512+0xc5/0xf0 kernel/bpf/core.c:2253 bpf_dispatcher_nop_func include/linux/bpf.h:1243 [inline] __bpf_prog_run include/linux/filter.h:691 [inline] bpf_prog_run include/linux/filter.h:698 [inline] bpf_test_run+0x546/0xd20 net/bpf/test_run.c:433 bpf_prog_test_run_skb+0x182f/0x24d0 net/bpf/test_run.c:1094 bpf_prog_test_run+0x6b7/0xad0 kernel/bpf/syscall.c:4313 __sys_bpf+0x6aa/0xd90 kernel/bpf/syscall.c:5728 __do_sys_bpf kernel/bpf/syscall.c:5817 [inline] __se_sys_bpf kernel/bpf/syscall.c:5815 [inline] __x64_sys_bpf+0xa0/0xe0 kernel/bpf/syscall.c:5815 x64_sys_call+0x2cce/0x3ba0 arch/x86/include/generated/asm/syscalls_64.h:322 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xcd/0x1e0 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f CPU: 1 UID: 0 PID: 5469 Comm: syz.4.34 Not tainted 6.11.0-rc5-syzkaller-00310-ge8784b0aef62 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/06/2024 =====================================================