Re: [PATCH v2] tracing/kprobes: fix NULL pointer dereference in trace_kprobe_create()

2019-01-15 Thread Steven Rostedt
On Fri, 11 Jan 2019 07:01:13 +0100 Andrea Righi wrote: > It is possible to trigger a NULL pointer dereference by writing an > incorrectly formatted string to krpobe_events (trying to create a > kretprobe omitting the symbol). > > Example: > > echo "r:event_1 " >>

Re: [PATCH v2] tracing/kprobes: fix NULL pointer dereference in trace_kprobe_create()

2019-01-14 Thread Steven Rostedt
On Fri, 11 Jan 2019 22:45:59 +0900 Masami Hiramatsu wrote: > On Fri, 11 Jan 2019 07:01:13 +0100 > Andrea Righi wrote: > > > It is possible to trigger a NULL pointer dereference by writing an > > incorrectly formatted string to krpobe_events (trying to create a > > kretprobe omitting the

Re: [PATCH v2] tracing/kprobes: fix NULL pointer dereference in trace_kprobe_create()

2019-01-11 Thread Masami Hiramatsu
On Fri, 11 Jan 2019 07:01:13 +0100 Andrea Righi wrote: > It is possible to trigger a NULL pointer dereference by writing an > incorrectly formatted string to krpobe_events (trying to create a > kretprobe omitting the symbol). > > Example: > > echo "r:event_1 " >>

[PATCH v2] tracing/kprobes: fix NULL pointer dereference in trace_kprobe_create()

2019-01-10 Thread Andrea Righi
It is possible to trigger a NULL pointer dereference by writing an incorrectly formatted string to krpobe_events (trying to create a kretprobe omitting the symbol). Example: echo "r:event_1 " >> /sys/kernel/debug/tracing/kprobe_events That triggers this: BUG: unable to handle kernel NULL