Commit 45af52e
ftrace: Fix regression with module command in stack_trace_filter
When executing the following command:
# echo "write*:mod:ext3" > /sys/kernel/tracing/stack_trace_filter
The current mod command causes a null pointer dereference. While commit
0f17976 ("ftrace: Fix regression with module command in stack_trace_filter")
has addressed part of the issue, it left a corner case unhandled, which still
results in a kernel crash.
Cc: [email protected]
Cc: Masami Hiramatsu <[email protected]>
Cc: Mark Rutland <[email protected]>
Cc: Mathieu Desnoyers <[email protected]>
Link: https://lore.kernel.org/[email protected]
Fixes: 04ec7bb ("tracing: Have the trace_array hold the list of registered func probes");
Signed-off-by: guoweikang <[email protected]>
Signed-off-by: Steven Rostedt (Google) <[email protected]>1 parent 6ce5a6f commit 45af52e
1 file changed
+3
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5076 | 5076 | | |
5077 | 5077 | | |
5078 | 5078 | | |
| 5079 | + | |
| 5080 | + | |
| 5081 | + | |
5079 | 5082 | | |
5080 | 5083 | | |
5081 | 5084 | | |
| |||
0 commit comments