linux/fs/smb/server/mgmt
Namjae Jeon 0a77715db2 ksmbd: fix slab-use-after-free in ksmbd_smb2_session_create
There is a race condition between ksmbd_smb2_session_create and
ksmbd_expire_session. This patch add missing sessions_table_lock
while adding/deleting session from global session table.

Cc: stable@vger.kernel.org # v5.15+
Reported-by: Norbert Szetei <norbert@doyensec.com>
Tested-by: Norbert Szetei <norbert@doyensec.com>
Signed-off-by: Namjae Jeon <linkinjeon@kernel.org>
Signed-off-by: Steve French <stfrench@microsoft.com>
2024-11-05 09:26:35 +09:00
..
ksmbd_ida.c ksmbd: Remove usage of the deprecated ida_simple_xx() API 2024-01-09 12:52:33 -06:00
ksmbd_ida.h
share_config.c ksmbd: override fsids for share path check 2024-08-08 22:54:09 -05:00
share_config.h ksmbd: override fsids for share path check 2024-08-08 22:54:09 -05:00
tree_connect.c ksmbd: override fsids for share path check 2024-08-08 22:54:09 -05:00
tree_connect.h ksmbd: override fsids for share path check 2024-08-08 22:54:09 -05:00
user_config.c ksmbd: add support for supplementary groups 2024-10-11 11:02:14 -05:00
user_config.h ksmbd: add support for supplementary groups 2024-10-11 11:02:14 -05:00
user_session.c ksmbd: fix slab-use-after-free in ksmbd_smb2_session_create 2024-11-05 09:26:35 +09:00
user_session.h ksmbd: fix user-after-free from session log off 2024-10-09 21:23:17 -05:00