Files
linux/arch/s390/kernel
Martin Schwidefsky edb11a9bbf s390: fix kernel crash due to linkage stack instructions
commit 8d7f6690ce 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>
2014-02-22 12:41:26 -08:00
..
2012-05-16 14:42:41 +02:00
2013-03-03 23:00:27 -05:00
2013-03-03 23:00:27 -05:00
2011-01-05 12:47:31 +01:00
2013-05-15 13:09:09 +02:00
2012-11-23 11:14:31 +01:00
2013-05-15 13:09:09 +02:00
2013-05-15 13:09:09 +02:00
2013-02-28 09:37:13 +01:00
2013-04-08 17:39:27 +02:00
2012-09-26 15:45:21 +02:00
2013-06-05 17:36:21 +02:00
2013-01-08 10:57:10 +01:00
2013-04-17 14:07:28 +02:00