linux/arch/arm/nwfpe
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
..
ARM-gcc.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
ChangeLog Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
double_cpdo.c [PATCH] ARM: 2837/2: Re: ARM: Make NWFPE preempt safe 2005-08-03 19:49:17 +01:00
entry26.S kbuild: arm - use generic asm-offsets.h support 2005-09-09 21:08:59 +02:00
entry.S Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
extended_cpdo.c [PATCH] ARM: 2837/2: Re: ARM: Make NWFPE preempt safe 2005-08-03 19:49:17 +01:00
fpa11_cpdo.c [PATCH] ARM: 2837/2: Re: ARM: Make NWFPE preempt safe 2005-08-03 19:49:17 +01:00
fpa11_cpdt.c [PATCH] ARM: 2837/2: Re: ARM: Make NWFPE preempt safe 2005-08-03 19:49:17 +01:00
fpa11_cprt.c [ARM] 2978/1: nwfpe - clean up sparse errors 2005-10-12 19:58:10 +01:00
fpa11.c [ARM] 2978/1: nwfpe - clean up sparse errors 2005-10-12 19:58:10 +01:00
fpa11.h [ARM] 2978/1: nwfpe - clean up sparse errors 2005-10-12 19:58:10 +01:00
fpa11.inl Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
fpmodule.c [PATCH] ARM: 2837/2: Re: ARM: Make NWFPE preempt safe 2005-08-03 19:49:17 +01:00
fpmodule.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
fpmodule.inl [PATCH] ARM: Remove global nwfpe register variable 2005-07-17 10:54:50 +01:00
fpopcode.c [ARM] 3117/1: nwfpe kernel memory info leak 2005-11-07 21:12:07 +00:00
fpopcode.h [ARM] 2978/1: nwfpe - clean up sparse errors 2005-10-12 19:58:10 +01:00
fpsr.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
Makefile Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
milieu.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
single_cpdo.c [PATCH] ARM: 2837/2: Re: ARM: Make NWFPE preempt safe 2005-08-03 19:49:17 +01:00
softfloat-macros [PATCH] ARM: 2722/1: remove reliance on udivdi3 for nwfpe 2005-06-23 21:56:46 +01:00
softfloat-specialize [ARM] 3117/1: nwfpe kernel memory info leak 2005-11-07 21:12:07 +00:00
softfloat.c [ARM] 3117/1: nwfpe kernel memory info leak 2005-11-07 21:12:07 +00:00
softfloat.h [ARM] 3117/1: nwfpe kernel memory info leak 2005-11-07 21:12:07 +00:00