diff --git a/arch/x86/kernel/fpu/core.c b/arch/x86/kernel/fpu/core.c index 1f71cc135e9a..2a8c159de5e2 100644 --- a/arch/x86/kernel/fpu/core.c +++ b/arch/x86/kernel/fpu/core.c @@ -648,6 +648,8 @@ int fpu_clone(struct task_struct *dst, u64 clone_flags, bool minimal, /* The new task's FPU state cannot be valid in the hardware. */ dst_fpu->last_cpu = -1; + dst_fpu->avx512_timestamp = 0; + fpstate_reset(dst_fpu); if (!cpu_feature_enabled(X86_FEATURE_FPU))