Re: [PATCH] tracing/probe: Fix to check the difference of nr_args before adding probe

2019-09-30 Thread Srikar Dronamraju
he patch I plan on submitting. > > You OK with this? > > -- Steve > > > From: Masami Hiramatsu > Date: Sat, 28 Sep 2019 05:53:29 -0400 > Subject: [PATCH] tracing/probe: Fix to check the difference of nr_args before > adding probe > > Steven reported that a test

Re: [PATCH] tracing/probe: Fix to check the difference of nr_args before adding probe

2019-09-29 Thread Masami Hiramatsu
nge log a bit, below is the patch I plan on submitting. > > You OK with this? Yes, of course. Thank you for updating! > > -- Steve > > > From: Masami Hiramatsu > Date: Sat, 28 Sep 2019 05:53:29 -0400 > Subject: [PATCH] tracing/probe: Fix to che

Re: [PATCH] tracing/probe: Fix to check the difference of nr_args before adding probe

2019-09-28 Thread Steven Rostedt
Sep 2019 05:53:29 -0400 Subject: [PATCH] tracing/probe: Fix to check the difference of nr_args before adding probe Steven reported that a test triggered: == BUG: KASAN: slab-out-of-bounds in trace_kprobe_create+0xa9e/0xe40 Read of siz

[PATCH] tracing/probe: Fix to check the difference of nr_args before adding probe

2019-09-28 Thread Masami Hiramatsu
Fix to check the difference of nr_args before adding probe on existing probes. This also may set the error log index bigger than the number of command parameters. In that case it sets the error position is next to the last parameter. Fixes: ca89bc071d5e ("tracing/kprobe: Add multi-probe per event