diff options
| author | Namjae Jeon <[email protected]> | 2024-11-02 09:46:38 +0000 |
|---|---|---|
| committer | Namjae Jeon <[email protected]> | 2024-11-05 00:26:35 +0000 |
| commit | 0a77715db22611df50b178374c51e2ba0d58866e (patch) | |
| tree | 93450bd1cadb314d9d1c3d4c237465f653e246fe /rust/helpers/helpers.c | |
| parent | ksmbd: Fix the missing xa_store error check (diff) | |
| download | kernel-0a77715db22611df50b178374c51e2ba0d58866e.tar.gz kernel-0a77715db22611df50b178374c51e2ba0d58866e.zip | |
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: [email protected] # v5.15+
Reported-by: Norbert Szetei <[email protected]>
Tested-by: Norbert Szetei <[email protected]>
Signed-off-by: Namjae Jeon <[email protected]>
Signed-off-by: Steve French <[email protected]>
Diffstat (limited to 'rust/helpers/helpers.c')
0 files changed, 0 insertions, 0 deletions
