diff options
author | 2023-04-25 02:42:56 -0300 | |
---|---|---|
committer | 2023-05-03 23:29:05 -0500 | |
commit | ee20d7c6100752eaf2409d783f4f1449c29ea33d (patch) | |
tree | 07cce2dd6a63495b59f17b520a8d0ed490c5e169 /scripts/generate_rust_analyzer.py | |
parent | cifs: fix potential use-after-free bugs in TCP_Server_Info::hostname (diff) | |
download | wireguard-linux-ee20d7c6100752eaf2409d783f4f1449c29ea33d.tar.xz wireguard-linux-ee20d7c6100752eaf2409d783f4f1449c29ea33d.zip |
cifs: fix potential race when tree connecting ipc
Protect access of TCP_Server_Info::hostname when building the ipc tree
name as it might get freed in cifsd thread and thus causing an
use-after-free bug in __tree_connect_dfs_target(). Also, while at it,
update status of IPC tcon on success and then avoid any extra tree
connects.
Cc: stable@vger.kernel.org # v6.2+
Signed-off-by: Paulo Alcantara (SUSE) <pc@manguebit.com>
Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions