Skip to content

tracing: kprobe: Fix some bug in kprobe_event_gen_test.c

Shang XiaoJing lkml 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest2 patches 4 repliesIn review
  2. v12 patches 5 repliesSuperseded

Changes in v2 from the cover letter

- add cc tag.
- improvement on patch 2.

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2tracing: kprobe: Fix potential null-ptr-deref on trace_event_file in kprobe_event_gen_test_exit()kernel/trace/kprobe_event_gen_test.c+28 -160 replies
2/2tracing: kprobe: Fix potential null-ptr-deref on trace_array in kprobe_event_gen_test_exit()kernel/trace/kprobe_event_gen_test.c+4 -04 replies

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchMasami Hiramatsu (Google)
1/2A-b
2/2A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 0/2] tracing: kprobe: Fix some bug in kprobe_event_gen_test.c

Due to lack of the checking and setting-NULL on pointer, there are some null pointer dereference or page fault bugs were found when insert module, and fixed by this patch set.

---
changes in v2:
- add cc tag.
- improvement on patch 2.

Shang XiaoJing (2):
tracing: kprobe: Fix potential null-ptr-deref on trace_event_file in
kprobe_event_gen_test_exit()
tracing: kprobe: Fix potential null-ptr-deref on trace_array in
kprobe_event_gen_test_exit()

 kernel/trace/kprobe_event_gen_test.c | 48 ++++++++++++++++++----------
 1 file changed, 32 insertions(+), 16 deletions(-)
Signature · 1 line
2.17.1