Re: [PATCH v4] tracing: Fix race condition in kprobe initialization causing NULL pointer dereference

From: Google

Date: Thu Oct 02 2025 - 10:04:53 EST


On Thu, 2 Oct 2025 07:59:24 +0900
Masami Hiramatsu (Google) <mhiramat@xxxxxxxxxx> wrote:

> On Wed, 1 Oct 2025 10:31:49 -0400
> Steven Rostedt <rostedt@xxxxxxxxxxx> wrote:
>
> > On Wed, 1 Oct 2025 14:32:00 +0200
> > Peter Zijlstra <peterz@xxxxxxxxxxxxx> wrote:
> >
> > > Anyway, patch looks reasonable now. Rest is up to Steve, this is his
> > > code.
> >
> > Actually, it's Masami's ;-) And it's up to him.
>
> Yeah, looks good to me. Let me pick it as a fix.

BTW, I will add below, the commit introduced the flags.

Fixes: 50d780560785 ("tracing/kprobes: Add probe handler dispatcher to support perf and ftrace concurrent use")
Cc: stable@xxxxxxxxxxxxxxx

Thanks,

>
> Thank you!
>
> >
> > -- Steve
>
>
> --
> Masami Hiramatsu (Google) <mhiramat@xxxxxxxxxx>


--
Masami Hiramatsu (Google) <mhiramat@xxxxxxxxxx>