[GIT PULL] ksmbd server fixes

From: Steve French
Date: Sat Jun 10 2023 - 21:59:38 EST


Please pull the following changes since commit
8828003759391029fc45c15ac346622cdae19b6d:

Merge tag '6.4-rc4-smb3-server-fixes' of git://git.samba.org/ksmbd
(2023-06-01 08:27:34 -0400)

are available in the Git repository at:

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

for you to fetch changes up to 1c1bcf2d3ea061613119b534f57507c377df20f9:

ksmbd: validate smb request protocol id (2023-06-02 12:30:57 -0500)

----------------------------------------------------------------
Five smb3 server fixes, all also for stable
- Fix four slab out of bounds warnings: improve checks for protocol id,
and for small packet length, and for create context parsing,
and for negotiate context parsing
- Fix for incorrect dereferencing POSIX ACLs
----------------------------------------------------------------
Namjae Jeon (5):
ksmbd: fix out-of-bound read in deassemble_neg_contexts()
ksmbd: fix out-of-bound read in parse_lease_state()
ksmbd: fix posix_acls and acls dereferencing possible ERR_PTR()
ksmbd: check the validation of pdu_size in ksmbd_conn_handler_loop
ksmbd: validate smb request protocol id

fs/smb/server/connection.c | 17 +++++++++++++++--
fs/smb/server/oplock.c | 66
++++++++++++++++++++++++------------------------------------------
fs/smb/server/smb2pdu.c | 13 ++++++-------
fs/smb/server/smb_common.c | 14 +++++++++++++-
fs/smb/server/smbacl.c | 4 ++--
fs/smb/server/vfs.c | 4 ++--
6 files changed, 62 insertions(+), 56 deletions(-)

--
Thanks,

Steve