From: Heiko Carstens Date: Thu, 21 Nov 2013 15:22:17 +0000 (+0100) Subject: s390/uaccess: add missing page table walk range check X-Git-Tag: v3.13-rc2~2^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=71a86ef055f569b93bc6901f007bdf447dbf515f;p=pandora-kernel.git 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 Signed-off-by: Heiko Carstens Signed-off-by: Martin Schwidefsky --- Reading git-diff-tree failed