public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] tracing: kprobe: Fix some bug in kprobe_event_gen_test.c
@ 2022-11-07  7:16 Shang XiaoJing
  2022-11-07  7:16 ` [PATCH 1/2] tracing: kprobe: Fix potential null-ptr-deref on trace_event_file in kprobe_event_gen_test_exit() Shang XiaoJing
  2022-11-07  7:16 ` [PATCH 2/2] tracing: kprobe: Fix potential null-ptr-deref on trace_array " Shang XiaoJing
  0 siblings, 2 replies; 8+ messages in thread
From: Shang XiaoJing @ 2022-11-07  7:16 UTC (permalink / raw)
  To: rostedt, mhiramat, zanussi, linux-kernel; +Cc: shangxiaojing

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. 

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 | 51 +++++++++++++++++++---------
 1 file changed, 35 insertions(+), 16 deletions(-)

-- 
2.17.1


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2022-11-07 14:50 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-11-07  7:16 [PATCH 0/2] tracing: kprobe: Fix some bug in kprobe_event_gen_test.c Shang XiaoJing
2022-11-07  7:16 ` [PATCH 1/2] tracing: kprobe: Fix potential null-ptr-deref on trace_event_file in kprobe_event_gen_test_exit() Shang XiaoJing
2022-11-07 13:25   ` Masami Hiramatsu
2022-11-07 13:31     ` shangxiaojing
2022-11-07  7:16 ` [PATCH 2/2] tracing: kprobe: Fix potential null-ptr-deref on trace_array " Shang XiaoJing
2022-11-07 13:38   ` Masami Hiramatsu
2022-11-07 13:47     ` shangxiaojing
2022-11-07 14:50       ` Masami Hiramatsu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox