On Mon, 7 Sep 2020 08:47:00 -0400 Janosch Frank <frankja@xxxxxxxxxxxxx> wrote: > Program exception 3f (secure storage violation) can only be detected > when the CPU is running in SIE with a format 4 state description, > e.g. running a protected guest. Because of this and because user > space partly controls the guest memory mapping and can trigger this > exception, we want to send a SIGSEGV to the process running the guest > and not panic the kernel. > > Signed-off-by: Janosch Frank <frankja@xxxxxxxxxxxxx> > CC: <stable@xxxxxxxxxxxxxxx> # 5.7+ > Fixes: 084ea4d611a3 ("s390/mm: add (non)secure page access exceptions handlers") > Reviewed-by: Claudio Imbrenda <imbrenda@xxxxxxxxxxxxx> > Acked-by: Christian Borntraeger <borntraeger@xxxxxxxxxx> > --- > arch/s390/kernel/pgm_check.S | 2 +- > arch/s390/mm/fault.c | 20 ++++++++++++++++++++ > 2 files changed, 21 insertions(+), 1 deletion(-) Reviewed-by: Cornelia Huck <cohuck@xxxxxxxxxx>