aboutsummaryrefslogtreecommitdiffstats
path: root/arch/s390/kernel/machine_kexec_reloc.c
diff options
context:
space:
mode:
authorJohan Hovold <johan@kernel.org>2019-10-10 15:13:33 +0200
committerVasily Gorbik <gor@linux.ibm.com>2019-10-22 17:55:51 +0200
commit388bb19be8eab4674a660e0c97eaf60775362bc7 (patch)
tree0981cf6223bc6919945797fb5e1da8a4f6de73e9 /arch/s390/kernel/machine_kexec_reloc.c
parentLinux 5.4-rc4 (diff)
downloadlinux-dev-388bb19be8eab4674a660e0c97eaf60775362bc7.tar.xz
linux-dev-388bb19be8eab4674a660e0c97eaf60775362bc7.zip
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: 00fab2350e6b ("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>
Diffstat (limited to 'arch/s390/kernel/machine_kexec_reloc.c')
0 files changed, 0 insertions, 0 deletions