===================================================== BUG: KMSAN: kernel-infoleak in instrument_copy_to_user include/linux/instrumented.h:121 [inline] BUG: KMSAN: kernel-infoleak in _copy_to_user+0x1c9/0x270 lib/usercopy.c:33 instrument_copy_to_user include/linux/instrumented.h:121 [inline] _copy_to_user+0x1c9/0x270 lib/usercopy.c:33 copy_to_user include/linux/uaccess.h:209 [inline] bpf_prog_test_run_raw_tp+0x931/0xb80 net/bpf/test_run.c:389 bpf_prog_test_run+0x784/0x820 kernel/bpf/syscall.c:3310 __sys_bpf+0xada/0x1230 kernel/bpf/syscall.c:4608 __do_sys_bpf kernel/bpf/syscall.c:4694 [inline] __se_sys_bpf kernel/bpf/syscall.c:4692 [inline] __ia32_sys_bpf+0xe1/0x130 kernel/bpf/syscall.c:4692 do_syscall_32_irqs_on arch/x86/entry/common.c:114 [inline] __do_fast_syscall_32+0x96/0xf0 arch/x86/entry/common.c:180 do_fast_syscall_32+0x34/0x70 arch/x86/entry/common.c:205 do_SYSENTER_32+0x1b/0x20 arch/x86/entry/common.c:248 entry_SYSENTER_compat_after_hwframe+0x4d/0x5c Local variable info created at: bpf_prog_test_run_raw_tp+0xeb/0xb80 net/bpf/test_run.c:340 bpf_prog_test_run+0x784/0x820 kernel/bpf/syscall.c:3310 Bytes 0-3 of 4 are uninitialized Memory access of size 4 starts at ffff888165fb3c80 Data copied to user address 00000000200003c4 =====================================================