linux/arch/x86/include
Linus Torvalds 17a3ea20a2 Fix potential infoleak in older kernels
Not upstream as it is not needed there.

So a patch something like this might be a safe way to fix the
potential infoleak in older kernels.

THIS IS UNTESTED. It's a very obvious patch, though, so if it compiles
it probably works. It just initializes the output variable with 0 in
the inline asm description, instead of doing it in the exception
handler.

It will generate slightly worse code (a few unnecessary ALU
operations), but it doesn't have any interactions with the exception
handler implementation.


Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
History 2017-02-23 03:54:47 +00:00
..
asm Fix potential infoleak in older kernels 2017-02-23 03:54:47 +00:00
uapi/asm KVM: x86: work around infinite loop in microcode when #AC is delivered 2015-12-13 17:49:20 +00:00