[GIT PULL] ksmbd server fixes

From: Steve French
Date: Sun May 21 2023 - 01:14:58 EST


Please pull the following changes since commit
f1fcbaa18b28dec10281551dfe6ed3a3ed80e3d6:

Linux 6.4-rc2 (2023-05-14 12:51:40 -0700)

are available in the Git repository at:

git://git.samba.org/ksmbd.git tags/6.4-rc2-ksmbd-server-fixes

for you to fetch changes up to e7b8b8ed9960bf699bf4029f482d9e869c094ed6:

ksmbd: smb2: Allow messages padded to 8byte boundary (2023-05-16
10:26:14 -0500)

----------------------------------------------------------------
Four ksmbd server fixes:
- two fixes for incorrect SMB3 message validation (one for client
which uses 8 byte padding, and one for empty bcc)
- two fixes for out of bounds bugs: one for username offset checks (in
session setup) and the other for create context name length checks (in
open requests)
----------------------------------------------------------------
Chih-Yen Chang (3):
ksmbd: fix global-out-of-bounds in smb2_find_context_vals
ksmbd: fix wrong UserName check in session_user
ksmbd: allocate one more byte for implied bcc[0]

Gustav Johansson (1):
ksmbd: smb2: Allow messages padded to 8byte boundary

fs/ksmbd/connection.c | 3 ++-
fs/ksmbd/oplock.c | 5 +++--
fs/ksmbd/oplock.h | 2 +-
fs/ksmbd/smb2misc.c | 5 ++++-
fs/ksmbd/smb2pdu.c | 19 +++++++++----------
5 files changed, 19 insertions(+), 15 deletions(-)

--
Thanks,

Steve