kernel-ark/arch/s390
Jan Glauber c708c57e24 [S390] prng: prevent access beyond end of stack
While initializing the state of the prng only the first 8 bytes of
random data where used, the second 8 bytes were read from the memory
after the stack. If only 64 bytes of the kernel stack are used and
CONFIG_DEBUG_PAGEALLOC is enabled a kernel panic may occur because of
the invalid page access. Use the correct multiplicator to stay within
the random data buffer.

Signed-off-by: Jan Glauber <jang@linux.vnet.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
2011-04-20 10:15:43 +02:00
..
appldata
boot Merge branch 'trivial' of git://git.kernel.org/pub/scm/linux/kernel/git/mmarek/kbuild-2.6 2011-03-20 18:14:55 -07:00
crypto [S390] prng: prevent access beyond end of stack 2011-04-20 10:15:43 +02:00
hypfs [S390] hypfs: Move buffer allocation from open to read 2011-01-05 12:47:27 +01:00
include/asm Fix common misspellings 2011-03-31 11:26:23 -03:00
kernel Merge branch 'for-linus' of git://git390.marist.edu/pub/scm/linux-2.6 2011-04-08 07:36:14 -07:00
kvm Fix common misspellings 2011-03-31 11:26:23 -03:00
lib futex: Sanitize futex ops argument types 2011-03-11 12:23:31 +01:00
math-emu s390: change to new flag variable 2011-03-17 14:02:57 +01:00
mm Fix common misspellings 2011-03-31 11:26:23 -03:00
oprofile [S390] oprofile s390: prevent stack corruption 2011-04-04 09:43:32 +02:00
defconfig [S390] Update default configuration 2011-01-12 09:55:24 +01:00
Kbuild [S390] standardize Kbuild rules 2010-10-25 16:10:14 +02:00
Kconfig oprofile, s390: Cleanups 2011-03-16 14:30:40 +01:00
Kconfig.debug [S390] Write protect module text and RO data 2011-03-15 17:08:23 +01:00
Makefile [S390] remove redundant stack check option 2011-03-15 17:08:22 +01:00