kernel-ark/arch
Lennert Buytenhek 06c03cac94 [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 <buytenh@wantstofly.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
2005-11-07 21:12:07 +00:00
..
alpha
arm [ARM] 3117/1: nwfpe kernel memory info leak 2005-11-07 21:12:07 +00:00
arm26
cris
frv
h8300
i386
ia64
m32r
m68k
m68knommu
mips
parisc
powerpc [PATCH] ppc64: support 64k pages 2005-11-06 16:56:47 -08:00
ppc
ppc64 [PATCH] ppc64: support 64k pages 2005-11-06 16:56:47 -08:00
s390
sh
sh64
sparc
sparc64
um
v850
x86_64
xtensa