[GIT PULL] ksmbd fixes

From: Steve French
Date: Thu Dec 23 2021 - 19:46:20 EST


Please pull the following changes since commit
2585cf9dfaaddf00b069673f27bb3f8530e2039c:

Linux 5.16-rc5 (2021-12-12 14:53:01 -0800)

are available in the Git repository at:

git://git.samba.org/ksmbd.git tags/5.16-rc5-ksmbd-fixes

for you to fetch changes up to 83912d6d55be10d65b5268d1871168b9ebe1ec4b:

ksmbd: disable SMB2_GLOBAL_CAP_ENCRYPTION for SMB 3.1.1 (2021-12-17
19:19:45 -0600)

----------------------------------------------------------------
Three ksmbd fixes, all for stable.
- Two fix potential uninitialized memory
- One fixes a security problem where encryption ends up
unintentionally disabled from some clients

Regression test results:
http://smb3-test-rhel-75.southcentralus.cloudapp.azure.com/#/builders/8/builds/97
----------------------------------------------------------------
Dan Carpenter (1):
ksmbd: fix error code in ndr_read_int32()

Marcos Del Sol Vives (1):
ksmbd: disable SMB2_GLOBAL_CAP_ENCRYPTION for SMB 3.1.1

Namjae Jeon (1):
ksmbd: fix uninitialized symbol 'pntsd_size'

fs/ksmbd/ndr.c | 2 +-
fs/ksmbd/smb2ops.c | 3 ---
fs/ksmbd/smb2pdu.c | 29 +++++++++++++++++++++++++----
3 files changed, 26 insertions(+), 8 deletions(-)

--
Thanks,

Steve