linux/drivers/s390
Gerald Schaefer 53bbee3348 s390/vmlogrdr: fix IUCV buffer allocation
commit 5457e03de9 upstream.

The buffer for iucv_message_receive() needs to be below 2 GB. In
__iucv_message_receive(), the buffer address is casted to an u32, which
would result in either memory corruption or an addressing exception when
using addresses >= 2 GB.

Fix this by using GFP_DMA for the buffer allocation.

Signed-off-by: Gerald Schaefer <gerald.schaefer@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
History 2017-01-09 08:32:22 +01:00
..
block s390/dasd: avoid undefined behaviour 2016-10-17 11:25:25 +02:00
char s390/vmlogrdr: fix IUCV buffer allocation 2017-01-09 08:32:22 +01:00
cio s390/cio: don't register chpids in reserved state 2016-10-17 11:25:25 +02:00
crypto s390/zcrypt: fix possible memory leak in ap_module_init() 2016-07-31 06:10:41 -04:00
net s390/qeth: fix setting VIPA address 2016-09-16 04:29:14 -04:00
scsi scsi: zfcp: fix rport unblock race with LUN recovery 2017-01-09 08:32:21 +01:00
virtio virtio/s390: deprecate old transport 2016-08-09 13:42:41 +03:00
Makefile virtio/s390: rename drivers/s390/kvm -> drivers/s390/virtio 2015-07-07 14:27:06 +03:00