summaryrefslogtreecommitdiff
path: root/arch/mips/kernel/bmips_vec.S
diff options
context:
space:
mode:
authorJeffrey Deans <jeffrey.deans@imgtec.com>2014-07-17 08:20:56 (GMT)
committerRalf Baechle <ralf@linux-mips.org>2014-08-01 22:06:40 (GMT)
commit6096e114f5f70d29d9e01e031f69d529b2193ab7 (patch)
treea274820cc1a74ff159399d079e2d0277a60783f5 /arch/mips/kernel/bmips_vec.S
parentb0a88ae50220b60d6e9686fc5f5a200151217037 (diff)
downloadlinux-6096e114f5f70d29d9e01e031f69d529b2193ab7.tar.xz
MIPS: GIC: Prevent array overrun
A GIC interrupt which is declared as having a GIC_MAP_TO_NMI_MSK mapping causes the cpu parameter to gic_setup_intr() to be increased to 32, causing memory corruption when pcpu_masks[] is written to again later in the function. Signed-off-by: Jeffrey Deans <jeffrey.deans@imgtec.com> Signed-off-by: Markos Chandras <markos.chandras@imgtec.com> Cc: stable@vger.kernel.org Cc: linux-mips@linux-mips.org Patchwork: https://patchwork.linux-mips.org/patch/7375/ Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/kernel/bmips_vec.S')
0 files changed, 0 insertions, 0 deletions