commit | 0ff2b018b02f89da26a616e0148582321a00fd99 | [log] [tgz] |
---|---|---|
author | Ronnie Sahlberg <lsahlber@redhat.com> | Wed Jun 05 10:15:34 2019 +1000 |
committer | Steve French <stfrench@microsoft.com> | Thu Jun 13 14:20:57 2019 -0500 |
tree | a7a1183c2a7bd64549df35becdb522e62b5f0d92 | |
parent | d1fdb6d8f6a4109a4263176c84b899076a5f8008 [diff] |
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>