===================================================== BUG: KMSAN: uninit-value in strnchr+0x90/0xd0 lib/string.c:387 strnchr+0x90/0xd0 lib/string.c:387 bpf_bprintf_prepare+0x1c2/0x23c0 kernel/bpf/helpers.c:829 ____bpf_trace_printk kernel/trace/bpf_trace.c:385 [inline] bpf_trace_printk+0xec/0x3e0 kernel/trace/bpf_trace.c:375 ___bpf_prog_run+0x13fe/0xe0f0 kernel/bpf/core.c:1997 __bpf_prog_run32+0xb2/0xe0 kernel/bpf/core.c:2236 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_trace_run kernel/trace/bpf_trace.c:2381 [inline] bpf_trace_run2+0x116/0x300 kernel/trace/bpf_trace.c:2420 __bpf_trace_rss_stat+0x27/0x40 include/trace/events/kmem.h:384 trace_rss_stat include/trace/events/kmem.h:384 [inline] mm_trace_rss_stat mm/memory.c:180 [inline] add_mm_counter include/linux/mm.h:2603 [inline] set_pte_range+0xfaa/0x1260 mm/memory.c:4681 finish_fault+0x66e/0x11c0 mm/memory.c:4757 do_shared_fault mm/memory.c:4974 [inline] do_fault mm/memory.c:5028 [inline] do_pte_missing mm/memory.c:3880 [inline] handle_pte_fault mm/memory.c:5300 [inline] __handle_mm_fault mm/memory.c:5441 [inline] handle_mm_fault+0x87d8/0xce10 mm/memory.c:5606 do_user_addr_fault arch/x86/mm/fault.c:1332 [inline] handle_page_fault arch/x86/mm/fault.c:1475 [inline] exc_page_fault+0x419/0x6f0 arch/x86/mm/fault.c:1533 asm_exc_page_fault+0x2b/0x30 arch/x86/include/asm/idtentry.h:623 Local variable stack created at: __bpf_prog_run32+0x43/0xe0 kernel/bpf/core.c:2236 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_trace_run kernel/trace/bpf_trace.c:2381 [inline] bpf_trace_run2+0x116/0x300 kernel/trace/bpf_trace.c:2420 CPU: 1 PID: 8207 Comm: syz-executor.4 Not tainted 6.9.0-syzkaller-02339-g101b7a97143a #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/02/2024 =====================================================