diff options
author | Paulo Alcantara <pc@manguebit.com> | 2023-04-21 21:52:32 +0300 |
---|---|---|
committer | Steve French <stfrench@microsoft.com> | 2023-05-02 17:41:09 +0300 |
commit | 90c49fce1c43e1cc152695e20363ff5087897c09 (patch) | |
tree | cdb9f89842318870f9bbe9fed18bdb02d6af5489 /fs/cifs/dfs.c | |
parent | 1810769e3a51375ca35d7a5e5f79542858ca495a (diff) | |
download | linux-90c49fce1c43e1cc152695e20363ff5087897c09.tar.xz |
cifs: fix potential use-after-free bugs in TCP_Server_Info::hostname
TCP_Server_Info::hostname may be updated once or many times during
reconnect, so protect its access outside reconnect path as well and
then prevent any potential use-after-free bugs.
Cc: stable@vger.kernel.org
Signed-off-by: Paulo Alcantara (SUSE) <pc@manguebit.com>
Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to 'fs/cifs/dfs.c')
0 files changed, 0 insertions, 0 deletions