diff options
author | Ronnie Sahlberg <lsahlber@redhat.com> | 2019-06-05 02:15:34 +0200 |
---|---|---|
committer | Steve French <stfrench@microsoft.com> | 2019-06-13 21:20:57 +0200 |
commit | 0ff2b018b02f89da26a616e0148582321a00fd99 (patch) | |
tree | a7a1183c2a7bd64549df35becdb522e62b5f0d92 /fs/cifs/cifsfs.c | |
parent | Linux 5.2-rc4 (diff) | |
download | linux-0ff2b018b02f89da26a616e0148582321a00fd99.tar.xz linux-0ff2b018b02f89da26a616e0148582321a00fd99.zip |
cifs: fix panic in smb2_reconnect
RH Bugzilla: 1702264
We need to protect so that the call to smb2_reconnect() in
smb2_reconnect_server() does not end up freeing the session
because it can lead to a use after free and crash.
Reviewed-by: Aurelien Aptel <aaptel@suse.com>
Cc: <stable@vger.kernel.org>
Signed-off-by: Ronnie Sahlberg <lsahlber@redhat.com>
Signed-off-by: Steve French <stfrench@microsoft.com>
Reviewed-by: Pavel Shilovsky <pshilov@microsoft.com>
Diffstat (limited to 'fs/cifs/cifsfs.c')
0 files changed, 0 insertions, 0 deletions