commit 8e6d05e205143e13339fcaad930ed1a4478da1c8 Author: Chris Wright Date: Fri Sep 21 15:38:23 2007 -0700 Linux 2.6.22.7 commit fc370f287729799250e04cb1d880140d14612bf0 Author: Andi Kleen Date: Fri Sep 21 16:16:18 2007 +0200 [PATCH] 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 Signed-off-by: Chris Wright