[PATCH] x86_64: Fix canonical checking for segment registers in ptrace
authorAndi Kleen <ak@suse.de>
Tue, 17 May 2005 04:53:30 +0000 (21:53 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Tue, 17 May 2005 14:59:15 +0000 (07:59 -0700)
commitf6b8d4778c04148729cc0b0dcd335a4411c44276
tree04ebfb8aba4f0354a2840886b2d06972faf18a2d
parentd1099e8a18960693c04507bdd7b9403db70bfd97
[PATCH] x86_64: Fix canonical checking for segment registers in ptrace

Allowed user programs to set a non canonical segment base, which would cause
oopses in the kernel later.

Credit-to: Alexander Nyberg <alexn@dsv.su.se>

 For identifying and reporting this bug.

Signed-off-by: Andi Kleen <ak@suse.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/x86_64/kernel/ptrace.c