summaryrefslogtreecommitdiff
path: root/fs/zonefs/sysfs.c
diff options
context:
space:
mode:
authorNamjae Jeon <linkinjeon@kernel.org>2023-01-24 18:13:20 +0300
committerSteve French <stfrench@microsoft.com>2023-01-26 03:22:54 +0300
commit62c487b53a7ff31e322cf2874d3796b8202c54a5 (patch)
tree67667fb01beaae35df28d02a7bdb06eece15179a /fs/zonefs/sysfs.c
parent5fde3c21cf33830eda7bfd006dc7f4bf07ec9fe6 (diff)
downloadlinux-62c487b53a7ff31e322cf2874d3796b8202c54a5.tar.xz
ksmbd: limit pdu length size according to connection status
Stream protocol length will never be larger than 16KB until session setup. After session setup, the size of requests will not be larger than 16KB + SMB2 MAX WRITE size. This patch limits these invalidly oversized requests and closes the connection immediately. Fixes: 0626e6641f6b ("cifsd: add server handler for central processing and tranport layers") Cc: stable@vger.kernel.org Reported-by: zdi-disclosures@trendmicro.com # ZDI-CAN-18259 Signed-off-by: Namjae Jeon <linkinjeon@kernel.org> Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to 'fs/zonefs/sysfs.c')
0 files changed, 0 insertions, 0 deletions