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

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


On Wed, 2019-09-04 at 04:55:27 UTC, gromero wrote:
> From: Gustavo Romero <gromero at linux.ibm.com>
> 
> 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: stable at vger.kernel.org # 4.12+
> Signed-off-by: Gustavo Romero <gromero at linux.vnet.ibm.com>
> Signed-off-by: Michael Neuling <mikey at neuling.org>

Applied to powerpc fixes, thanks.

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

cheers


More information about the Linuxppc-dev mailing list