summaryrefslogtreecommitdiff
path: root/scripts/Makefile.thinlto
diff options
context:
space:
mode:
authorDavid Carlier <devnexen@gmail.com>2026-10-16 07:16:34 +0100
committerSteven Rostedt <rostedt@goodmis.org>2026-10-16 11:40:05 -0400
commit66877a312ae3c2c3d849e82e882f642ffd4ec3e2 (patch)
treef70b4c731bcff13e48341855a42f78009fb02eef /scripts/Makefile.thinlto
parent097fd0050089df17b032f2b852b9b65e548e342a (diff)
downloadlinux-next-66877a312ae3c2c3d849e82e882f642ffd4ec3e2.tar.gz
linux-next-66877a312ae3c2c3d849e82e882f642ffd4ec3e2.zip
tracing: Hold trace_types_lock when updating modules in persistent instances
trace_module_record() walks ftrace_trace_arrays from the module notifier without trace_types_lock. A concurrent rmdir of an instance removes it from the list and frees it under that lock, so a module load or unload can walk into a freed trace_array. Cc: stable@vger.kernel.org Fixes: 5f3719f697c3 ("tracing: Update modules to persistent instances when loaded") Link: https://patch.msgid.link/20261016061638.214847-1-devnexen@gmail.com Signed-off-by: David Carlier <devnexen@gmail.com> Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions