diff options
| author | 2023-05-03 16:45:00 +0900 | |
|---|---|---|
| committer | 2023-05-03 23:03:01 -0500 | |
| commit | f5c779b7ddbda30866cf2a27c63e34158f858c73 (patch) | |
| tree | d306574cebf6e016eb339ec2bf44515f7eaac7cb /rust/kernel/ssh:/git@git.zx2c4.com/git: | |
| parent | ksmbd: fix NULL pointer dereference in smb2_get_info_filesystem() (diff) | |
ksmbd: fix racy issue from session setup and logoff
This racy issue is triggered by sending concurrent session setup and
logoff requests. This patch does not set connection status as
KSMBD_SESS_GOOD if state is KSMBD_SESS_NEED_RECONNECT in session setup.
And relookup session to validate if session is deleted in logoff.
Cc: stable@vger.kernel.org
Reported-by: zdi-disclosures@trendmicro.com # ZDI-CAN-20481, ZDI-CAN-20590, ZDI-CAN-20596
Signed-off-by: Namjae Jeon <linkinjeon@kernel.org>
Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to 'rust/kernel/ssh:/git@git.zx2c4.com/git:')
0 files changed, 0 insertions, 0 deletions
