x86/microcode/intel: Fix out of bounds memory access to the extended header
authorQuentin Casasnovas <quentin.casasnovas@oracle.com>
Thu, 26 Feb 2015 17:03:59 +0000 (18:03 +0100)
committerBorislav Petkov <bp@suse.de>
Mon, 2 Mar 2015 19:30:42 +0000 (20:30 +0100)
commitd496a002ae1f02425168e5211c237abee588651a
tree46ff2fc4f73c0de1758b4f19341d4476bdf6c898
parentc517d838eb7d07bbe9507871fab3931deccff539
x86/microcode/intel: Fix out of bounds memory access to the extended header

Improper pointer arithmetics when calculating the address of the
extended header could lead to an out of bounds memory read and kernel
panic.

Signed-off-by: Quentin Casasnovas <quentin.casasnovas@oracle.com>
Link: http://lkml.kernel.org/r/20150225094125.GB30434@chrystal.uk.oracle.com
Signed-off-by: Borislav Petkov <bp@suse.de>
arch/x86/kernel/cpu/microcode/intel_early.c