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

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

From: Song Liu <hidden>
Date: 2020-01-22 06:56:40
Also in: bpf

On Jan 21, 2020, at 6:45 PM, Alexei Starovoitov [off-list ref] 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.
Acked-by: Song Liu <redacted>

Thanks for the fix!
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help