[lkml]   [2021]   [Apr]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH bpf-next] bpf: Lock bpf_trace_printk's tmp buf before it is written to
On Tue, Apr 27, 2021 at 4:30 AM Florent Revest <> wrote:
> bpf_trace_printk uses a shared static buffer to hold strings before they
> are printed. A recent refactoring moved the locking of that buffer after
> it gets filled by mistake.
> Fixes: d9c9e4db186a ("bpf: Factorize bpf_trace_printk and bpf_seq_printf")
> Reported-by: Rasmus Villemoes <>
> Signed-off-by: Florent Revest <>


Pls send v2 of bstr_printf series as soon as possible. Thanks!

 \ /
  Last update: 2021-04-27 17:09    [W:0.068 / U:23.224 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site