diff options
author | Paulo Alcantara <pc@cjr.nz> | 2022-12-29 18:33:56 +0300 |
---|---|---|
committer | Steve French <stfrench@microsoft.com> | 2023-01-04 09:11:17 +0300 |
commit | 775e44d6d86dca400d614cbda5dab4def4951fe7 (patch) | |
tree | 64db3c9c8fb08014aaf74c1e253037df635f2dfe /certs/default_x509.genkey | |
parent | 9e6002c8738a9d5675ba706fcdbc0a544f814974 (diff) | |
download | linux-775e44d6d86dca400d614cbda5dab4def4951fe7.tar.xz |
cifs: fix race in assemble_neg_contexts()
Serialise access of TCP_Server_Info::hostname in
assemble_neg_contexts() by holding the server's mutex otherwise it
might end up accessing an already-freed hostname pointer from
cifs_reconnect() or cifs_resolve_server().
Signed-off-by: Paulo Alcantara (SUSE) <pc@cjr.nz>
Reviewed-by: Enzo Matsumiya <ematsumiya@suse.de>
Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to 'certs/default_x509.genkey')
0 files changed, 0 insertions, 0 deletions