[PATCH v5 0/3] tracing/fprobe: Fix fprobe_ip_table related bugs

From: Masami Hiramatsu (Google)

Date: Mon Apr 13 2026 - 04:41:36 EST


Here is the 5th series of patches to fix bugs in fprobe.
The previous version is here.

https://lore.kernel.org/all/177584108931.388483.11311214679686745474.stgit@devnote2/

This version fixes to remove fprobe_hash_node forcibly when fprobe
registration failed [1/3] and skips updating ftrace_ops when fails
to allocate memory in module unloading [2/3].

Thanks,
---

Masami Hiramatsu (Google) (3):
tracing/fprobe: Remove fprobe from hash in failure path
tracing/fprobe: Avoid kcalloc() in rcu_read_lock section
tracing/fprobe: Check the same type fprobe on table as the unregistered one


kernel/trace/fprobe.c | 251 +++++++++++++++++++++++++++++--------------------
1 file changed, 147 insertions(+), 104 deletions(-)

--
Masami Hiramatsu (Google) <mhiramat@xxxxxxxxxx>