aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorPeter Zijlstra <[email protected]>2021-11-19 10:29:47 +0100
committerLinus Torvalds <[email protected]>2021-11-19 10:14:57 -0800
commit0dc636b3b757a6b747a156de613275f9d74a4a66 (patch)
tree35441c0586f737bccd7c8c85ec6b7cd493cd0128 /tools/perf/scripts/python/export-to-sqlite.py
parent4c388a8e740d3235a194f330c8ef327deef710f6 (diff)
x86: Pin task-stack in __get_wchan()
When commit 5d1ceb3969b6 ("x86: Fix __get_wchan() for !STACKTRACE") moved from stacktrace to native unwind_*() usage, the try_get_task_stack() got lost, leading to use-after-free issues for dying tasks. Signed-off-by: Peter Zijlstra (Intel) <[email protected]> Fixes: 5d1ceb3969b6 ("x86: Fix __get_wchan() for !STACKTRACE") Link: https://bugzilla.kernel.org/show_bug.cgi?id=215031 Link: https://lore.kernel.org/stable/[email protected]/ Reported-by: Justin Forbes <[email protected]> Reported-by: Holger Hoffstätte <[email protected]> Cc: Qi Zheng <[email protected]> Cc: Kees Cook <[email protected]> Cc: Thomas Gleixner <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions