linux-stable/drivers/s390
Halil Pasic 79f6e9facb virtio/s390: avoid race on vcdev->config
commit 2448a299ec upstream.

Currently we have a race on vcdev->config in virtio_ccw_get_config() and
in virtio_ccw_set_config().

This normally does not cause problems, as these are usually infrequent
operations. However, for some devices writing to/reading from the config
space can be triggered through sysfs attributes. For these, userspace can
force the race by increasing the frequency.

Signed-off-by: Halil Pasic <pasic@linux.ibm.com>
Cc: stable@vger.kernel.org
Message-Id: <20180925121309.58524-2-pasic@linux.ibm.com>
Signed-off-by: Cornelia Huck <cohuck@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-12-13 09:16:18 +01:00
..
block libnvdimm-for-4.19_misc 2018-08-25 18:13:10 -07:00
char s390/hibernate: fix error handling when suspend cpu != resume cpu 2018-09-20 13:20:23 +02:00
cio s390/cio: Fix how vfio-ccw checks pinned pages 2018-10-02 09:45:05 +02:00
crypto s390/zcrypt: remove VLA usage from the AP bus 2018-09-12 11:33:37 +02:00
net s390/ism: clear dmbe_mask bit before SMC IRQ handling 2018-12-13 09:16:11 +01:00
scsi s390/dasd,zfcp: fix gcc 8 stringop-truncation warnings 2018-07-02 11:24:52 +02:00
virtio virtio/s390: avoid race on vcdev->config 2018-12-13 09:16:18 +01:00
Makefile kbuild: rename built-in.o to built-in.a 2018-03-26 02:01:19 +09:00