===================================================== BUG: KMSAN: uninit-value in strnchr+0x90/0xd0 lib/string.c:403 strnchr+0x90/0xd0 lib/string.c:403 bpf_bprintf_prepare+0x1c2/0x23b0 kernel/bpf/helpers.c:825 ____bpf_trace_printk kernel/trace/bpf_trace.c:378 [inline] bpf_trace_printk+0xec/0x3e0 kernel/trace/bpf_trace.c:368 ___bpf_prog_run+0x2180/0xdb80 kernel/bpf/core.c:1954 __bpf_prog_run32+0xb2/0xe0 kernel/bpf/core.c:2193 bpf_dispatcher_nop_func include/linux/bpf.h:1181 [inline] __bpf_prog_run include/linux/filter.h:609 [inline] bpf_prog_run include/linux/filter.h:616 [inline] bpf_test_run+0x482/0xb00 net/bpf/test_run.c:423 bpf_prog_test_run_skb+0x14e5/0x1f20 net/bpf/test_run.c:1046 bpf_prog_test_run+0x6af/0xac0 kernel/bpf/syscall.c:4005 __sys_bpf+0x649/0xd60 kernel/bpf/syscall.c:5362 __do_sys_bpf kernel/bpf/syscall.c:5448 [inline] __se_sys_bpf kernel/bpf/syscall.c:5446 [inline] __ia32_sys_bpf+0xa0/0xe0 kernel/bpf/syscall.c:5446 do_syscall_32_irqs_on arch/x86/entry/common.c:112 [inline] __do_fast_syscall_32+0xa2/0x100 arch/x86/entry/common.c:178 do_fast_syscall_32+0x37/0x80 arch/x86/entry/common.c:203 do_SYSENTER_32+0x1f/0x30 arch/x86/entry/common.c:246 entry_SYSENTER_compat_after_hwframe+0x70/0x82 Local variable stack created at: __bpf_prog_run32+0x43/0xe0 kernel/bpf/core.c:2193 bpf_dispatcher_nop_func include/linux/bpf.h:1181 [inline] __bpf_prog_run include/linux/filter.h:609 [inline] bpf_prog_run include/linux/filter.h:616 [inline] bpf_test_run+0x482/0xb00 net/bpf/test_run.c:423 CPU: 0 PID: 8216 Comm: syz-executor.5 Not tainted 6.6.0-syzkaller-00207-g14ab6d425e80 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/09/2023 =====================================================