diff options
author | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2017-02-28 07:42:01 +0100 |
---|---|---|
committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2017-03-01 09:59:27 +0100 |
commit | d9fcf2a1cbd1ff65d0109b1b400938808007fcd5 (patch) | |
tree | b992cf1bb19fa3a863fe532119773a9be28e18d5 /COPYING | |
parent | s390/crypt: fix missing unlock in ctr_paes_crypt on error path (diff) | |
download | linux-d9fcf2a1cbd1ff65d0109b1b400938808007fcd5.tar.xz linux-d9fcf2a1cbd1ff65d0109b1b400938808007fcd5.zip |
s390: fix in-kernel program checks
A program check inside the kernel takes a slightly different path in
entry.S compare to a normal user fault. A recent change moved the store
of the breaking event address into the path taken for in-kernel program
checks as well, but %r14 has not been setup to point to the correct
location. A wild store is the consequence.
Move the store of the breaking event address to the code path for
user space faults.
Fixes: 34525e1f7e8d ("s390: store breaking event address only for program checks")
Reported-by: Michael Holzheu <holzheu@linux.vnet.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'COPYING')
0 files changed, 0 insertions, 0 deletions