===================================================== BUG: KMSAN: uninit-value in copy_from_kernel_nofault+0x2f3/0x610 mm/maccess.c:43 copy_from_kernel_nofault+0x2f3/0x610 mm/maccess.c:43 bpf_bprintf_prepare+0x1e0d/0x23c0 kernel/bpf/helpers.c:935 ____bpf_snprintf kernel/bpf/helpers.c:1061 [inline] bpf_snprintf+0x141/0x360 kernel/bpf/helpers.c:1045 ___bpf_prog_run+0x13fe/0xe0f0 kernel/bpf/core.c:2015 __bpf_prog_run288+0xc5/0xf0 kernel/bpf/core.c:2257 bpf_dispatcher_nop_func include/linux/bpf.h:1290 [inline] __bpf_prog_run include/linux/filter.h:701 [inline] bpf_prog_run include/linux/filter.h:708 [inline] bpf_test_run+0x546/0xd20 net/bpf/test_run.c:434 bpf_prog_test_run_skb+0x18fa/0x25a0 net/bpf/test_run.c:1093 bpf_prog_test_run+0x5e5/0xa30 kernel/bpf/syscall.c:4407 __sys_bpf+0x6aa/0xd90 kernel/bpf/syscall.c:5813 __do_sys_bpf kernel/bpf/syscall.c:5902 [inline] __se_sys_bpf kernel/bpf/syscall.c:5900 [inline] __x64_sys_bpf+0xa0/0xe0 kernel/bpf/syscall.c:5900 x64_sys_call+0x2a32/0x3c80 arch/x86/include/generated/asm/syscalls_64.h:322 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xcd/0x1e0 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f Local variable rf created at: __schedule+0x3b/0x7140 kernel/sched/core.c:6640 __schedule_loop kernel/sched/core.c:6825 [inline] schedule+0x17e/0x3c0 kernel/sched/core.c:6840 Bytes 0-3 of 4 are uninitialized Memory access of size 4 starts at ffff8880a89af9a8 CPU: 0 UID: 0 PID: 26620 Comm: syz.5.7801 Tainted: G W 6.14.0-syzkaller-00826-g327ecdbc0fda #0 PREEMPT(undef) Tainted: [W]=WARN Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025 =====================================================