summaryrefslogtreecommitdiff
path: root/fs/dcookies.c
diff options
context:
space:
mode:
authorHeiko Carstens <heiko.carstens@de.ibm.com>2013-11-21 19:22:17 +0400
committerMartin Schwidefsky <schwidefsky@de.ibm.com>2013-11-25 12:15:38 +0400
commit71a86ef055f569b93bc6901f007bdf447dbf515f (patch)
tree0d2af2ebb5e82bca6e1121c7777b3e0e8a12ef6d /fs/dcookies.c
parentdba6bb60043ed73abca8990f237db63a8cea6c50 (diff)
downloadlinux-71a86ef055f569b93bc6901f007bdf447dbf515f.tar.xz
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>
Diffstat (limited to 'fs/dcookies.c')
0 files changed, 0 insertions, 0 deletions