[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20201031130642.971173960@goodmis.org>
Date: Sat, 31 Oct 2020 09:06:42 -0400
From: Steven Rostedt <rostedt@...dmis.org>
To: linux-kernel@...r.kernel.org
Cc: Ingo Molnar <mingo@...nel.org>,
Andrew Morton <akpm@...ux-foundation.org>,
Miroslav Benes <mbenes@...e.cz>,
Josh Poimboeuf <jpoimboe@...hat.com>,
Jiri Kosina <jikos@...nel.org>, Petr Mladek <pmladek@...e.com>
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(-)
Powered by blists - more mailing lists