aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/sctop.py
diff options
context:
space:
mode:
authorNamjae Jeon <[email protected]>2023-05-02 23:42:21 +0000
committerSteve French <[email protected]>2023-05-04 04:03:01 +0000
commitea174a91893956450510945a0c5d1a10b5323656 (patch)
treead6c0cf2673430e70277868a0ec072c5849bd191 /tools/perf/scripts/python/sctop.py
parentksmbd: fix racy issue from session setup and logoff (diff)
downloadkernel-ea174a91893956450510945a0c5d1a10b5323656.tar.gz
kernel-ea174a91893956450510945a0c5d1a10b5323656.zip
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 'tools/perf/scripts/python/sctop.py')
0 files changed, 0 insertions, 0 deletions