Files
twx-linux/kernel
Martynas Pumputis ac86c99ca1 bpf: fix check of allowed specifiers in bpf_trace_printk
[ Upstream commit 1efb6ee3ed ]

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: syzbot+1ec5c5ec949c4adaa0c4@syzkaller.appspotmail.com
Signed-off-by: Martynas Pumputis <m@lambda.lt>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2018-12-17 21:55:10 +01:00
..
2018-01-23 19:50:10 +01:00
…
…
…
…
…
…
…
…
…
…
…
…
2017-05-20 14:27:02 +02:00
2017-07-05 14:37:19 +02:00
…
…
…
…
…
…
…
…
…
2018-05-16 10:06:47 +02:00
…
…
…
…