diff options
author | Paulo Alcantara <pc@manguebit.com> | 2023-04-21 15:52:32 -0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2023-05-11 23:17:38 +0900 |
commit | 0b08c4c499200be67d54c439d56e5ea866869945 (patch) | |
tree | 9bebbc412ee5f70e70fdd5218b739f8644e22e80 /lib/debugobjects.c | |
parent | 3a0a9211d7d0138d55aecd209b05e6d4a9eec383 (diff) |
cifs: fix potential use-after-free bugs in TCP_Server_Info::hostname
commit 90c49fce1c43e1cc152695e20363ff5087897c09 upstream.
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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'lib/debugobjects.c')
0 files changed, 0 insertions, 0 deletions