]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
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)
committerSasha Levin <sasha.levin@oracle.com>
Mon, 14 Mar 2016 16:42:31 +0000 (12:42 -0400)
commit5a4557b0eb8a2a0b3bccdcbc7a66b8b04262f878
tree6899eb80c12b4441ec73ea362028ced19928ebda
parentf00b04c358d1583826a7340dc661eff6f8399898
MIPS: traps: Fix SIGFPE information leak from `do_ov' and `do_trap_or_bp'

[ Upstream commit e723e3f7f9591b79e8c56b3d7c5a204a9c571b55 ]

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>
Signed-off-by: Sasha Levin <sasha.levin@oracle.com>
arch/mips/kernel/traps.c