]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
copy_xstate_to_kernel(): don't leave parts of destination uninitialized
authorAl Viro <viro@zeniv.linux.org.uk>
Tue, 26 May 2020 22:39:49 +0000 (18:39 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 3 Jun 2020 06:23:28 +0000 (08:23 +0200)
commit28ae629d311ff38fac54b1483166d3d0f54cf077
treed174ba2b9701a907d031275ca628f1beff2fb6c7
parent0b69223f2c19cc0bc731a90bb5a6007c8e975616
copy_xstate_to_kernel(): don't leave parts of destination uninitialized

commit 9e4636545933131de15e1ecd06733538ae939b2f upstream.

copy the corresponding pieces of init_fpstate into the gaps instead.

Cc: stable@kernel.org
Tested-by: Alexander Potapenko <glider@google.com>
Acked-by: Borislav Petkov <bp@suse.de>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/x86/kernel/fpu/xstate.c