summaryrefslogtreecommitdiffstats
path: root/drivers/spi
diff options
context:
space:
mode:
authorMartin Schwidefsky <schwidefsky@de.ibm.com>2014-02-03 17:37:15 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-02-22 12:41:26 -0800
commitedb11a9bbf10f5056a36a39067ab04cf34447e1d (patch)
tree1bad527d755e6485b53e3623938446d104596dc2 /drivers/spi
parent312cdf57ee8b7ef9ae1967e243a770dc5557af05 (diff)
downloadlinux-stable-edb11a9bbf10f5056a36a39067ab04cf34447e1d.tar.gz
linux-stable-edb11a9bbf10f5056a36a39067ab04cf34447e1d.tar.bz2
linux-stable-edb11a9bbf10f5056a36a39067ab04cf34447e1d.zip
s390: fix kernel crash due to linkage stack instructions
commit 8d7f6690cedb83456edd41c9bd583783f0703bf0 upstream. The kernel currently crashes with a low-address-protection exception if a user space process executes an instruction that tries to use the linkage stack. Set the base-ASTE origin and the subspace-ASTE origin of the dispatchable-unit-control-table to point to a dummy ASTE. Set up control register 15 to point to an empty linkage stack with no room left. A user space process with a linkage stack instruction will still crash but with a different exception which is correctly translated to a segmentation fault instead of a kernel oops. Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/spi')
0 files changed, 0 insertions, 0 deletions