WSL2-Linux-Kernel/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
char
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
virtio
Makefile