[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <39e16779-39e8-3dd3-455e-949b6bd04de9@iogearbox.net>
Date: Mon, 20 Jan 2020 22:39:21 +0100
From: Daniel Borkmann <daniel@...earbox.net>
To: Brian Vazquez <brianvv@...gle.com>,
Brian Vazquez <brianvv.kernel@...il.com>,
Alexei Starovoitov <ast@...nel.org>,
"David S . Miller" <davem@...emloft.net>
Cc: linux-kernel@...r.kernel.org, netdev@...r.kernel.org,
bpf@...r.kernel.org, Dan Carpenter <dan.carpenter@...cle.com>,
Yonghong Song <yhs@...com>
Subject: Re: [PATCH v2 bpf-next] bpf: Fix memory leaks in generic
update/delete batch ops
On 1/19/20 8:40 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 <dan.carpenter@...cle.com>
> Fixes: aa2e93b8e58e ("bpf: Add generic support for update and delete batch ops")
> Signed-off-by: Brian Vazquez <brianvv@...gle.com>
> Acked-by: Yonghong Song <yhs@...com>
Applied, thanks!
Powered by blists - more mailing lists