===================================================== BUG: KMSAN: uninit-value in batadv_get_vid+0x1b6/0x2e0 net/batman-adv/main.c:632 batadv_get_vid+0x1b6/0x2e0 net/batman-adv/main.c:632 batadv_interface_tx+0x329/0x1ce0 net/batman-adv/soft-interface.c:213 __netdev_start_xmit include/linux/netdevice.h:4980 [inline] netdev_start_xmit include/linux/netdevice.h:4994 [inline] xmit_one net/core/dev.c:3547 [inline] dev_hard_start_xmit+0x244/0xa10 net/core/dev.c:3563 __dev_queue_xmit+0x33ed/0x51c0 net/core/dev.c:4351 dev_queue_xmit include/linux/netdevice.h:3171 [inline] __bpf_tx_skb net/core/filter.c:2136 [inline] __bpf_redirect_common net/core/filter.c:2180 [inline] __bpf_redirect+0x1478/0x1600 net/core/filter.c:2187 ____bpf_clone_redirect net/core/filter.c:2460 [inline] bpf_clone_redirect+0x328/0x470 net/core/filter.c:2432 ___bpf_prog_run+0x2180/0xdb80 kernel/bpf/core.c:1986 __bpf_prog_run512+0xb5/0xe0 kernel/bpf/core.c:2227 bpf_dispatcher_nop_func include/linux/bpf.h:1231 [inline] __bpf_prog_run include/linux/filter.h:651 [inline] bpf_prog_run include/linux/filter.h:658 [inline] bpf_test_run+0x482/0xaf0 net/bpf/test_run.c:423 bpf_prog_test_run_skb+0x14e5/0x1f20 net/bpf/test_run.c:1056 bpf_prog_test_run+0x6af/0xac0 kernel/bpf/syscall.c:4107 __sys_bpf+0x649/0xd60 kernel/bpf/syscall.c:5475 __do_sys_bpf kernel/bpf/syscall.c:5561 [inline] __se_sys_bpf kernel/bpf/syscall.c:5559 [inline] __x64_sys_bpf+0xa0/0xe0 kernel/bpf/syscall.c:5559 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xcf/0x1e0 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x63/0x6b Uninit was created at: slab_post_alloc_hook mm/slub.c:3819 [inline] slab_alloc_node mm/slub.c:3860 [inline] kmem_cache_alloc_node+0x5cb/0xbc0 mm/slub.c:3903 kmalloc_reserve+0x13d/0x4a0 net/core/skbuff.c:560 pskb_expand_head+0x226/0x1a00 net/core/skbuff.c:2136 skb_ensure_writable+0x3d3/0x460 net/core/skbuff.c:5996 __bpf_try_make_writable net/core/filter.c:1665 [inline] bpf_try_make_writable net/core/filter.c:1671 [inline] bpf_try_make_head_writable net/core/filter.c:1679 [inline] ____bpf_clone_redirect net/core/filter.c:2454 [inline] bpf_clone_redirect+0x17f/0x470 net/core/filter.c:2432 ___bpf_prog_run+0x2180/0xdb80 kernel/bpf/core.c:1986 __bpf_prog_run512+0xb5/0xe0 kernel/bpf/core.c:2227 bpf_dispatcher_nop_func include/linux/bpf.h:1231 [inline] __bpf_prog_run include/linux/filter.h:651 [inline] bpf_prog_run include/linux/filter.h:658 [inline] bpf_test_run+0x482/0xaf0 net/bpf/test_run.c:423 bpf_prog_test_run_skb+0x14e5/0x1f20 net/bpf/test_run.c:1056 bpf_prog_test_run+0x6af/0xac0 kernel/bpf/syscall.c:4107 __sys_bpf+0x649/0xd60 kernel/bpf/syscall.c:5475 __do_sys_bpf kernel/bpf/syscall.c:5561 [inline] __se_sys_bpf kernel/bpf/syscall.c:5559 [inline] __x64_sys_bpf+0xa0/0xe0 kernel/bpf/syscall.c:5559 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xcf/0x1e0 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x63/0x6b CPU: 0 PID: 5052 Comm: syz-executor415 Not tainted 6.8.0-rc6-syzkaller-00250-g04b8076df253 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/25/2024 =====================================================