mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [RFC PATCH v4 0/4] Faultable syscall tracepoints updates
@ 2024-10-28 19:09 Mathieu Desnoyers
  2024-10-28 19:09 ` [RFC PATCH v4 1/4] tracing: Introduce tracepoint extended structure Mathieu Desnoyers
                   ` (3 more replies)
  0 siblings, 4 replies; 16+ messages in thread
From: Mathieu Desnoyers @ 2024-10-28 19:09 UTC (permalink / raw)
  To: Steven Rostedt
  Cc: linux-kernel, Mathieu Desnoyers, Thomas Gleixner,
	Michael Jeanson, Masami Hiramatsu, Peter Zijlstra,
	Alexei Starovoitov, Yonghong Song, Paul E . McKenney,
	Ingo Molnar, Arnaldo Carvalho de Melo, Mark Rutland,
	Alexander Shishkin, Namhyung Kim, Andrii Nakryiko, bpf,
	Joel Fernandes, Jordan Rife

This series addresses use-after-free of faultable syscall tracepoints
reported by test bots using Syzkaller.

This applies on linux-next 20241022.

Thanks,

Mathieu

Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Michael Jeanson <mjeanson@efficios.com>
Cc: Masami Hiramatsu <mhiramat@kernel.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Alexei Starovoitov <ast@kernel.org>
Cc: Yonghong Song <yhs@fb.com>
Cc: Paul E. McKenney <paulmck@kernel.org>
Cc: Ingo Molnar <mingo@redhat.com>
Cc: Arnaldo Carvalho de Melo <acme@kernel.org>
Cc: Mark Rutland <mark.rutland@arm.com>
Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Andrii Nakryiko <andrii.nakryiko@gmail.com>
Cc: bpf@vger.kernel.org
Cc: Joel Fernandes <joel@joelfernandes.org>
Cc: Jordan Rife <jrife@google.com>

Mathieu Desnoyers (4):
  tracing: Introduce tracepoint extended structure
  tracing: Introduce tracepoint_is_faultable()
  tracing: Fix syscall tracepoint use-after-free
  tracing: Add might_fault() check in __DO_TRACE() for syscall

 include/linux/tracepoint-defs.h | 10 +++++--
 include/linux/tracepoint.h      | 49 +++++++++++++++++++++++++++------
 include/trace/define_trace.h    |  2 +-
 kernel/tracepoint.c             | 20 ++++++++------
 4 files changed, 61 insertions(+), 20 deletions(-)

-- 
2.39.5

^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2024-10-30 17:39 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-10-28 19:09 [RFC PATCH v4 0/4] Faultable syscall tracepoints updates Mathieu Desnoyers
2024-10-28 19:09 ` [RFC PATCH v4 1/4] tracing: Introduce tracepoint extended structure Mathieu Desnoyers
2024-10-28 19:09 ` [RFC PATCH v4 2/4] tracing: Introduce tracepoint_is_faultable() Mathieu Desnoyers
2024-10-28 20:19   ` Andrii Nakryiko
2024-10-28 20:24     ` Mathieu Desnoyers
2024-10-28 19:09 ` [RFC PATCH v4 3/4] tracing: Fix syscall tracepoint use-after-free Mathieu Desnoyers
2024-10-28 19:09 ` [RFC PATCH v4 4/4] tracing: Add might_fault() check in __DO_TRACE() for syscall Mathieu Desnoyers
2024-10-28 19:58   ` Mathieu Desnoyers
2024-10-28 20:20     ` Andrii Nakryiko
2024-10-28 20:25       ` Mathieu Desnoyers
2024-10-28 20:40         ` Jordan Rife
2024-10-29  0:28           ` Jordan Rife
2024-10-30 14:42             ` Mathieu Desnoyers
2024-10-30 14:59             ` Alexei Starovoitov
2024-10-30 17:34               ` Jordan Rife
2024-10-30 17:39                 ` Andrii Nakryiko

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®