Re: [PATCH] kprobes: Remove dead child probes from aggrprobe list on module unload

From: Shijia Hu

Date: Wed Apr 29 2026 - 21:40:29 EST


On Wed, 29 Apr 2026 17:40:53 +0900
Masami Hiramatsu (Google) <mhiramat@xxxxxxxxxx> wrote:

> Yes, this cause UAF because that module has a bug. Please call
> unregister_kprobe().

On Wed, 29 Apr 2026 11:56:45 -0400
Steve Rostedt <rostedt@xxxxxxxxxxx> wrote:

> Yes, this is one of those...
>
> Patient: Doctor it hurts me when I do this
> Doctor: Then don't do that
>
> ... reports.
>
> No, the kernel isn't responsible for fixing buggy modules.

Agreed. I withdraw this patch.

Thank you both for the review.

Shijia