===================================================== BUG: KMSAN: uninit-value in ___bpf_prog_run+0xa4d1/0xe0f0 kernel/bpf/core.c:2072 ___bpf_prog_run+0xa4d1/0xe0f0 kernel/bpf/core.c:2072 __bpf_prog_run512+0xb5/0xe0 kernel/bpf/core.c:2238 bpf_dispatcher_nop_func include/linux/bpf.h:1234 [inline] __bpf_prog_run include/linux/filter.h:657 [inline] bpf_prog_run include/linux/filter.h:664 [inline] __bpf_prog_run_save_cb include/linux/filter.h:787 [inline] bpf_prog_run_save_cb include/linux/filter.h:801 [inline] sk_filter_trim_cap+0x38d/0xbb0 net/core/filter.c:158 sk_filter include/linux/filter.h:909 [inline] sock_queue_rcv_skb_reason+0x46/0x1a0 net/core/sock.c:521 sock_queue_rcv_skb include/net/sock.h:2447 [inline] packet_rcv_spkt+0x704/0x930 net/packet/af_packet.c:1919 dev_queue_xmit_nit+0x114b/0x12a0 net/core/dev.c:2296 xmit_one net/core/dev.c:3527 [inline] dev_hard_start_xmit+0x17d/0xa20 net/core/dev.c:3547 __dev_queue_xmit+0x34db/0x5350 net/core/dev.c:4341 dev_queue_xmit include/linux/netdevice.h:3091 [inline] neigh_hh_output include/net/neighbour.h:526 [inline] neigh_output include/net/neighbour.h:540 [inline] ip6_finish_output2+0x22b5/0x2b90 net/ipv6/ip6_output.c:137 ip6_finish_output+0x9b6/0x14c0 net/ipv6/ip6_output.c:222 NF_HOOK_COND include/linux/netfilter.h:303 [inline] ip6_output+0x323/0x610 net/ipv6/ip6_output.c:243 dst_output include/net/dst.h:450 [inline] NF_HOOK include/linux/netfilter.h:314 [inline] ndisc_send_skb+0xb9d/0x14c0 net/ipv6/ndisc.c:509 ndisc_send_rs+0x97b/0xae0 net/ipv6/ndisc.c:719 addrconf_rs_timer+0x488/0x6f0 net/ipv6/addrconf.c:4038 call_timer_fn+0x49/0x580 kernel/time/timer.c:1793 expire_timers kernel/time/timer.c:1844 [inline] __run_timers kernel/time/timer.c:2418 [inline] __run_timer_base+0x84e/0xe90 kernel/time/timer.c:2429 run_timer_base kernel/time/timer.c:2438 [inline] run_timer_softirq+0x3a/0x70 kernel/time/timer.c:2448 __do_softirq+0x1c0/0x7d7 kernel/softirq.c:554 invoke_softirq kernel/softirq.c:428 [inline] __irq_exit_rcu kernel/softirq.c:633 [inline] irq_exit_rcu+0x6a/0x130 kernel/softirq.c:645 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1043 [inline] sysvec_apic_timer_interrupt+0x83/0x90 arch/x86/kernel/apic/apic.c:1043 asm_sysvec_apic_timer_interrupt+0x1f/0x30 arch/x86/include/asm/idtentry.h:702 __preempt_count_sub arch/x86/include/asm/preempt.h:84 [inline] kmsan_virt_addr_valid arch/x86/include/asm/kmsan.h:95 [inline] virt_to_page_or_null+0xf0/0x150 mm/kmsan/shadow.c:75 kmsan_get_metadata+0x146/0x1d0 mm/kmsan/shadow.c:143 kmsan_get_shadow_origin_ptr+0x4d/0xb0 mm/kmsan/shadow.c:102 get_shadow_origin_ptr mm/kmsan/instrumentation.c:36 [inline] __msan_metadata_ptr_for_load_8+0x24/0x40 mm/kmsan/instrumentation.c:92 find_va_links mm/vmalloc.c:1126 [inline] insert_vmap_area+0xd6/0x890 mm/vmalloc.c:1320 alloc_vmap_area+0x477b/0x5140 mm/vmalloc.c:2003 __get_vm_area_node+0x223/0x660 mm/vmalloc.c:3093 __vmalloc_node_range+0x4e7/0x28b0 mm/vmalloc.c:3778 __vmalloc_node mm/vmalloc.c:3883 [inline] vzalloc+0x90/0xb0 mm/vmalloc.c:3956 bpf_check+0x1da/0x1f6b0 kernel/bpf/verifier.c:21186 bpf_prog_load+0x2975/0x2e10 kernel/bpf/syscall.c:2895 __sys_bpf+0x770/0xd90 kernel/bpf/syscall.c:5660 __do_sys_bpf kernel/bpf/syscall.c:5767 [inline] __se_sys_bpf kernel/bpf/syscall.c:5765 [inline] __x64_sys_bpf+0xa0/0xe0 kernel/bpf/syscall.c:5765 x64_sys_call+0x96b/0x3b50 arch/x86/include/generated/asm/syscalls_64.h:322 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+0x77/0x7f Uninit was stored to memory at: ___bpf_prog_run+0x9098/0xe0f0 __bpf_prog_run512+0xb5/0xe0 kernel/bpf/core.c:2238 bpf_dispatcher_nop_func include/linux/bpf.h:1234 [inline] __bpf_prog_run include/linux/filter.h:657 [inline] bpf_prog_run include/linux/filter.h:664 [inline] __bpf_prog_run_save_cb include/linux/filter.h:787 [inline] bpf_prog_run_save_cb include/linux/filter.h:801 [inline] sk_filter_trim_cap+0x38d/0xbb0 net/core/filter.c:158 sk_filter include/linux/filter.h:909 [inline] sock_queue_rcv_skb_reason+0x46/0x1a0 net/core/sock.c:521 sock_queue_rcv_skb include/net/sock.h:2447 [inline] packet_rcv_spkt+0x704/0x930 net/packet/af_packet.c:1919 dev_queue_xmit_nit+0x114b/0x12a0 net/core/dev.c:2296 xmit_one net/core/dev.c:3527 [inline] dev_hard_start_xmit+0x17d/0xa20 net/core/dev.c:3547 __dev_queue_xmit+0x34db/0x5350 net/core/dev.c:4341 dev_queue_xmit include/linux/netdevice.h:3091 [inline] neigh_hh_output include/net/neighbour.h:526 [inline] neigh_output include/net/neighbour.h:540 [inline] ip6_finish_output2+0x22b5/0x2b90 net/ipv6/ip6_output.c:137 ip6_finish_output+0x9b6/0x14c0 net/ipv6/ip6_output.c:222 NF_HOOK_COND include/linux/netfilter.h:303 [inline] ip6_output+0x323/0x610 net/ipv6/ip6_output.c:243 dst_output include/net/dst.h:450 [inline] NF_HOOK include/linux/netfilter.h:314 [inline] ndisc_send_skb+0xb9d/0x14c0 net/ipv6/ndisc.c:509 ndisc_send_rs+0x97b/0xae0 net/ipv6/ndisc.c:719 addrconf_rs_timer+0x488/0x6f0 net/ipv6/addrconf.c:4038 call_timer_fn+0x49/0x580 kernel/time/timer.c:1793 expire_timers kernel/time/timer.c:1844 [inline] __run_timers kernel/time/timer.c:2418 [inline] __run_timer_base+0x84e/0xe90 kernel/time/timer.c:2429 run_timer_base kernel/time/timer.c:2438 [inline] run_timer_softirq+0x3a/0x70 kernel/time/timer.c:2448 __do_softirq+0x1c0/0x7d7 kernel/softirq.c:554 Local variable stack created at: __bpf_prog_run512+0x45/0xe0 kernel/bpf/core.c:2238 bpf_dispatcher_nop_func include/linux/bpf.h:1234 [inline] __bpf_prog_run include/linux/filter.h:657 [inline] bpf_prog_run include/linux/filter.h:664 [inline] __bpf_prog_run_save_cb include/linux/filter.h:787 [inline] bpf_prog_run_save_cb include/linux/filter.h:801 [inline] sk_filter_trim_cap+0x38d/0xbb0 net/core/filter.c:158 CPU: 1 PID: 5258 Comm: syz-executor.0 Not tainted 6.9.0-rc5-syzkaller-00053-ge33c4963bf53 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024 =====================================================