Linux Trace Kernel
 help / color / mirror / Atom feed
* [PATCH v2 0/2] tracing/synthetic: Harden dynamic string fault handling and length bounds
@ 2026-12-03 15:23 Lee Jones
  2026-12-03 15:23 ` [PATCH v2 1/2] tracing/synthetic: Handle dynamic string read faults Lee Jones
  2026-12-03 15:23 ` [PATCH v2 2/2] tracing/synthetic: Bound dynamic string copy to reserved length Lee Jones
  0 siblings, 2 replies; 3+ messages in thread
From: Lee Jones @ 2026-12-03 15:23 UTC (permalink / raw)
  To: lee
  Cc: linux-kernel, linux-trace-kernel, Masami Hiramatsu,
	Mathieu Desnoyers, Steven Rostedt, Tom Zanussi

This v2 series is based on trace/fixes (which already contains
"tracing/histograms: Reject non-string fields for synthetic string
fields" from v1 as commit c7868604fda5) and includes the pending
dynamic-string read-fault prerequisite so that both patches apply
cleanly together:

 1. tracing/synthetic: Handle dynamic string read faults (previously
    sent as <20261109155758.3330810-1-lee@kernel.org>)
 2. tracing/synthetic: Bound dynamic string copy to reserved length
    (reported by Sashiko)

v1 => v2:
 - Rebase onto trace/fixes and drop the already-applied histogram patch
 - Include the pending read-fault prerequisite as patch 1/2
 - Eliminate the duplicated ternary operators when passing dyn_lens[i]
   to trace_string()

Cc: linux-trace-kernel@vger.kernel.org
Cc: Masami Hiramatsu <mhiramat@kernel.org>
Cc: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Cc: Steven Rostedt <rostedt@goodmis.org>
Cc: Tom Zanussi <tom.zanussi@linux.intel.com>

Lee Jones (2):
  tracing/synthetic: Handle dynamic string read faults
  tracing/synthetic: Bound dynamic string copy to reserved length

 kernel/trace/trace_events_synth.c | 63 +++++++++++++++++++++++--------
 1 file changed, 48 insertions(+), 15 deletions(-)

-- 
2.56.1.911.g883d8bcb20-goog


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

end of thread, other threads:[~2026-12-03 15:24 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-12-03 15:23 [PATCH v2 0/2] tracing/synthetic: Harden dynamic string fault handling and length bounds Lee Jones
2026-12-03 15:23 ` [PATCH v2 1/2] tracing/synthetic: Handle dynamic string read faults Lee Jones
2026-12-03 15:23 ` [PATCH v2 2/2] tracing/synthetic: Bound dynamic string copy to reserved length Lee Jones

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