android_kernel_xiaomi_sm8350/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
ChangeLog
double_cpdo.c
entry26.S
entry.S
extended_cpdo.c
fpa11_cpdo.c
fpa11_cpdt.c
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
fpmodule.c
fpmodule.h
fpmodule.inl
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
Makefile
milieu.h
single_cpdo.c
softfloat-macros
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