A format string consisting of "%p" or "%s" followed by an invalid
specifier (e.g. "%p%\n" or "%s%") could pass the check which
would make format_decode (lib/vsprintf.c) to warn.
Fixes: 9c959c863f ("tracing: Allow BPF programs to call bpf_trace_printk()")
Reported-by: [email protected]
Signed-off-by: Martynas Pumputis <[email protected]>
Signed-off-by: Daniel Borkmann <[email protected]>