]> git.ipfire.org Git - people/ms/linux.git/commit
x86_64: Don't leak NT bit into next task (CVE-2006-5755)
authorAndi Kleen <ak@suse.de>
Mon, 8 Jan 2007 21:44:07 +0000 (22:44 +0100)
committerAdrian Bunk <bunk@stusta.de>
Tue, 9 Jan 2007 02:23:30 +0000 (03:23 +0100)
commit493fa112a845d9ea5d24d429b0142090758f941b
tree28cd6362e9bfc28da5d6589b1dc287a11eebf8a0
parentbe7b264ae676589398f8bff7ea53b01851f17be2
x86_64: Don't leak NT bit into next task (CVE-2006-5755)

SYSENTER can cause a NT to be set which might cause crashes on the IRET
in the next task.

Following similar i386 patch from Linus.

Backport to 2.6.16 by Chuck Ebbert <76306.1226@compuserve.com>
[Changed 'set_debugreg' to the older 'set_debug' in setup64.c
and added raw_local_save_flags() from 2.6.19 to system.h]

Signed-off-by: Andi Kleen <ak@suse.de>
Signed-off-by: Adrian Bunk <bunk@stusta.de>
arch/x86_64/kernel/entry.S
arch/x86_64/kernel/setup64.c
include/asm-x86_64/system.h