Skip to content

x86/fpu: Prevent FPU state corruption

Thomas Gleixner linux-crypto lkml stable 1 version Applied

Status from this message: The following commit has been merged into the x86/urgent branch of tip:

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 33 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/3x86/fpu: Prevent FPU state corruptionarch/x86/kernel/fpu/core.c+26 -411 reply
2/3x86/fpu: Rename irq_fpu_usable()arch/um/include/asm/fpu/api.h arch/x86/include/asm/fpu/api.h arch/x86/include/asm/simd.h +2 more+12 -111 reply
3/3x86/fpu: Make FPU protection more robustarch/x86/include/asm/fpu/api.h arch/x86/kernel/fpu/core.c+52 -4321 replies

Reviews trailers per patch

2 of 3 patches have a Reviewed-by or Acked-by.

PatchFilipe MananaBorislav Petkov
SeriesT-b
1/3R-b
2/3R-b
3/3

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

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

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(-)