[PATCH 0/2] tracing: Fix a UAF and regex bug on trace-event

From: Masami Hiramatsu (Google)

Date: Tue Jul 28 2026 - 20:28:16 EST


Hi,

Here are a couple of patches to fix a use-after-free bug in a
error case on registering events in a module, and regex match
problem.

Thanks,
---

Masami Hiramatsu (Google) (2):
tracing: Check return value of __register_event() in trace_module_add_events()
tracing/filters: Fix false positive match in regex_match_full()


kernel/trace/trace_events.c | 4 ++--
kernel/trace/trace_events_filter.c | 3 +++
2 files changed, 5 insertions(+), 2 deletions(-)

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