2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-25 21:54:06 +08:00
linux-next/drivers/s390
Johan Hovold 388bb19be8 s390/zcrypt: fix memleak at release
If a process is interrupted while accessing the crypto device and the
global ap_perms_mutex is contented, release() could return early and
fail to free related resources.

Fixes: 00fab2350e ("s390/zcrypt: multiple zcrypt device nodes support")
Cc: <stable@vger.kernel.org> # 4.19
Cc: Harald Freudenberger <freude@linux.ibm.com>
Signed-off-by: Johan Hovold <johan@kernel.org>
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
2019-10-22 17:55:51 +02:00
..
block Revert "s390/dasd: Add discard support for ESE volumes" 2019-10-01 09:53:36 -06:00
char s390 updates for the 5.4 merge window 2019-09-17 14:04:43 -07:00
cio s390/cio: fix virtio-ccw DMA without PV 2019-10-10 10:49:46 +02:00
crypto s390/zcrypt: fix memleak at release 2019-10-22 17:55:51 +02:00
net s390/qeth: Fix initialization of vnicc cmd masks during set online 2019-10-09 17:55:24 -07:00
scsi scsi: zfcp: fix reaction on bit error threshold notification 2019-10-03 21:45:53 -04:00
virtio virtio/s390: fix race on airq_areas[] 2019-07-26 13:36:18 +02:00
Makefile s390: remove pointless drivers-y in drivers/s390/Makefile 2019-09-16 13:21:51 +02:00