diff options
author | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2014-02-03 17:37:15 +0100 |
---|---|---|
committer | Ben Hutchings <ben@decadent.org.uk> | 2014-04-09 02:20:46 +0100 |
commit | 1664028240024d96721a5328c93ff206661cd9e1 (patch) | |
tree | 1706582342592e3c724e315fbd5da7068cb2afb8 /include | |
parent | b1a292f3ccbbfe864cb4931e8fed4baea6b17eb8 (diff) |
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: Ben Hutchings <ben@decadent.org.uk>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions