[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <161048220836.29857.1971562068367304132.git-patchwork-notify@kernel.org>
Date: Tue, 12 Jan 2021 20:10:08 +0000
From: patchwork-bot+netdevbpf@...nel.org
To: Stanislav Fomichev <sdf@...gle.com>
Cc: netdev@...r.kernel.org, bpf@...r.kernel.org, ast@...nel.org,
daniel@...earbox.net, kafai@...com
Subject: Re: [PATCH bpf v2] bpf: don't leak memory in bpf getsockopt when optlen
== 0
Hello:
This patch was applied to bpf/bpf.git (refs/heads/master):
On Tue, 12 Jan 2021 08:28:29 -0800 you wrote:
> optlen == 0 indicates that the kernel should ignore BPF buffer
> and use the original one from the user. We, however, forget
> to free the temporary buffer that we've allocated for BPF.
>
> Reported-by: Martin KaFai Lau <kafai@...com>
> Fixes: d8fe449a9c51 ("bpf: Don't return EINVAL from {get,set}sockopt when optlen > PAGE_SIZE")
> Signed-off-by: Stanislav Fomichev <sdf@...gle.com>
>
> [...]
Here is the summary with links:
- [bpf,v2] bpf: don't leak memory in bpf getsockopt when optlen == 0
https://git.kernel.org/bpf/bpf/c/4be34f3d0731
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
Powered by blists - more mailing lists