Re: [PATCH v2] fprobe: Fix unregister_fprobe() to wait for RCU grace period
From: patchwork-bot+netdevbpf
Date: Thu May 14 2026 - 13:13:53 EST
Hello:
This patch was applied to netdev/net.git (main)
by Masami Hiramatsu (Google) <mhiramat@xxxxxxxxxx>:
On Thu, 7 May 2026 16:46:29 +0900 you wrote:
> From: Masami Hiramatsu (Google) <mhiramat@xxxxxxxxxx>
>
> Commit 4346ba1604093 ("fprobe: Rewrite fprobe on function-graph tracer")
> changed fprobe to register struct fprobe to an rcu-hlist, but it forgot
> to wait for RCU GP. Thus there can be use-after-free if the fprobe is
> released right after unregistering. This can be happened on fprobe
> event and sample module code.
>
> [...]
Here is the summary with links:
- [v2] fprobe: Fix unregister_fprobe() to wait for RCU grace period
https://git.kernel.org/netdev/net/c/657b594b2084
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html