Re: [PATCH] tracing: Require kallsyms permission for the .function filter modifier
From: Steven Rostedt
Date: Thu Nov 19 2026 - 12:56:12 EST
On Thu, 19 Nov 2026 11:59:41 +0900
JunYoung Lee <ljyoung04@xxxxxxxxx> wrote:
> A separate issue seen while testing: as root, a .function filter on the
> perf function event (ftrace:function) crashes the kernel with a NULL
> dereference in ftrace_function_set_filter_pred(), because pred->regex
> is not set on the .function path. It needs CAP_PERFMON. I can send
> details if useful.
This part already has a fix in the queue:
https://lore.kernel.org/linux-trace-kernel/20261119080139.131834-1-devnexen@xxxxxxxxx/
-- Steve