linux_dsm_epyc7002/arch/s390
Martin Schwidefsky bcf4dd5f9e s390: fix test_fp_ctl inline assembly contraints
The test_fp_ctl function is used to test if a given value is a valid
floating-point control. The inline assembly in test_fp_ctl uses an
incorrect constraint for the 'orig_fpc' variable. If the compiler
chooses the same register for 'fpc' and 'orig_fpc' the test_fp_ctl()
function always returns true. This allows user space to trigger
kernel oopses with invalid floating-point control values on the
signal stack.

This problem has been introduced with git commit 4725c86055
"s390: fix save and restore of the floating-point-control register"

Cc: stable@vger.kernel.org # v3.13+
Reviewed-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
2016-06-28 09:24:28 +02:00
..
appldata
boot
configs s390/config: update default configuration 2016-05-23 09:11:37 +02:00
crypto
hypfs
include s390: fix test_fp_ctl inline assembly contraints 2016-06-28 09:24:28 +02:00
kernel Revert "s390/kdump: Clear subchannel ID to signal non-CCW/SCSI IPL" 2016-06-28 09:24:27 +02:00
kvm KVM: s390: Add stats for PEI events 2016-06-10 10:24:24 +02:00
lib
mm s390: get rid of superfluous __GFP_REPEAT 2016-06-24 17:23:52 -07:00
net s390/bpf: fix recache skb->data/hlen for skb_vlan_push/pop 2016-05-19 09:14:27 +02:00
numa
oprofile
pci
tools
defconfig s390/config: update default configuration 2016-05-23 09:11:37 +02:00
Kbuild
Kconfig lib/GCD.c: use binary GCD algorithm instead of Euclidean 2016-05-20 17:58:30 -07:00
Kconfig.debug
Makefile