The Linux Kernel Mailing List
 help / color / mirror / Atom feed
* [for-linus][PATCH 0/2] tracing: More fixes for v7.2
@ 2026-07-07 23:34 Steven Rostedt
  2026-07-07 23:34 ` [for-linus][PATCH 1/2] tracing/user_events: Fix use-after-free in user_event_mm_dup() Steven Rostedt
  2026-07-07 23:34 ` [for-linus][PATCH 2/2] tracing/synthetic: Free type string on error path Steven Rostedt
  0 siblings, 2 replies; 3+ messages in thread
From: Steven Rostedt @ 2026-07-07 23:34 UTC (permalink / raw)
  To: linux-kernel
  Cc: Masami Hiramatsu, Mark Rutland, Mathieu Desnoyers, Andrew Morton

tracing fixes for 7.2:

- Fix use-after-free in user_event_mm_dup()

  When the enabler is removed from the link list, it is freed immediately.
  But it is protected via RCU and needs to be freed after an RCU
  grace period. Use queue_rcu_work() so that the event_mutex can also
  be taken as user_event_put() takes the mutex on the last reference
  is released.

- Free type string in error path of parse_synth_field()

  There's an error path in parse_synth_field() where the allocated type
  string is not freed.


  git://git.kernel.org/pub/scm/linux/kernel/git/trace/linux-trace.git
trace/fixes

Head SHA1: 05074bb90af94f2acbbc8f8ffaa507f914c273c8


Michael Bommarito (1):
      tracing/user_events: Fix use-after-free in user_event_mm_dup()

Yu Peng (1):
      tracing/synthetic: Free type string on error path

----
 kernel/trace/trace_events_synth.c |  4 +++-
 kernel/trace/trace_events_user.c  | 39 ++++++++++++++++++++++++++++++++-------
 2 files changed, 35 insertions(+), 8 deletions(-)

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2026-07-07 23:41 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-07-07 23:34 [for-linus][PATCH 0/2] tracing: More fixes for v7.2 Steven Rostedt
2026-07-07 23:34 ` [for-linus][PATCH 1/2] tracing/user_events: Fix use-after-free in user_event_mm_dup() Steven Rostedt
2026-07-07 23:34 ` [for-linus][PATCH 2/2] tracing/synthetic: Free type string on error path Steven Rostedt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox