linux/fs/ksmbd/mgmt
Namjae Jeon 30210947a3 ksmbd: fix racy issue under cocurrent smb2 tree disconnect
There is UAF issue under cocurrent smb2 tree disconnect.
This patch introduce TREE_CONN_EXPIRE flags for tcon to avoid cocurrent
access.

Cc: stable@vger.kernel.org
Reported-by: zdi-disclosures@trendmicro.com # ZDI-CAN-20592
Signed-off-by: Namjae Jeon <linkinjeon@kernel.org>
Signed-off-by: Steve French <stfrench@microsoft.com>
2023-05-03 23:03:02 -05:00
..
ksmbd_ida.c
ksmbd_ida.h
share_config.c ksmbd: validate share name from share config response 2022-10-05 01:15:44 -05:00
share_config.h ksmbd: validate share name from share config response 2022-10-05 01:15:44 -05:00
tree_connect.c ksmbd: fix racy issue under cocurrent smb2 tree disconnect 2023-05-03 23:03:02 -05:00
tree_connect.h ksmbd: fix racy issue under cocurrent smb2 tree disconnect 2023-05-03 23:03:02 -05:00
user_config.c ksmbd: set RSS capable in FSCTL_QUERY_NETWORK_INTERFACE_INFO 2021-12-28 22:47:22 -06:00
user_config.h ksmbd: set RSS capable in FSCTL_QUERY_NETWORK_INTERFACE_INFO 2021-12-28 22:47:22 -06:00
user_session.c ksmbd: fix racy issue from smb2 close and logoff with multichannel 2023-05-03 23:03:02 -05:00
user_session.h ksmbd: destroy expired sessions 2023-05-03 23:03:01 -05:00