summaryrefslogtreecommitdiff
path: root/arch/s390/kvm
diff options
context:
space:
mode:
authorHeiko Carstens <heiko.carstens@de.ibm.com>2013-11-21 15:22:17 (GMT)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-12-04 19:05:55 (GMT)
commit6ae0751e8bcef43bd68c3a68117f7a76895fe4db (patch)
tree16dacaff4ceee7da7918a947b19fe5e6d57966be /arch/s390/kvm
parent39cacefa893b2c4362bbb60ac3da4de1a442c007 (diff)
downloadlinux-fsl-qoriq-6ae0751e8bcef43bd68c3a68117f7a76895fe4db.tar.xz
s390/uaccess: add missing page table walk range check
commit 71a86ef055f569b93bc6901f007bdf447dbf515f upstream. 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. 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> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'arch/s390/kvm')
0 files changed, 0 insertions, 0 deletions