diff options
author | Namjae Jeon <[email protected]> | 2023-05-03 08:42:21 +0900 |
---|---|---|
committer | Steve French <[email protected]> | 2023-05-03 23:03:01 -0500 |
commit | ea174a91893956450510945a0c5d1a10b5323656 (patch) | |
tree | ad6c0cf2673430e70277868a0ec072c5849bd191 /lib/mpi/mpi-mod.c | |
parent | f5c779b7ddbda30866cf2a27c63e34158f858c73 (diff) |
ksmbd: destroy expired sessions
client can indefinitely send smb2 session setup requests with
the SessionId set to 0, thus indefinitely spawning new sessions,
and causing indefinite memory usage. This patch limit to the number
of sessions using expired timeout and session state.
Cc: [email protected]
Reported-by: [email protected] # ZDI-CAN-20478
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