summaryrefslogtreecommitdiff
path: root/tools/bpf/bpftool/Documentation/bpftool-perf.rst
diff options
context:
space:
mode:
authorMartynas Pumputis <m@lambda.lt>2018-11-23 19:43:26 +0300
committerDaniel Borkmann <daniel@iogearbox.net>2018-11-23 23:54:14 +0300
commit1efb6ee3edea57f57f9fb05dba8dcb3f7333f61f (patch)
treecf6126f29233e979c5cf92c259ad59c315b6318e /tools/bpf/bpftool/Documentation/bpftool-perf.rst
parent813961de3ee6474dd5703e883471fd941d6c8f69 (diff)
downloadlinux-1efb6ee3edea57f57f9fb05dba8dcb3f7333f61f.tar.xz
bpf: fix check of allowed specifiers in bpf_trace_printk
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: 9c959c863f82 ("tracing: Allow BPF programs to call bpf_trace_printk()") Reported-by: syzbot+1ec5c5ec949c4adaa0c4@syzkaller.appspotmail.com Signed-off-by: Martynas Pumputis <m@lambda.lt> Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Diffstat (limited to 'tools/bpf/bpftool/Documentation/bpftool-perf.rst')
0 files changed, 0 insertions, 0 deletions