From: Shang XiaoJing <shangxiaojing@huawei.com>
To: <rostedt@goodmis.org>, <mhiramat@kernel.org>,
<zanussi@kernel.org>, <linux-kernel@vger.kernel.org>
Cc: <shangxiaojing@huawei.com>
Subject: [PATCH 0/2] tracing: kprobe: Fix some bug in kprobe_event_gen_test.c
Date: Mon, 7 Nov 2022 15:16:15 +0800 [thread overview]
Message-ID: <20221107071617.21644-1-shangxiaojing@huawei.com> (raw)
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
next reply other threads:[~2022-11-07 7:18 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-11-07 7:16 Shang XiaoJing [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20221107071617.21644-1-shangxiaojing@huawei.com \
--to=shangxiaojing@huawei.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mhiramat@kernel.org \
--cc=rostedt@goodmis.org \
--cc=zanussi@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®