Re: [RFC PATCH] tracing: Fix syscall tracepoint use-after-free
From: Mathieu Desnoyers
Date: Thu Oct 24 2024 - 14:20:09 EST
On 2024-10-24 13:12, Andrii Nakryiko wrote:
[...]
And as Alexei asked, where are the applied
patches adding faultable tracepoints?
On linux-next next-20241024 :
0850e1bc88b1 tracing/bpf: Add might_fault check to syscall probes
cdb537ac4179 tracing/perf: Add might_fault check to syscall probes
a3204c740a59 tracing/ftrace: Add might_fault check to syscall probes
a363d27cdbc2 tracing: Allow system call tracepoints to handle page faults <---- This is where bisection points as first offending commit.
4aadde89d81f tracing/bpf: disable preemption in syscall probe
65e7462a16ce tracing/perf: disable preemption in syscall probe
13d750c2c03e tracing/ftrace: disable preemption in syscall probe
0e6caab8db8b tracing: Declare system call tracepoints with TRACE_EVENT_SYSCALL
Thanks,
Mathieu
--
Mathieu Desnoyers
EfficiOS Inc.
https://www.efficios.com