[PATCH v2 2/3] powerpc/tm: Fix restoring FP/VMX facility incorrectly on interrupts

Michael Ellerman patch-notifications at ellerman.id.au
Thu Sep 5 22:05:42 AEST 2019


On Wed, 2019-09-04 at 04:55:28 UTC, gromero wrote:
> From: Gustavo Romero <gromero at linux.ibm.com>
> 
> When in userspace and MSR FP=0 the hardware FP state is unrelated to
> the current process. This is extended for transactions where if tbegin
> is run with FP=0, the hardware checkpoint FP state will also be
> unrelated to the current process. Due to this, we need to ensure this
> hardware checkpoint is updated with the correct state before we enable
> FP for this process.
...
> 
> This fixes CVE-2019-15031.
> 
> Fixes: a7771176b439 ("powerpc: Don't enable FP/Altivec if not checkpointed")
> Cc: stable at vger.kernel.org # 4.15+
> Signed-off-by: Gustavo Romero <gromero at linux.ibm.com>
> Signed-off-by: Michael Neuling <mikey at neuling.org>

Applied to powerpc fixes, thanks.

https://git.kernel.org/powerpc/c/a8318c13e79badb92bc6640704a64cc022a6eb97

cheers


More information about the Linuxppc-dev mailing list