linux/drivers/s390
Gerald Schaefer 81aaf3cb08 s390/vmlogrdr: fix IUCV buffer allocation
[ Upstream commit 5457e03de9 ]

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.

Cc: stable@vger.kernel.org
Signed-off-by: Gerald Schaefer <gerald.schaefer@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Signed-off-by: Sasha Levin <alexander.levin@verizon.com>
History 2017-01-15 09:49:52 -05:00
..
block s390/dasd: fix hanging device after clear subchannel 2016-08-31 19:31:59 -04:00
char s390/vmlogrdr: fix IUCV buffer allocation 2017-01-15 09:49:52 -05:00
cio Merge branch 'for-3.18-consistent-ops' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/percpu 2014-10-15 07:48:18 +02:00
crypto crypto: prefix module autoloading with "crypto-" 2015-01-29 17:40:46 -08:00
kvm KVM: s390: virtio-ccw: don't overwrite config space values 2015-07-20 21:12:42 -04:00
net qeth: delete napi struct when removing a qeth device 2016-07-19 18:21:50 -04:00
scsi Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/s390/linux 2014-08-07 08:41:00 -07:00
Makefile [S390] split/move machine check handler code 2009-03-26 15:24:10 +01:00