kernel-ark/arch/s390/lib
Heiko Carstens 71a86ef055 s390/uaccess: add missing page table walk range check
When translating a user space address, the address must be checked against
the ASCE limit of the process. If the address is larger than the maximum
address that is reachable with the ASCE, an ASCE type exception must be
generated.

The current code simply ignored the higher order bits. This resulted in an
address wrap around in user space instead of an exception in user space.

Cc: stable@vger.kernel.org # v3.9+
Reviewed-by: Gerald Schaefer <gerald.schaefer@de.ibm.com>
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
2013-11-25 09:15:38 +01:00
..
delay.c s390/time: correct use of store clock fast 2013-10-22 09:16:40 +02:00
div64.c
find.c s390/bitops: rename find_first_bit_left() to find_first_bit_inv() 2013-10-24 17:16:56 +02:00
Makefile s390/uaccess: always run the kernel in home space 2013-10-24 17:16:57 +02:00
mem32.S
mem64.S
qrnnd.S
spinlock.c
string.c
uaccess_mvcos.c s390/uaccess: always run the kernel in home space 2013-10-24 17:16:57 +02:00
uaccess_pt.c s390/uaccess: add missing page table walk range check 2013-11-25 09:15:38 +01:00
uaccess.h
ucmpdi2.c