[GIT PULL] ksmbd server fixes
From: Steve French
Date: Thu Apr 03 2025 - 19:13:31 EST
Please pull the following changes since commit
f64a72bc767f6e9ddb18fdacaeb99708c4810ada:
Merge tag 'v6.15rc-part1-ksmbd-server-fixes' of
git://git.samba.org/ksmbd (2025-03-31 17:42:26 -0700)
are available in the Git repository at:
git://git.samba.org/ksmbd.git tags/v6.15rc-part2-ksmbd-server-fixes
for you to fetch changes up to c8b5b7c5da7d0c31c9b7190b4a7bba5281fc4780:
ksmbd: fix null pointer dereference in alloc_preauth_hash()
(2025-04-01 23:02:20 -0500)
----------------------------------------------------------------
4 ksmbd SMB3 server fixes, all also for stable
- FIx two ACL bounds check issues
- Fix two important session setup issues: one for malformed negprot
and one for race with session destroy
----------------------------------------------------------------
Namjae Jeon (2):
ksmbd: fix session use-after-free in multichannel connection
ksmbd: fix null pointer dereference in alloc_preauth_hash()
Norbert Szetei (2):
ksmbd: fix overflow in dacloffset bounds check
ksmbd: validate zero num_subauth before sub_auth is accessed
fs/smb/server/auth.c | 4 ++--
fs/smb/server/connection.h | 11 +++++++++++
fs/smb/server/mgmt/user_session.c | 18 ++++++++++--------
fs/smb/server/smb2pdu.c | 21 +++++++++++++++------
fs/smb/server/smbacl.c | 21 +++++++++++++++++----
5 files changed, 55 insertions(+), 20 deletions(-)
--
Thanks,
Steve