From: Andi Kleen Date: Fri, 21 Sep 2007 14:16:18 +0000 (+0200) Subject: x86_64: Zero extend all registers after ptrace in 32bit entry path. X-Git-Tag: v2.6.23-rc8~15 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=176df2457ef6207156ca1a40991c54ca01fef567;p=pandora-kernel.git x86_64: Zero extend all registers after ptrace in 32bit entry path. Strictly it's only needed for eax. It actually does a little more than strictly needed -- the other registers are already zero extended. Also remove the now unnecessary and non functional compat task check in ptrace. This is CVE-2007-4573 Found by Wojciech Purczynski Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed