ksmbd: not allow guest user on multichannel
authorNamjae Jeon <linkinjeon@kernel.org>
Tue, 2 May 2023 23:45:08 +0000 (08:45 +0900)
committerSteve French <stfrench@microsoft.com>
Thu, 4 May 2023 04:03:02 +0000 (23:03 -0500)
commit3353ab2df5f68dab7da8d5ebb427a2d265a1f2b2
tree7bf0de375276bc7bb24dc0f2d9b29f121a443ba8
parent7b4323373d844954bb76e0e9f39c4e5fc785fa7b
ksmbd: not allow guest user on multichannel

This patch return STATUS_NOT_SUPPORTED if binding session is guest.

Cc: stable@vger.kernel.org
Reported-by: zdi-disclosures@trendmicro.com # ZDI-CAN-20480
Signed-off-by: Namjae Jeon <linkinjeon@kernel.org>
Signed-off-by: Steve French <stfrench@microsoft.com>
fs/ksmbd/smb2pdu.c