[PATCH v5 0/4] Faultable syscall tracepoints updates
From: Mathieu Desnoyers
Date: Wed Oct 30 2024 - 10:48:33 EST
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@xxxxxxxxxxxxx>
Cc: Michael Jeanson <mjeanson@xxxxxxxxxxxx>
Cc: Masami Hiramatsu <mhiramat@xxxxxxxxxx>
Cc: Peter Zijlstra <peterz@xxxxxxxxxxxxx>
Cc: Alexei Starovoitov <ast@xxxxxxxxxx>
Cc: Yonghong Song <yhs@xxxxxx>
Cc: Paul E. McKenney <paulmck@xxxxxxxxxx>
Cc: Ingo Molnar <mingo@xxxxxxxxxx>
Cc: Arnaldo Carvalho de Melo <acme@xxxxxxxxxx>
Cc: Mark Rutland <mark.rutland@xxxxxxx>
Cc: Alexander Shishkin <alexander.shishkin@xxxxxxxxxxxxxxx>
Cc: Namhyung Kim <namhyung@xxxxxxxxxx>
Cc: Andrii Nakryiko <andrii.nakryiko@xxxxxxxxx>
Cc: bpf@xxxxxxxxxxxxxxx
Cc: Joel Fernandes <joel@xxxxxxxxxxxxxxxxx>
Cc: Jordan Rife <jrife@xxxxxxxxxx>
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 __DECLARE_TRACE_SYSCALL
include/linux/tracepoint-defs.h | 10 ++++++--
include/linux/tracepoint.h | 44 ++++++++++++++++++++++++++++-----
include/trace/define_trace.h | 2 +-
kernel/tracepoint.c | 20 ++++++++-------
4 files changed, 58 insertions(+), 18 deletions(-)
--
2.39.5