[PATCH v2 0/2] tracing/fprobe: Fix fprobe_ip_table related bugs
From: Masami Hiramatsu (Google)
Date: Thu Apr 09 2026 - 06:36:32 EST
Hi,
Here are patches to fix bugs in fprobe.
The previous version is here.
https://lore.kernel.org/all/177555745233.1441308.6535024692186959381.stgit@xxxxxxxxxxxxxxxxxxxxxxxxxxxx/
In this version, I added another bug in module callback
which calls kcalloc() in rcu_read_lock() section[1/2] which
is reported by Sashiko[1].
[1] https://sashiko.dev/#/patchset/177555745233.1441308.6535024692186959381.stgit%40mhiramat.tok.corp.google.com
Thank you!
---
Masami Hiramatsu (Google) (2):
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 | 122 +++++++++++++++++++++++++++++++------------------
1 file changed, 78 insertions(+), 44 deletions(-)
--
Masami Hiramatsu (Google) <mhiramat@xxxxxxxxxx>