[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <166129381536.18992.16583576763608887925.git-patchwork-notify@kernel.org>
Date: Tue, 23 Aug 2022 22:30:15 +0000
From: patchwork-bot+netdevbpf@...nel.org
To: Kuniyuki Iwashima <kuniyu@...zon.com>
Cc: ast@...nel.org, daniel@...earbox.net, andrii@...nel.org,
kuni1840@...il.com, bpf@...r.kernel.org, netdev@...r.kernel.org
Subject: Re: [PATCH v3 bpf] bpf: Fix a data-race around bpf_jit_limit.
Hello:
This patch was applied to bpf/bpf.git (master)
by Daniel Borkmann <daniel@...earbox.net>:
On Tue, 23 Aug 2022 14:58:04 -0700 you wrote:
> While reading bpf_jit_limit, it can be changed concurrently via sysctl,
> WRITE_ONCE() in __do_proc_doulongvec_minmax(). The size of bpf_jit_limit
> is long, so we need to add a paired READ_ONCE() to avoid load-tearing.
>
> Fixes: ede95a63b5e8 ("bpf: add bpf_jit_limit knob to restrict unpriv allocations")
> Signed-off-by: Kuniyuki Iwashima <kuniyu@...zon.com>
>
> [...]
Here is the summary with links:
- [v3,bpf] bpf: Fix a data-race around bpf_jit_limit.
https://git.kernel.org/bpf/bpf/c/0947ae112108
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