From: Lee Jones <lee@kernel.org>
To: lee@kernel.org
Cc: linux-kernel@vger.kernel.org, linux-trace-kernel@vger.kernel.org,
Masami Hiramatsu <mhiramat@kernel.org>,
Mathieu Desnoyers <mathieu.desnoyers@efficios.com>,
Steven Rostedt <rostedt@goodmis.org>,
Tom Zanussi <tom.zanussi@linux.intel.com>
Subject: [PATCH v2 0/2] tracing/synthetic: Harden dynamic string fault handling and length bounds
Date: Thu, 3 Dec 2026 15:23:38 +0000 [thread overview]
Message-ID: <20261203152350.3832267-1-lee@kernel.org> (raw)
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
next reply other threads:[~2026-12-03 15:23 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-12-03 15:23 Lee Jones [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20261203152350.3832267-1-lee@kernel.org \
--to=lee@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-trace-kernel@vger.kernel.org \
--cc=mathieu.desnoyers@efficios.com \
--cc=mhiramat@kernel.org \
--cc=rostedt@goodmis.org \
--cc=tom.zanussi@linux.intel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.