summaryrefslogtreecommitdiffstats
path: root/kernel/trace/ftrace.c
diff options
context:
space:
mode:
authorShaohua Li <shaohua.li@intel.com>2010-07-27 10:06:34 +0200
committerSteven Rostedt <rostedt@goodmis.org>2010-08-06 18:19:15 +0200
commit575570f02761bd680ba5731c1dfd4701062e7fb2 (patch)
tree7789ba121ae95af2705fe9053fa1ae9e9fb04a5b /kernel/trace/ftrace.c
parentperf tools: Fix fallback to cplus_demangle() when bfd_demangle() is not avail... (diff)
downloadlinux-575570f02761bd680ba5731c1dfd4701062e7fb2.tar.xz
linux-575570f02761bd680ba5731c1dfd4701062e7fb2.zip
tracing: Fix an unallocated memory access in function_graph
With CONFIG_DEBUG_PAGEALLOC, I observed an unallocated memory access in function_graph trace. It appears we find a small size entry in ring buffer, but we access it as a big size entry. The access overflows the page size and touches an unallocated page. Cc: <stable@kernel.org> Signed-off-by: Shaohua Li <shaohua.li@intel.com> LKML-Reference: <1280217994.32400.76.camel@sli10-desk.sh.intel.com> [ Added a comment to explain the problem - SDR ] Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Diffstat (limited to 'kernel/trace/ftrace.c')
0 files changed, 0 insertions, 0 deletions