===================================================== BUG: KMSAN: kernel-infoleak in instrument_copy_to_user include/linux/instrumented.h:121 [inline] BUG: KMSAN: kernel-infoleak in _copy_to_user+0xbc/0x100 lib/usercopy.c:33 instrument_copy_to_user include/linux/instrumented.h:121 [inline] _copy_to_user+0xbc/0x100 lib/usercopy.c:33 copy_to_user include/linux/uaccess.h:169 [inline] bpf_prog_test_run_raw_tp+0x961/0xa20 net/bpf/test_run.c:876 bpf_prog_test_run+0x6a0/0x730 kernel/bpf/syscall.c:3591 __sys_bpf+0x9e8/0xeb0 kernel/bpf/syscall.c:4935 __do_sys_bpf kernel/bpf/syscall.c:5021 [inline] __se_sys_bpf kernel/bpf/syscall.c:5019 [inline] __ia32_sys_bpf+0x9c/0xe0 kernel/bpf/syscall.c:5019 do_syscall_32_irqs_on arch/x86/entry/common.c:112 [inline] __do_fast_syscall_32+0x95/0xf0 arch/x86/entry/common.c:178 do_fast_syscall_32+0x33/0x70 arch/x86/entry/common.c:203 do_SYSENTER_32+0x1b/0x20 arch/x86/entry/common.c:246 entry_SYSENTER_compat_after_hwframe+0x53/0x62 Local variable info created at: bpf_prog_test_run_raw_tp+0x96/0xa20 net/bpf/test_run.c:831 bpf_prog_test_run+0x6a0/0x730 kernel/bpf/syscall.c:3591 Bytes 0-3 of 4 are uninitialized Memory access of size 4 starts at ffff888010c9fcc0 Data copied to user address 0000000020000244 CPU: 1 PID: 12739 Comm: syz-executor.1 Not tainted 5.19.0-rc3-syzkaller-30868-g4b28366af7d9 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 =====================================================