Thread (2 messages) 2 messages, 2 authors, 2020-01-18

Re: [PATCH bpf-next] bpf: Fix memory leaks in generic update/delete batch ops

From: Yonghong Song <hidden>
Date: 2020-01-18 04:14:45
Also in: bpf, lkml


On 1/17/20 2:56 PM, Brian Vazquez wrote:
generic update/delete batch ops functions were using __bpf_copy_key
without properly freeing the memory. Handle the memory allocation and
copy_from_user separately.

Reported-by: Dan Carpenter <redacted>
Fixes: aa2e93b8e58e ("bpf: Add generic support for update and delete
batch ops")
Please put the subject of Fixes commit in the same line.
This will make tools easier to grep "Fixes" tag.
Signed-off-by: Brian Vazquez <redacted>
Acked-by: Yonghong Song <redacted>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help