[GIT PULL] ksmbd server fixes
From: Steve French
Date: Wed Mar 20 2024 - 13:07:30 EST
Please pull the following changes since commit
e8f897f4afef0031fe618a8e94127a0934896aba:
Linux 6.8 (2024-03-10 13:38:09 -0700)
are available in the Git repository at:
git://git.samba.org/ksmbd.git tags/v6.9-rc-smb3-server-fixes
for you to fetch changes up to def30e72d8abaf68da10682767e584519c234c4c:
ksmbd: remove module version (2024-03-18 21:21:38 -0500)
----------------------------------------------------------------
Nine ksmbd server changesets:
- Two patches that add support for durable file handles (an important
data integrity feature)
- Fixes for two potential out of bounds issues
- FIx possible null dereference in close
- Two getattr fixes
- Trivial typo fix and a minor cleanup fix
----------------------------------------------------------------
Colin Ian King (1):
ksmbd: Fix spelling mistake "connction" -> "connection"
Marios Makassikis (3):
ksmbd: replace generic_fillattr with vfs_getattr
ksmbd: retrieve number of blocks using vfs_getattr in
set_file_allocation_info
ksmbd: fix possible null-deref in smb_lazy_parent_lease_break_close
Namjae Jeon (5):
ksmbd: mark SMB2_SESSION_EXPIRED to session when destroying
previous session
ksmbd: add support for durable handles v1/v2
ksmbd: fix slab-out-of-bounds in smb_strndup_from_utf16()
ksmbd: fix potencial out-of-bounds when buffer offset is invalid
ksmbd: remove module version
fs/smb/server/glob.h | 2 -
fs/smb/server/ksmbd_netlink.h | 1 +
fs/smb/server/mgmt/user_session.c | 28 ++-
fs/smb/server/mgmt/user_session.h | 3 +
fs/smb/server/oplock.c | 96 +++++++--
fs/smb/server/oplock.h | 7 +-
fs/smb/server/server.c | 1 -
fs/smb/server/smb2misc.c | 26 ++-
fs/smb/server/smb2ops.c | 6 +
fs/smb/server/smb2pdu.c | 509
++++++++++++++++++++++++++++++++++++----------
fs/smb/server/smb2pdu.h | 15 ++
fs/smb/server/smb_common.c | 11 +-
fs/smb/server/vfs.c | 12 +-
fs/smb/server/vfs_cache.c | 137 ++++++++++++-
fs/smb/server/vfs_cache.h | 9 +
15 files changed, 716 insertions(+), 147 deletions(-)
--
Thanks,
Steve