Skip to content

tracing/probes: Fixes several bugs

Masami Hiramatsu (Google) linux-trace-kernel lkml 1 version New

Get series with b4
b4 am 178454232006.290363.11301475407231432622.stgit@devnote2

Versions newest first

  1. v1 Latest4 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4tracing/probes: Avoid temporary buffer truncation in trace_probe_match_command_args()kernel/trace/trace_probe.c+5 -40 replies
2/4tracing/probes: Prevent out-of-bounds write in __trace_probe_log_err()kernel/trace/trace_probe.c+1 -10 replies
3/4tracing/probes: Fix potential underflow in LEN_OR_ZERO macrokernel/trace/trace_probe.c+1 -10 replies
4/4tracing/eprobe: Fix exact system name matching in eprobe_dyn_event_match()kernel/trace/trace_eprobe.c+2 -10 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

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

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) <[email protected]>