FP save/restore security patch for AMD processors
authorMichael Taufen <mtaufen@gmail.com>
Sat, 5 Mar 2016 00:25:44 +0000 (16:25 -0800)
committerBarret Rhoden <brho@cs.berkeley.edu>
Thu, 10 Mar 2016 18:55:41 +0000 (13:55 -0500)
commit77a34cdd7cc7ad2e4d578b1de431c192db874eda
tree1c07effc8e3b7b90b37abc253e7e9f5e4e2b6b14
parent13282c17292094629d78b4e88135a4c7ddc88006
FP save/restore security patch for AMD processors

AMD processors do not save/restore the FOP/FIP/FDP values from/to the
x87 FPU unless an unmasked FPU exception is pending. This can result in
a state leak between processes during a context switch, and is a
potential security hole.

See CVE-2006-1056 and CVE-2013-2076 on cve.mitre.org.

Signed-off-by: Michael Taufen <mtaufen@gmail.com>
Signed-off-by: Barret Rhoden <brho@cs.berkeley.edu>
kern/arch/x86/trap.h