summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorBorislav Petkov (AMD) <bp@alien8.de>2026-06-03 07:26:44 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2026-08-06 20:28:03 +0300
commit61649a2d61cb0dbc673f0f232f0f0c298bf50442 (patch)
treea9164cf55d5787f164786d920b3015c0fb2874ba /tools/perf/scripts/python/stackcollapse.py
parent2609d60e2f6d0b8a96563baa08b56482962cebaa (diff)
downloadlinux-61649a2d61cb0dbc673f0f232f0f0c298bf50442.tar.xz
x86/bugs: Make Safe-RET robust against interrupt injection
commit 7e7f81cf6f5ca3311e526308f55d7c54d3ba71f9 upstream. An attacker injecting interrupts while the Safe-RET mitigation executes on machines affected by SRSO can neutralize the safe return sequence, potentially leading to data leakage through speculative execution. Fixup register state as if the Safe-RET sequence executed successfully by "emulating" it, in a manner of speaking, and avoid executing a RET instruction after returning from the interrupt. Co-developed-by: David Kaplan <David.Kaplan@amd.com> Signed-off-by: David Kaplan <David.Kaplan@amd.com> Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions