kernel_optimize_test/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
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
numa
oprofile
pci
tools
defconfig
Kbuild
Kconfig
Kconfig.debug
Makefile