From: Siddha, Suresh B Date: Sat, 16 Jul 2005 02:17:44 +0000 (-0700) Subject: [PATCH] x86_64: TASK_SIZE fixes for compatibility mode processes X-Git-Tag: v2.6.13-rc4~91 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9fb1759a3102c26cd8f64254a7c3e532782c2bb8;p=pandora-kernel.git [PATCH] x86_64: TASK_SIZE fixes for compatibility mode processes A malicious 32bit app can have an elf section at 0xffffe000. During exec of this app, we will have a memory leak as insert_vm_struct() is not checking for return value in syscall32_setup_pages() and thus not freeing the vma allocated for the vsyscall page. Check the return value and free the vma incase of failure. Signed-off-by: Suresh Siddha Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed