Skip to content

Faultable syscall tracepoints updates

Mathieu Desnoyers bpf linux-trace-kernel lkml 4 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v5 Latest posting 2/24 patches 0 repliesNew
  2. v5 posting 1/24 patches 1 replySuperseded
  3. v4 RFC4 patches 11 repliesSuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v3 RFC3 patches13 repliesSuperseded

Patches in v5 posting 2/2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4tracing: Introduce tracepoint extended structureinclude/linux/tracepoint-defs.h include/linux/tracepoint.h kernel/tracepoint.c+23 -130 replies
2/4tracing: Introduce tracepoint_is_faultable()include/linux/tracepoint-defs.h include/linux/tracepoint.h include/trace/define_trace.h+27 -10 replies
3/4tracing: Fix syscall tracepoint use-after-freekernel/tracepoint.c+7 -40 replies
4/4tracing: Add might_fault() check in __DECLARE_TRACE_SYSCALLinclude/linux/tracepoint.h+1 -00 replies

Reviews trailers per patch

1 of 4 patches has a Reviewed-by or Acked-by.

PatchJordan RifeAndrii Nakryiko
1/4T-b
2/4T-b A-b
3/4T-b
4/4T-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v5 thread

Cover letter [PATCH v5 resend 0/4] Faultable syscall tracepoints updates

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 <[email protected]>
Cc Michael Jeanson <[email protected]>
Cc Masami Hiramatsu <[email protected]>
Cc Peter Zijlstra <[email protected]>
Cc Alexei Starovoitov <[email protected]>
Cc Yonghong Song <[email protected]>
Cc Paul E. McKenney <[email protected]>
Cc Ingo Molnar <[email protected]>
Cc Arnaldo Carvalho de Melo <[email protected]>
Cc Mark Rutland <[email protected]>
Cc Alexander Shishkin <[email protected]>
Cc Namhyung Kim <[email protected]>
Cc Andrii Nakryiko <[email protected]>
Cc Joel Fernandes <[email protected]>
Cc Jordan Rife <[email protected]>

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(-)
Signature · 1 line
2.39.5