summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2021-03-19 20:06:30 +0300
committerLinus Torvalds <torvalds@linux-foundation.org>2021-03-19 20:06:30 +0300
commit278924cb99c93861c1cc3d266d719095bbd84f16 (patch)
treefdc45f24e8b4ff56681563546982f76a4a007b51 /arch
parentec85720933863015b1c26bc19cf4e044da139bc5 (diff)
parent83b62687a05205847d627f29126a8fee3c644335 (diff)
downloadlinux-278924cb99c93861c1cc3d266d719095bbd84f16.tar.xz
Merge tag 'trace-v5.12-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-trace
Pull workqueue tracing fix from Steven Rostedt: "Fix workqueue trace event unsafe string reference After adding a verifier to test all strings printed in trace events to make sure they either point to a string on the ring buffer, or to read only core kernel memory, it triggered on a workqueue trace event. The trace event workqueue_queue_work references the allocated name of the workqueue in the output. If the workqueue is freed before the trace is read, then the trace will dereference freed memory. Update the trace event to use the __string(), __assign_str(), and __get_str() helpers to handle such cases" * tag 'trace-v5.12-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-trace: workqueue/tracing: Copy workqueue name to buffer in trace event
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions