From: Blaisorblade Date: Wed, 27 Jul 2005 18:45:18 +0000 (-0700) Subject: [PATCH] sys_get_thread_area does not clear the returned argument X-Git-Tag: v2.6.13-rc4~25^2~64 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=71ae18ec690953e9ba7107c7cc44589c2cc0d9f1;p=pandora-kernel.git [PATCH] sys_get_thread_area does not clear the returned argument sys_get_thread_area does not memset to 0 its struct user_desc info before copying it to user space... since sizeof(struct user_desc) is 16 while the actual datas which are filled are only 12 bytes + 9 bits (across the bitfields), there is a (small) information leak. Signed-off-by: Paolo 'Blaisorblade' Giarrusso Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed