Subject: Re: [PATCH v2 1/3] powerpc/tm: Fix FP/VMX unavailable exceptions inside a transaction

From: Michael Ellerman <[email-masked]>
Date: Thu, 5 Sep 2019 22:05:41 +1000 (AEST)

On Wed, 2019-09-04 at 04:55:27 UTC, gromero wrote:
> From: Gustavo Romero <[email-masked]>
> 
> When we take an FP unavailable exception in a transaction we have to
> account for the hardware FP TM checkpointed registers being
> incorrect. In this case for this process we know the current and
> checkpointed FP registers must be the same (since FP wasn't used
> inside the transaction) hence in the thread_struct we copy the current
> FP registers to the checkpointed ones.
...
> 
> This fixes CVE-2019-15030.
> 
> Fixes: f48e91e87e67 ("powerpc/tm: Fix FP and VMX register corruption")
> Cc: [email-masked] # 4.12+
> Signed-off-by: Gustavo Romero <[email-masked]>
> Signed-off-by: Michael Neuling <[email-masked]>

Applied to powerpc fixes, thanks.

https://git.kernel.org/powerpc/c/8205d5d98ef7f155de211f5e2eb6ca03d95a5a60

cheers