lkml.org 
[lkml]   [2022]   [Jan]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
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(-)

\
 
 \ /
  Last update: 2022-01-07 23:58    [W:0.176 / U:0.260 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site