===================================================== 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 __netif_receive_skb_list_ptype net/core/dev.c:5586 [inline] __netif_receive_skb_list_core+0x1375/0x1670 net/core/dev.c:5629 __netif_receive_skb_list net/core/dev.c:5681 [inline] netif_receive_skb_list_internal+0x1085/0x1700 net/core/dev.c:5773 netif_receive_skb_list+0x5a/0x460 net/core/dev.c:5825 xdp_recv_frames net/bpf/test_run.c:278 [inline] xdp_test_run_batch net/bpf/test_run.c:356 [inline] bpf_test_run_xdp_live+0x2a56/0x2f70 net/bpf/test_run.c:384 bpf_prog_test_run_xdp+0xf02/0x1a40 net/bpf/test_run.c:1267 bpf_prog_test_run+0x6b7/0xad0 kernel/bpf/syscall.c:4240 __sys_bpf+0x6aa/0xd90 kernel/bpf/syscall.c:5649 __do_sys_bpf kernel/bpf/syscall.c:5738 [inline] __se_sys_bpf kernel/bpf/syscall.c:5736 [inline] __x64_sys_bpf+0xa0/0xe0 kernel/bpf/syscall.c:5736 do_syscall_64+0xd5/0x1f0 entry_SYSCALL_64_after_hwframe+0x72/0x7a 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 __netif_receive_skb_list_ptype net/core/dev.c:5586 [inline] __netif_receive_skb_list_core+0x1375/0x1670 net/core/dev.c:5629 __netif_receive_skb_list net/core/dev.c:5681 [inline] netif_receive_skb_list_internal+0x1085/0x1700 net/core/dev.c:5773 netif_receive_skb_list+0x5a/0x460 net/core/dev.c:5825 xdp_recv_frames net/bpf/test_run.c:278 [inline] xdp_test_run_batch net/bpf/test_run.c:356 [inline] bpf_test_run_xdp_live+0x2a56/0x2f70 net/bpf/test_run.c:384 bpf_prog_test_run_xdp+0xf02/0x1a40 net/bpf/test_run.c:1267 bpf_prog_test_run+0x6b7/0xad0 kernel/bpf/syscall.c:4240 __sys_bpf+0x6aa/0xd90 kernel/bpf/syscall.c:5649 __do_sys_bpf kernel/bpf/syscall.c:5738 [inline] __se_sys_bpf kernel/bpf/syscall.c:5736 [inline] __x64_sys_bpf+0xa0/0xe0 kernel/bpf/syscall.c:5736 do_syscall_64+0xd5/0x1f0 entry_SYSCALL_64_after_hwframe+0x72/0x7a 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: 0 PID: 9178 Comm: syz-executor.0 Not tainted 6.9.0-rc1-syzkaller-00274-g486291a0e624 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024 =====================================================