summaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
authorGerald Schaefer <gerald.schaefer@de.ibm.com>2016-11-21 14:13:58 +0300
committerMartin Schwidefsky <schwidefsky@de.ibm.com>2016-12-12 11:01:25 +0300
commit5457e03de918f7a3e294eb9d26a608ab8a579976 (patch)
treed7247c21f61f9db96e02b57a8ed9d902b730b03c /security
parent9e6e7c74315095fd40f41003850690c711e44420 (diff)
downloadlinux-5457e03de918f7a3e294eb9d26a608ab8a579976.tar.xz
s390/vmlogrdr: fix IUCV buffer allocation
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>
Diffstat (limited to 'security')
0 files changed, 0 insertions, 0 deletions