===================================================== 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_tlb_flush+0x2c/0x40 include/trace/events/tlb.h:38 trace_tlb_flush include/trace/events/tlb.h:38 [inline] switch_mm_irqs_off+0x9d2/0x1010 arch/x86/mm/tlb.c:642 unuse_temporary_mm arch/x86/kernel/alternative.c:1815 [inline] __text_poke+0xb4e/0xfb0 arch/x86/kernel/alternative.c:1925 text_poke arch/x86/kernel/alternative.c:1968 [inline] text_poke_bp_batch+0x17f/0x960 arch/x86/kernel/alternative.c:2276 text_poke_flush arch/x86/kernel/alternative.c:2470 [inline] text_poke_finish+0x7d/0xd0 arch/x86/kernel/alternative.c:2477 arch_jump_label_transform_apply+0x23/0x40 arch/x86/kernel/jump_label.c:146 __jump_label_update+0x6af/0x6d0 kernel/jump_label.c:483 jump_label_update+0x6a0/0x7a0 kernel/jump_label.c:882 static_key_enable_cpuslocked+0x229/0x260 kernel/jump_label.c:205 static_key_enable+0x23/0x30 kernel/jump_label.c:218 tracepoint_add_func+0x1084/0x1280 kernel/tracepoint.c:361 tracepoint_probe_register_prio_may_exist+0xa8/0xf0 kernel/tracepoint.c:482 tracepoint_probe_register_may_exist include/linux/tracepoint.h:52 [inline] __bpf_probe_register kernel/trace/bpf_trace.c:2446 [inline] bpf_probe_register+0x201/0x250 kernel/trace/bpf_trace.c:2452 bpf_raw_tp_link_attach+0x627/0x8a0 kernel/bpf/syscall.c:3865 bpf_raw_tracepoint_open+0x485/0x8a0 kernel/bpf/syscall.c:3892 __sys_bpf+0x5a6/0xd90 kernel/bpf/syscall.c:5702 __do_sys_bpf kernel/bpf/syscall.c:5767 [inline] __se_sys_bpf kernel/bpf/syscall.c:5765 [inline] __ia32_sys_bpf+0xa0/0xe0 kernel/bpf/syscall.c:5765 ia32_sys_call+0xf7e/0x40a0 arch/x86/include/generated/asm/syscalls_32.h:358 do_syscall_32_irqs_on arch/x86/entry/common.c:165 [inline] __do_fast_syscall_32+0xb4/0x120 arch/x86/entry/common.c:386 do_fast_syscall_32+0x38/0x80 arch/x86/entry/common.c:411 do_SYSENTER_32+0x1f/0x30 arch/x86/entry/common.c:449 entry_SYSENTER_compat_after_hwframe+0x84/0x8e 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: 0 PID: 5839 Comm: syz-executor.1 Not tainted 6.9.0-syzkaller-02339-g101b7a97143a #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/02/2024 =====================================================