From: Lennert Buytenhek Date: Mon, 7 Nov 2005 21:12:07 +0000 (+0000) Subject: [ARM] 3117/1: nwfpe kernel memory info leak X-Git-Tag: v2.6.15-rc1~443^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=06c03cac9487555478c7d80065ebf7818bf6fd06;p=pandora-kernel.git [ARM] 3117/1: nwfpe kernel memory info leak Patch from Lennert Buytenhek The routine that nwfpe uses for converting floats/doubles to extended precision fails to zero two bytes of kernel stack. This is not immediately obvious, as the floatx80 structure has 16 bits of implicit padding (by design.) These two bytes are copied to userspace when an stfe is emulated, causing a possible info leak. Make the padding explicit and zero it out in the relevant places. Signed-off-by: Lennert Buytenhek Signed-off-by: Russell King --- Reading git-diff-tree failed