[PATCH 0/4] tracing/probes: Fixes several bugs

From: Masami Hiramatsu (Google)

Date: Mon Jul 20 2026 - 06:18:06 EST


Hi,

Here are a patches to fix some bugs in the probe events and eprobe.
These are found during cleaning up the code. I made these as a split
series because those could be backported. Let me send another
series for cleaning up probe event code.

Thank you,

---

Masami Hiramatsu (Google) (4):
tracing/probes: Avoid temporary buffer truncation in trace_probe_match_command_args()
tracing/probes: Prevent out-of-bounds write in __trace_probe_log_err()
tracing/probes: Fix potential underflow in LEN_OR_ZERO macro
tracing/eprobe: Fix exact system name matching in eprobe_dyn_event_match()


kernel/trace/trace_eprobe.c | 3 ++-
kernel/trace/trace_probe.c | 13 +++++++------
2 files changed, 9 insertions(+), 7 deletions(-)

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