linux-stable/arch/s390
Janis Schoetterl-Glausch 14f880ea77 KVM: s390: Return error on SIDA memop on normal guest
commit 2c212e1bae upstream.

Refuse SIDA memops on guests which are not protected.
For normal guests, the secure instruction data address designation,
which determines the location we access, is not under control of KVM.

Fixes: 19e1227768 (KVM: S390: protvirt: Introduce instruction data area bounce buffer)
Signed-off-by: Janis Schoetterl-Glausch <scgl@linux.ibm.com>
Cc: stable@vger.kernel.org
Signed-off-by: Christian Borntraeger <borntraeger@linux.ibm.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2022-02-11 09:10:26 +01:00
..
appldata
boot s390/boot: simplify and fix kernel memory layout setup 2021-11-25 09:48:45 +01:00
configs s390: update defconfigs 2021-09-15 14:29:21 +02:00
crypto s390/archrandom: add parameter check for s390_arch_random_generate 2021-04-21 12:32:12 +02:00
hypfs s390/hypfs: include z/VM guests with access control group set 2022-02-01 17:26:59 +01:00
include s390/pci: move pseudo-MMIO to prevent MIO overlap 2021-12-08 09:04:42 +01:00
kernel s390/nmi: handle vector validity failures for KVM guests 2022-02-01 17:26:59 +01:00
kvm KVM: s390: Return error on SIDA memop on normal guest 2022-02-11 09:10:26 +01:00
lib s390/test_unwind: use raw opcode instead of invalid instruction 2021-12-17 10:30:14 +01:00
mm s390/mm: fix 2KB pgtable release race 2022-01-27 11:05:10 +01:00
net bpf, s390: Fix potential memory leak about jit_data 2021-10-04 09:49:10 +02:00
pci s390/pci: fix zpci_zdev_put() on reserve 2021-10-04 09:49:10 +02:00
purgatory s390: enable KCSAN 2021-07-30 17:09:23 +02:00
tools s390/disassembler: add instructions 2021-07-27 09:39:19 +02:00
Kbuild s390/numa: move code to arch/s390/kernel 2020-08-11 18:16:55 +02:00
Kconfig s390/boot: simplify and fix kernel memory layout setup 2021-11-25 09:48:45 +01:00
Kconfig.debug tracing: Refactor TRACE_IRQFLAGS_SUPPORT in Kconfig 2021-08-16 11:37:21 -04:00
Makefile s390/vdso: filter out -mstack-guard and -mstack-size 2021-11-25 09:48:45 +01:00