batman_adv: batadv0: Interface activated: batadv_slave_1 ===================================================== BUG: KMSAN: uninit-value in eth_type_trans+0x655/0xc10 net/ethernet/eth.c:192 CPU: 0 PID: 8476 Comm: syz-executor561 Not tainted 5.8.0-rc5-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack+0x21c/0x280 lib/dump_stack.c:118 kmsan_report+0xf7/0x1e0 mm/kmsan/kmsan_report.c:121 __msan_warning+0x58/0xa0 mm/kmsan/kmsan_instr.c:215 eth_type_trans+0x655/0xc10 net/ethernet/eth.c:192 __dev_forward_skb+0x4b0/0xb30 net/core/dev.c:2208 veth_forward_skb drivers/net/veth.c:278 [inline] veth_xmit+0x486/0xcf0 drivers/net/veth.c:309 __netdev_start_xmit include/linux/netdevice.h:4611 [inline] netdev_start_xmit include/linux/netdevice.h:4625 [inline] xmit_one+0x3cf/0x750 net/core/dev.c:3556 dev_hard_start_xmit net/core/dev.c:3572 [inline] __dev_queue_xmit+0x3aad/0x4470 net/core/dev.c:4131 dev_queue_xmit+0x4b/0x60 net/core/dev.c:4164 __bpf_tx_skb net/core/filter.c:2086 [inline] __bpf_redirect_common net/core/filter.c:2125 [inline] __bpf_redirect+0x1479/0x16b0 net/core/filter.c:2132 ____bpf_clone_redirect net/core/filter.c:2165 [inline] bpf_clone_redirect+0x498/0x650 net/core/filter.c:2137 ___bpf_prog_run+0x4498/0x98e0 kernel/bpf/core.c:1516 __bpf_prog_run512+0x12e/0x190 kernel/bpf/core.c:1694 bpf_test_run+0x52d/0xed0 include/linux/filter.h:734 bpf_prog_test_run_skb+0x1053/0x2ad0 net/bpf/test_run.c:459 bpf_prog_test_run kernel/bpf/syscall.c:2983 [inline] __do_sys_bpf+0xb364/0x1a4c0 kernel/bpf/syscall.c:4135 __se_sys_bpf+0x8e/0xa0 kernel/bpf/syscall.c:4075 __ia32_sys_bpf+0x4a/0x70 kernel/bpf/syscall.c:4075 do_syscall_32_irqs_on arch/x86/entry/common.c:430 [inline] __do_fast_syscall_32+0x2af/0x480 arch/x86/entry/common.c:477 do_fast_syscall_32+0x6b/0xd0 arch/x86/entry/common.c:505 do_SYSENTER_32+0x73/0x90 arch/x86/entry/common.c:554 entry_SYSENTER_compat_after_hwframe+0x4d/0x5c RIP: 0023:0xf7ff4549 Code: Bad RIP value. RSP: 002b:00000000fff5a83c EFLAGS: 00000246 ORIG_RAX: 0000000000000165 RAX: ffffffffffffffda RBX: 000000000000000a RCX: 0000000020000740 RDX: 0000000000000028 RSI: 00000000f7ff428c RDI: 0000000000000004 RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 Uninit was created at: kmsan_save_stack_with_flags mm/kmsan/kmsan.c:144 [inline] kmsan_internal_poison_shadow+0x66/0xd0 mm/kmsan/kmsan.c:127 kmsan_slab_alloc+0x8a/0xe0 mm/kmsan/kmsan_hooks.c:80 slab_alloc_node mm/slub.c:2839 [inline] __kmalloc_node_track_caller+0xeab/0x12e0 mm/slub.c:4478 __kmalloc_reserve net/core/skbuff.c:142 [inline] pskb_expand_head+0x26e/0x1e30 net/core/skbuff.c:1627 skb_ensure_writable+0x4d1/0x590 net/core/skbuff.c:5457 __bpf_try_make_writable net/core/filter.c:1624 [inline] bpf_try_make_writable net/core/filter.c:1630 [inline] bpf_try_make_head_writable net/core/filter.c:1638 [inline] ____bpf_clone_redirect net/core/filter.c:2159 [inline] bpf_clone_redirect+0x26c/0x650 net/core/filter.c:2137 ___bpf_prog_run+0x4498/0x98e0 kernel/bpf/core.c:1516 __bpf_prog_run512+0x12e/0x190 kernel/bpf/core.c:1694 bpf_test_run+0x52d/0xed0 include/linux/filter.h:734 bpf_prog_test_run_skb+0x1053/0x2ad0 net/bpf/test_run.c:459 bpf_prog_test_run kernel/bpf/syscall.c:2983 [inline] __do_sys_bpf+0xb364/0x1a4c0 kernel/bpf/syscall.c:4135 __se_sys_bpf+0x8e/0xa0 kernel/bpf/syscall.c:4075 __ia32_sys_bpf+0x4a/0x70 kernel/bpf/syscall.c:4075 do_syscall_32_irqs_on arch/x86/entry/common.c:430 [inline] __do_fast_syscall_32+0x2af/0x480 arch/x86/entry/common.c:477 do_fast_syscall_32+0x6b/0xd0 arch/x86/entry/common.c:505 do_SYSENTER_32+0x73/0x90 arch/x86/entry/common.c:554 entry_SYSENTER_compat_after_hwframe+0x4d/0x5c =====================================================