Files
Borislav Petkov (AMD) 608c8f5dcc x86/bugs: Make Safe-RET robust against interrupt injection
commit 7e7f81cf6f 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>
2026-08-06 19:25:30 +02:00
..
…
2026-08-03 11:15:40 +02:00
…
2026-08-03 11:15:40 +02:00
2026-08-03 11:15:40 +02:00
2026-08-03 11:15:40 +02:00
2026-08-03 11:15:40 +02:00
…