aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-mod.c
diff options
context:
space:
mode:
authorNamjae Jeon <[email protected]>2023-05-03 16:45:00 +0900
committerSteve French <[email protected]>2023-05-03 23:03:01 -0500
commitf5c779b7ddbda30866cf2a27c63e34158f858c73 (patch)
treed306574cebf6e016eb339ec2bf44515f7eaac7cb /lib/mpi/mpi-mod.c
parent3ac00a2ab69b34189942afa9e862d5170cdcb018 (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: [email protected] Reported-by: [email protected] # ZDI-CAN-20481, ZDI-CAN-20590, ZDI-CAN-20596 Signed-off-by: Namjae Jeon <[email protected]> Signed-off-by: Steve French <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-mod.c')
0 files changed, 0 insertions, 0 deletions