summaryrefslogtreecommitdiffstats
path: root/include/trace
diff options
context:
space:
mode:
authorguoweikang <guoweikang.kernel@gmail.com>2024-11-20 06:27:49 +0100
committerSteven Rostedt (Google) <rostedt@goodmis.org>2024-11-20 17:15:29 +0100
commit45af52e7d3b8560f21d139b3759735eead8b1653 (patch)
treeb347f6e7d946b1827a427ff0bc8fc4e5136975d1 /include/trace
parenttracing: Fix function name for trampoline (diff)
downloadlinux-45af52e7d3b8560f21d139b3759735eead8b1653.tar.xz
linux-45af52e7d3b8560f21d139b3759735eead8b1653.zip
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 0f17976568b3f ("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: stable@vger.kernel.org Cc: Masami Hiramatsu <mhiramat@kernel.org> Cc: Mark Rutland <mark.rutland@arm.com> Cc: Mathieu Desnoyers <mathieu.desnoyers@efficios.com> Link: https://lore.kernel.org/20241120052750.275463-1-guoweikang.kernel@gmail.com Fixes: 04ec7bb642b77 ("tracing: Have the trace_array hold the list of registered func probes"); Signed-off-by: guoweikang <guoweikang.kernel@gmail.com> Signed-off-by: Steven Rostedt (Google) <rostedt@goodmis.org>
Diffstat (limited to 'include/trace')
0 files changed, 0 insertions, 0 deletions