diff options
author | Jan Glauber <jang@linux.vnet.ibm.com> | 2011-04-20 10:15:31 +0200 |
---|---|---|
committer | Martin Schwidefsky <sky@mschwide.boeblingen.de.ibm.com> | 2011-04-20 10:15:43 +0200 |
commit | c708c57e247775928b9a6bce7b4d8d14883bf39b (patch) | |
tree | fe47b86f80b931b3cb072a5c687d309cde1e9c7c /arch/s390/mm/pageattr.c | |
parent | [S390] dasd: fix race between open and offline (diff) | |
download | linux-c708c57e247775928b9a6bce7b4d8d14883bf39b.tar.xz linux-c708c57e247775928b9a6bce7b4d8d14883bf39b.zip |
[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>
Diffstat (limited to 'arch/s390/mm/pageattr.c')
0 files changed, 0 insertions, 0 deletions