kernel-fxtec-pro1x/arch/s390
Christian Borntraeger 062d5e9b0d KVM: S390: fix potential array overrun in intercept handling
kvm_handle_sie_intercept uses a jump table to get the intercept handler
for a SIE intercept. Static code analysis revealed a potential problem:
the intercept_funcs jump table was defined to contain (0x48 >> 2) entries,
but we only checked for code > 0x48 which would cause an off-by-one
array overflow if code == 0x48.

Use the compiler and ARRAY_SIZE to automatically set the limits.

Cc: stable@kernel.org
Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
2010-01-25 12:26:39 -02:00
..
appldata const: constify remaining dev_pm_ops 2009-12-15 08:53:25 -08:00
boot kbuild: use INSTALLKERNEL to select customized installkernel script 2009-09-20 12:18:14 +02:00
crypto [S390] s390: PTR_ERR return of wrong pointer in fallback_init_cip() 2009-12-18 17:43:31 +01:00
hypfs [S390] Use strim instead of strstrip to avoid false warnings. 2009-12-18 17:43:33 +01:00
include/asm [S390] unwire sys_recvmmsg again 2010-01-13 20:44:46 +01:00
kernel [S390] unwire sys_recvmmsg again 2010-01-13 20:44:46 +01:00
kvm KVM: S390: fix potential array overrun in intercept handling 2010-01-25 12:26:39 -02:00
lib [S390] Move __cpu_logical_map to smp.c 2010-01-13 20:44:45 +01:00
math-emu tree-wide: fix assorted typos all over the place 2009-12-04 15:39:55 +01:00
mm [S390] use helpers for rlimits 2010-01-13 20:44:45 +01:00
oprofile
defconfig [S390] Update default configuration. 2010-01-04 09:05:58 +01:00
Kconfig [S390] Improve address space mode selection. 2009-12-07 12:51:33 +01:00
Kconfig.debug generic debug pagealloc: build fix 2009-04-02 19:04:48 -07:00
Makefile [S390] hibernation: merge files and move to kernel/ 2009-09-11 10:29:45 +02:00