===================================================== 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] __x64_sys_bpf+0xa0/0xe0 kernel/bpf/syscall.c:5765 x64_sys_call+0x96b/0x3b50 arch/x86/include/generated/asm/syscalls_64.h:322 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xcf/0x1e0 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f 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: 5688 Comm: syz-executor.4 Not tainted 6.9.0-syzkaller-02707-g614da38e2f7a #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/02/2024 =====================================================