lkml.org 
[lkml]   [2020]   [Oct]   [31]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subject[for-linus][PATCH 0/3] tracing/ftrace: trace_printk buffer fix and ftrace recursion fixes
The indexing of the different context buffers had an off by one error.

The recursion protection for ftrace callbacks had two bugs.
One that would make NMIs always appear to be recursing
The other is trasitions between interrupt context could also cause
false positives and miss tracing those functions.

Qiujun Huang (1):
tracing: Fix out of bounds write in get_trace_buf

Steven Rostedt (VMware) (2):
ftrace: Fix recursion check for NMI test
ftrace: Handle tracing when switching between context

----
kernel/trace/trace.c | 2 +-
kernel/trace/trace.h | 26 +++++++++++++++++++++++---
kernel/trace/trace_selftest.c | 9 +++++++--
3 files changed, 31 insertions(+), 6 deletions(-)

\
 
 \ /
  Last update: 2020-10-31 14:10    [W:0.026 / U:0.404 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site