[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20220107225655.647376947@goodmis.org>
Date: Fri, 07 Jan 2022 17:56:55 -0500
From: Steven Rostedt <rostedt@...dmis.org>
To: linux-kernel@...r.kernel.org
Cc: Ingo Molnar <mingo@...nel.org>,
Andrew Morton <akpm@...ux-foundation.org>,
Masami Hiramatsu <mhiramat@...nel.org>,
Tom Zanussi <zanussi@...nel.org>
Subject: [PATCH 0/2] tracing: Fix filtering on string pointers
If filtering on an event's string pointer that happens to point into
user space, then the pointer could cause a page fault and crash the
kernel.
Also, have system call events use the temp buffer when filtering.
Steven Rostedt (2):
tracing: Have syscall trace events use trace_event_buffer_lock_reserve()
tracing: Add test for user space strings when filtering on string pointers
----
kernel/trace/trace_events_filter.c | 79 +++++++++++++++++++++++++++++++++++++-
kernel/trace/trace_syscalls.c | 6 +--
2 files changed, 79 insertions(+), 6 deletions(-)
Powered by blists - more mailing lists