Re: Stable linux-5.10.x regression triggered by MDS mitigation

From: Jari Ruusu
Date: Wed Jun 26 2024 - 09:15:16 EST


On Tuesday, June 25th, 2024 at 21:01, Pawan Gupta <pawan.kumar.gupta@xxxxxxxxxxxxxxx> wrote:
> Thanks for pointing this out, CLEAR_CPU_BUFFERS should happen before POPFL.
> Below patch moves it before POPFL and also adds a safer version that
> switches to KERNEL_DS before executing VERW. This should ensure VERW works
> in all cases:

Your patch looks OK to me. Thanks.
Tested on linux-5.10.220 inside 32-bit VM.

--
Jari Ruusu  4096R/8132F189 12D6 4C3A DCDA 0AA4 27BD  ACDF F073 3C80 8132 F189