Re: [PATCH bpf-next v2 1/2] bpf: Fix missed rcu read lock in bpf_task_under_cgroup()

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

 



Hello:

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

On Sat,  7 Oct 2023 13:59:44 +0000 you wrote:
> When employed within a sleepable program not under RCU protection, the use
> of 'bpf_task_under_cgroup()' may trigger a warning in the kernel log,
> particularly when CONFIG_PROVE_RCU is enabled.
> 
> [ 1259.662354] =============================
> [ 1259.662357] WARNING: suspicious RCU usage
> [ 1259.662358] 6.5.0+ #33 Not tainted
> [ 1259.662360] -----------------------------
> [ 1259.662361] include/linux/cgroup.h:423 suspicious rcu_dereference_check() usage!
> [ 1259.662364]
> other info that might help us debug this:
> 
> [...]

Here is the summary with links:
  - [bpf-next,v2,1/2] bpf: Fix missed rcu read lock in bpf_task_under_cgroup()
    https://git.kernel.org/bpf/bpf-next/c/29a7e00ffadd
  - [bpf-next,v2,2/2] selftests/bpf: Add selftest for bpf_task_under_cgroup() in sleepable prog
    https://git.kernel.org/bpf/bpf-next/c/44cb03f19b38

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