Files
linux/arch/x86/entry
Alexandre Chartre d16e0b2667 x86/entry: Remove UNTRAIN_RET from native_irq_return_ldt
UNTRAIN_RET is not needed in native_irq_return_ldt because RET
untraining has already been done at this point.

In addition, when the RETBleed mitigation is IBPB, UNTRAIN_RET clobbers
several registers (AX, CX, DX) so here it trashes user values which are
in these registers.

Signed-off-by: Alexandre Chartre <[email protected]>
Signed-off-by: Borislav Petkov <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
2022-07-14 09:45:12 +02:00
..
2022-06-27 10:33:58 +02:00
2022-06-27 10:34:00 +02:00
2022-06-27 10:34:00 +02:00