[patch 0/3] x86/fpu: Prevent FPU state corruption

From: Thomas Gleixner
Date: Sun May 01 2022 - 15:32:00 EST


The recent changes in the random code unearthed a long standing FPU state
corruption due do a buggy condition for granting in-kernel FPU usage.

The following series addresses this issue and makes the code more robust.

Thanks,

tglx
---
arch/um/include/asm/fpu/api.h | 2
arch/x86/include/asm/fpu/api.h | 21 +-------
arch/x86/include/asm/simd.h | 2
arch/x86/kernel/fpu/core.c | 92 +++++++++++++++++++-----------------
net/netfilter/nft_set_pipapo_avx2.c | 2
5 files changed, 57 insertions(+), 62 deletions(-)