diff options
| author | Paulo Alcantara <[email protected]> | 2023-04-25 05:42:56 +0000 |
|---|---|---|
| committer | Steve French <[email protected]> | 2023-05-04 04:29:05 +0000 |
| commit | ee20d7c6100752eaf2409d783f4f1449c29ea33d (patch) | |
| tree | 07cce2dd6a63495b59f17b520a8d0ed490c5e169 /tools/perf/scripts/python/netdev-times.py | |
| parent | cifs: fix potential use-after-free bugs in TCP_Server_Info::hostname (diff) | |
| download | kernel-ee20d7c6100752eaf2409d783f4f1449c29ea33d.tar.gz kernel-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: [email protected] # v6.2+
Signed-off-by: Paulo Alcantara (SUSE) <[email protected]>
Signed-off-by: Steve French <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions
