diff options
author | Alexander Popov <alex.popov@linux.com> | 2018-11-13 00:08:48 +0300 |
---|---|---|
committer | Kees Cook <keescook@chromium.org> | 2018-11-30 09:05:07 -0800 |
commit | ef1a8409348966f0b25ff97a170d6d0367710ea9 (patch) | |
tree | 63663fd58fdebb7c93b874af482d38c3c0358a43 /block | |
parent | ccda4af0f4b92f7b4c308d3acc262f4a7e3affad (diff) | |
download | linux-stable-ef1a8409348966f0b25ff97a170d6d0367710ea9.tar.gz linux-stable-ef1a8409348966f0b25ff97a170d6d0367710ea9.tar.bz2 linux-stable-ef1a8409348966f0b25ff97a170d6d0367710ea9.zip |
stackleak: Disable function tracing and kprobes for stackleak_erase()
The stackleak_erase() function is called on the trampoline stack at the
end of syscall. This stack is not big enough for ftrace and kprobes
operations, e.g. it can be exhausted if we use kprobe_events for
stackleak_erase().
So let's disable function tracing and kprobes of stackleak_erase().
Reported-by: kernel test robot <lkp@intel.com>
Fixes: 10e9ae9fabaf ("gcc-plugins: Add STACKLEAK plugin for tracking the kernel stack")
Signed-off-by: Alexander Popov <alex.popov@linux.com>
Reviewed-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
Reviewed-by: Masami Hiramatsu <mhiramat@kernel.org>
Signed-off-by: Kees Cook <keescook@chromium.org>
Diffstat (limited to 'block')
0 files changed, 0 insertions, 0 deletions