Thread (4 messages) 4 messages, 4 authors, 2020-01-22

Re: [PATCH bpf-next] bpf: Fix error path under memory pressure

From: Daniel Borkmann <daniel@iogearbox.net>
Date: 2020-01-22 15:56:20
Also in: bpf

On 1/22/20 3:45 AM, Alexei Starovoitov wrote:
On Tue, Jan 21, 2020 at 6:42 PM Alexei Starovoitov [off-list ref] wrote:
quoted
Restore the 'if (env->cur_state)' check that was incorrectly removed during
code move. Under memory pressure env->cur_state can be freed and zeroed inside
do_check(). Hence the check is necessary.

Fixes: 51c39bb1d5d1 ("bpf: Introduce function-by-function verification")
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Forgot to add:
Reported-by: syzbot+b296579ba5015704d9fa@syzkaller.appspotmail.com

Daniel, pls add while applying.
Done & applied, thanks!
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help