[GIT PULL] ksmbd server fixes

From: Steve French

Date: Tue Apr 14 2026 - 11:12:00 EST


Please pull the following changes since commit
028ef9c96e96197026887c0f092424679298aae8:

Linux 7.0 (2026-04-12 13:48:06 -0700)

are available in the Git repository at:

git://git.samba.org/ksmbd.git tags/v7.1-rc-part1-ksmbd-srv-fixes

for you to fetch changes up to 2de35d992ba1e4017ec21cde06a85ca7fca94810:

smb: smbdirect: add some logging to
SMBDIRECT_CHECK_STATUS_{WARN,DISCONNECT}() (2026-04-12 18:07:55 -0500)

----------------------------------------------------------------
Sixteen ksmbd server fixes
- two smbdirect double free fixes
- Add some smbdirect logging
- Minor cleanup in crypto, and smbdirect and in IPC handling
- Minor cleanup to move header info to common FSCC code
- Fix crypt message use after free
- Fix memory leak in session setup
- Fix for DACL parsing
- FIx EA name length validation
- Reconnect fix
- Fix use after free in close

I will send the larger set of smbdirect restructuring
and cleanup changesets later this week.
----------------------------------------------------------------
Eric Biggers (1):
ksmbd: Remove unnecessary selection of CRYPTO_ECB

Greg Kroah-Hartman (3):
ksmbd: validate EaNameLength in smb2_get_ea()
ksmbd: require 3 sub-authorities before reading sub_auth[2]
ksmbd: fix mechToken leak when SPNEGO decode fails after token alloc

Joshua Klinesmith (1):
ksmbd: fix use-after-free from async crypto on Qualcomm crypto engine

Namjae Jeon (2):
ksmbd: fix use-after-free in __ksmbd_close_fd() via durable scavenger
ksmbd: validate owner of durable handle on reconnect

Rosen Penev (1):
ksmbd: ipc: use kzalloc_flex and __counted_by

Stefan Metzmacher (5):
smb: client: avoid double-free in smbd_free_send_io() after
smbd_send_batch_flush()
smb: server: avoid double-free in smb_direct_free_sendmsg after
smb_direct_flush_send_list()
smb: smbdirect: let smbdirect.h include #include <linux/types.h>
smb: smbdirect: introduce smbdirect_socket.logging infrastructure
smb: smbdirect: add some logging to
SMBDIRECT_CHECK_STATUS_{WARN,DISCONNECT}()

ZhangGuoDong (3):
smb: move some definitions from common/smb2pdu.h into common/fscc.h
smb: move file_basic_info into common/fscc.h
smb: move filesystem_vol_info into common/fscc.h

--
Thanks,

Steve