[GIT PULL] ksmbd server fixes

From: Steve French
Date: Wed Jan 17 2024 - 19:40:07 EST


Please pull the following changes since commit
6a31658aa1c0b757df652f6fcf3a001f90fda302:

Merge tag '6.8-rc-smb-server-fixes' of git://git.samba.org/ksmbd
(2024-01-11 20:27:41 -0800)

are available in the Git repository at:

git://git.samba.org/ksmbd.git tags/6.8-rc-smb-server-fixes-part2

for you to fetch changes up to 77bebd186442a7d703b796784db7495129cc3e70:

ksmbd: only v2 leases handle the directory (2024-01-14 22:14:56 -0600)

----------------------------------------------------------------
Four ksmbd server fixes
- Fix for incorrect oplock break on directories when leases disabled
- UAF fix for race between create and destroy of tcp connection
- Important session setup SPNEGO fix
- Update ksmbd feature status summary

----------------------------------------------------------------
Namjae Jeon (4):
ksmbd: update feature status in documentation
ksmbd: validate mech token in session setup
ksmbd: fix UAF issue in ksmbd_tcp_new_connection()
ksmbd: only v2 leases handle the directory

Documentation/filesystems/smb/ksmbd.rst | 9 ++++++---
fs/smb/server/asn1.c | 5 +++++
fs/smb/server/connection.c | 6 ------
fs/smb/server/connection.h | 2 +-
fs/smb/server/oplock.c | 6 ++++++
fs/smb/server/smb2pdu.c | 22 +++++++++++++++++-----
fs/smb/server/transport_rdma.c | 11 ++++++-----
fs/smb/server/transport_tcp.c | 13 +++++++------
8 files changed, 48 insertions(+), 26 deletions(-)

--
Thanks,

Steve