Re: [PATCH net] net: kcm: Hold RCU read lock while running BPF parser

[email protected]
Newsgroups org.kernel.vger.bpf,org.kernel.vger.netdev
Message-ID <178699980640.1732278.16910244433930801525.git-patchwork-notify@kernel.org>
Hello:

This patch was applied to netdev/net.git (main)
by Jakub Kicinski <[email protected]>:

On Thu, 13 Aug 2026 12:51:36 +0900 you wrote:
> kcm_parse_func_strparser() calls bpf_prog_run_pin_on_cpu() which
> prevents CPU migration, but does not establish an RCU read-side
> critical section. Consequently, BPF map operations can trigger
> WARN_ON_ONCE(!bpf_rcu_lock_held()) when called from the KCM strparser
> program.
> 
> Hold the RCU read lock while running the program.
> 
> [...]

Here is the summary with links:
  - [net] net: kcm: Hold RCU read lock while running BPF parser
    https://git.kernel.org/netdev/net/c/b0346dd64e49

You are awesome, thank you!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.