Files
linux-stable-mirror/arch
Johannes WiknerandGreg Kroah-Hartman 0b263c2086 x86/bugs: Do not use UNTRAIN_RET with IBPB on entry
commit c62fa117c3 upstream.

Since X86_FEATURE_ENTRY_IBPB will invalidate all harmful predictions
with IBPB, no software-based untraining of returns is needed anymore.
Currently, this change affects retbleed and SRSO mitigations so if
either of the mitigations is doing IBPB and the other one does the
software sequence, the latter is not needed anymore.

  [ bp: Massage commit message. ]

Suggested-by: Borislav Petkov <bp@alien8.de>
Signed-off-by: Johannes Wikner <kwikner@ethz.ch>
Cc: <stable@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2024-10-22 15:40:43 +02:00
..
2024-07-05 09:14:48 +02:00