• R/O
  • HTTP
  • SSH
  • HTTPS

linux-2.4.36: Commit

2.4.36-stable kernel tree


Commit MetaInfo

Revision7e6ba255062b79f2cf34590ac0987abb335d29f1 (tree)
Zeit2007-11-12 02:43:12
AutorAndi Kleen <ak@suse...>
CommiterWilly Tarreau

Log Message

[PATCH] x86_64: Make sure to validate all 64bits of ptrace information

This is CVE-2007-4573, found by Wojciech Purczynski.

Signed-off-by: Andi Kleen <ak@suse.de>

Ändern Zusammenfassung

Diff

--- a/arch/x86_64/ia32/ia32entry.S
+++ b/arch/x86_64/ia32/ia32entry.S
@@ -73,7 +73,7 @@ ia32_tracesys:
7373 call syscall_trace
7474 LOAD_ARGS ARGOFFSET /* reload args from stack in case ptrace changed it */
7575 RESTORE_REST
76- cmpl $(IA32_NR_syscalls),%eax
76+ cmpl $(IA32_NR_syscalls),%rax
7777 jae 1f
7878 IA32_ARG_FIXUP
7979 call *ia32_sys_call_table(,%rax,8)
Show on old repository browser