]> asedeno.scripts.mit.edu Git - linux.git/commit
s390/pci: fix possible information leak in mmio syscall
authorSebastian Ott <sebott@linux.vnet.ibm.com>
Wed, 25 Feb 2015 12:17:48 +0000 (13:17 +0100)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Thu, 26 Feb 2015 08:24:48 +0000 (09:24 +0100)
commitf0483044c1c96089256cda4cf182eea1ead77fe4
tree796dbcd919384e53c5bab81ccd14e6aed6b4a663
parent3a9f9183bdd341a25c7805d96bbd78a31d559381
s390/pci: fix possible information leak in mmio syscall

Make sure that even in error situations we do not use copy_to_user
on uninitialized kernel memory.

Cc: stable@vger.kernel.org # 3.19+
Signed-off-by: Sebastian Ott <sebott@linux.vnet.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
arch/s390/pci/pci_mmio.c