diff options
author | Paulo Alcantara <pc@cjr.nz> | 2022-12-29 12:33:56 -0300 |
---|---|---|
committer | Steve French <stfrench@microsoft.com> | 2023-01-04 00:11:17 -0600 |
commit | 775e44d6d86dca400d614cbda5dab4def4951fe7 (patch) | |
tree | 64db3c9c8fb08014aaf74c1e253037df635f2dfe /fs/binfmt_elf_fdpic.c | |
parent | 9e6002c8738a9d5675ba706fcdbc0a544f814974 (diff) | |
download | linux-stable-775e44d6d86dca400d614cbda5dab4def4951fe7.tar.gz linux-stable-775e44d6d86dca400d614cbda5dab4def4951fe7.tar.bz2 linux-stable-775e44d6d86dca400d614cbda5dab4def4951fe7.zip |
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 'fs/binfmt_elf_fdpic.c')
0 files changed, 0 insertions, 0 deletions