linux/fs/smb
Namjae Jeon 0a77d947f5 ksmbd: check outstanding simultaneous SMB operations
If Client send simultaneous SMB operations to ksmbd, It exhausts too much
memory through the "ksmbd_work_cache”. It will cause OOM issue.
ksmbd has a credit mechanism but it can't handle this problem. This patch
add the check if it exceeds max credits to prevent this problem by assuming
that one smb request consumes at least one credit.

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:38 +09:00
..
client cifs: fix warning when destroy 'cifs_io_request_pool' 2024-10-23 07:42:44 -05:00
common smb: Update comments about some reparse point tags 2024-09-29 17:28:40 -05:00
server ksmbd: check outstanding simultaneous SMB operations 2024-11-05 09:26:38 +09:00
Kconfig
Makefile