[GIT PULL] ksmbd server fixes

From: Steve French
Date: Fri Mar 24 2023 - 20:01:06 EST


Please pull the following changes since commit
e8d018dd0257f744ca50a729e3d042cf2ec9da65:

Linux 6.3-rc3 (2023-03-19 13:27:55 -0700)

are available in the Git repository at:

git://git.samba.org/ksmbd.git tags/6.3-rc3-ksmbd-smb3-server-fixes

for you to fetch changes up to 39b291b86b5988bf8753c3874d5c773399d09b96:

ksmbd: return unsupported error on smb1 mount (2023-03-24 00:23:13 -0500)

----------------------------------------------------------------
eight smb3 server fixes (also for stable)
- two fixes to return less confusing messages on unsupported dialects
(STATUS_NOT_SUPPORTED instead of I/O error)
- fix for overly frequent inactive session termination
- fix refcount leak
- fix two bounds check problems found by static checkers
- fix to advertise named stream support correctly
- Fix AES256 signing bug when connected to from MacOS

(Also FYI I have a slightly larger cifs P/R coming in the next day or
so with various client fixes)
----------------------------------------------------------------
ChenXiaoSong (1):
ksmbd: fix possible refcount leak in smb2_open()

Namjae Jeon (7):
ksmbd: fix wrong signingkey creation when encryption is AES256
ksmbd: set FILE_NAMED_STREAMS attribute in FS_ATTRIBUTE_INFORMATION
ksmbd: add low bound validation to FSCTL_SET_ZERO_DATA
ksmbd: add low bound validation to FSCTL_QUERY_ALLOCATED_RANGES
ksmbd: don't terminate inactive sessions after a few seconds
ksmbd: return STATUS_NOT_SUPPORTED on unsupported smb2.0 dialect
ksmbd: return unsupported error on smb1 mount

fs/ksmbd/auth.c | 5 +++--
fs/ksmbd/connection.c | 11 ++++-------
fs/ksmbd/connection.h | 3 ++-
fs/ksmbd/smb2pdu.c | 20 +++++++++++++++-----
fs/ksmbd/smb_common.c | 27 ++++++++++++++++++++++-----
fs/ksmbd/smb_common.h | 30 ++++++++----------------------
fs/ksmbd/transport_rdma.c | 2 +-
fs/ksmbd/transport_tcp.c | 35 +++++++++++++++++++++++------------
8 files changed, 78 insertions(+), 55 deletions(-)

--
Thanks,

Steve