]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
[PATCH] x86_64: Fix canonical checking for segment registers in ptrace
authorAndi Kleen <ak@suse.de>
Tue, 17 May 2005 04:53:30 +0000 (04:53 +0000)
committer <chrisw@vas.sous-sol.org> <>
Fri, 27 May 2005 04:20:11 +0000 (21:20 -0700)
commitf51f3c46d7deaf3b957fefdce0c7e55d930f1c9f
tree7387c97e3dafc359eba872b8159d6bf7d566a9e9
parent63a4a4f228c0de221779cd18c7ed9511d42c557b
[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>
Signed-off-by: Chris Wright <chrisw@osdl.org>
arch/x86_64/kernel/ptrace.c