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

From: Masami Hiramatsu (Google)

Date: Fri Apr 10 2026 - 05:45:52 EST


Hi,

Here are patches to fix bugs in fprobe.

The previous version is here.

https://lore.kernel.org/all/177573094819.3666478.11900825120958856397.stgit@xxxxxxxxxxxxxxxxxxxxxxxxxxxx/

In this version, I added another bugfix for registration
failure of fprobe [1/3] (since this is the patch for oldest bug),
and move retry-loop inside rhltable_walk_enter()/exit()[2/3].
Both are reported by Sashiko[1].

[1] https://sashiko.dev/#/patchset/177573094819.3666478.11900825120958856397.stgit%40mhiramat.tok.corp.google.com

Thank you!

---

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 | 217 +++++++++++++++++++++++++++++--------------------
1 file changed, 128 insertions(+), 89 deletions(-)

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