Re: [PATCH v3 bpf] bpf: Fix a data-race around bpf_jit_limit.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello:

This patch was applied to bpf/bpf.git (master)
by Daniel Borkmann <daniel@xxxxxxxxxxxxx>:

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@xxxxxxxxxx>
> 
> [...]

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





[Index of Archives]     [Linux Samsung SoC]     [Linux Rockchip SoC]     [Linux Actions SoC]     [Linux for Synopsys ARC Processors]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]


  Powered by Linux