MIPS: traps: Fix SIGFPE information leak from `do_ov' and `do_trap_or_bp'
authorMaciej W. Rozycki <macro@imgtec.com>
Fri, 4 Mar 2016 01:42:49 +0000 (01:42 +0000)
committerRalf Baechle <ralf@linux-mips.org>
Fri, 4 Mar 2016 21:52:32 +0000 (22:52 +0100)
commite723e3f7f9591b79e8c56b3d7c5a204a9c571b55
tree24f595ea619d1febe04a97e97ea8536bdb11ed92
parent887349f69f37e71e2a8bfbd743831625a0b2ff51
MIPS: traps: Fix SIGFPE information leak from `do_ov' and `do_trap_or_bp'

Avoid sending a partially initialised `siginfo_t' structure along SIGFPE
signals issued from `do_ov' and `do_trap_or_bp', leading to information
leaking from the kernel stack.

Signed-off-by: Maciej W. Rozycki <macro@imgtec.com>
Cc: stable@vger.kernel.org
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/kernel/traps.c