diff options
| author | Borislav Petkov (AMD) <bp@alien8.de> | 2026-06-02 21:26:44 -0700 |
|---|---|---|
| committer | Borislav Petkov (AMD) <bp@alien8.de> | 2026-07-26 07:21:37 -0700 |
| commit | 7e7f81cf6f5ca3311e526308f55d7c54d3ba71f9 (patch) | |
| tree | bdef8bcc4a6e4a54ff379e969d1c2147cc2c8a44 /tools/perf/scripts/python/flamegraph.py | |
| parent | 1590cf0329716306e948a8fc29f1d3ee87d3989f (diff) | |
x86/bugs: Make Safe-RET robust against interrupt injection
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>
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions
