summaryrefslogtreecommitdiffstats
path: root/fs/eventfd.c
diff options
context:
space:
mode:
authorPaulo Alcantara <pc@cjr.nz>2022-12-29 12:33:56 -0300
committerSteve French <stfrench@microsoft.com>2023-01-04 00:11:17 -0600
commit775e44d6d86dca400d614cbda5dab4def4951fe7 (patch)
tree64db3c9c8fb08014aaf74c1e253037df635f2dfe /fs/eventfd.c
parent9e6002c8738a9d5675ba706fcdbc0a544f814974 (diff)
downloadlinux-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/eventfd.c')
0 files changed, 0 insertions, 0 deletions