diff options
author | Namjae Jeon <linkinjeon@kernel.org> | 2023-05-03 02:42:21 +0300 |
---|---|---|
committer | Steve French <stfrench@microsoft.com> | 2023-05-04 07:03:01 +0300 |
commit | ea174a91893956450510945a0c5d1a10b5323656 (patch) | |
tree | ad6c0cf2673430e70277868a0ec072c5849bd191 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | f5c779b7ddbda30866cf2a27c63e34158f858c73 (diff) | |
download | linux-ea174a91893956450510945a0c5d1a10b5323656.tar.xz |
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: stable@vger.kernel.org
Reported-by: zdi-disclosures@trendmicro.com # ZDI-CAN-20478
Signed-off-by: Namjae Jeon <linkinjeon@kernel.org>
Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions