[GIT PULL] smb3 client fixes

From: Steve French

Date: Fri Mar 06 2026 - 17:04:09 EST


Please pull the following changes since commit
11439c4635edd669ae435eec308f4ab8a0804808:

Linux 7.0-rc2 (2026-03-01 15:39:31 -0800)

are available in the Git repository at:

git://git.samba.org/sfrench/cifs-2.6.git v7.0-rc2-smb3-client-fixes

for you to fetch changes up to 048efe129a297256d3c2088cf8d79515ff5ec864:

smb: client: fix oops due to uninitialised var in smb2_unlink()
(2026-03-05 20:41:16 -0600)

----------------------------------------------------------------
Eight client fixes:
- Fix potential oops on open failure
- Fix unmount to better free deferred closes
- Security fix
- Two buffer allocation size fixes
- Two minor cleanups
- make SMB2 kunit tests a distinct module

----------------------------------------------------------------
ChenXiaoSong (1):
smb/client: make SMB2 maperror KUnit tests a separate module

Eric Biggers (1):
smb: client: Compare MACs in constant time

Paulo Alcantara (1):
smb: client: fix oops due to uninitialised var in smb2_unlink()

Shyam Prasad N (1):
cifs: open files should not hold ref on superblock

ZhangGuoDong (4):
smb: update some doc references
smb/client: fix buffer size for smb311_posix_qinfo in smb2_compound_op()
smb/client: fix buffer size for smb311_posix_qinfo in
SMB311_posix_query_info()
smb/client: remove unused SMB311_posix_query_info()

fs/smb/client/Makefile | 2 ++
fs/smb/client/cifsfs.c | 7 +++++--
fs/smb/client/cifsproto.h | 1 +
fs/smb/client/file.c | 11 ----------
fs/smb/client/misc.c | 42 +++++++++++++++++++++++++++++++++++++
fs/smb/client/smb1encrypt.c | 3 ++-
fs/smb/client/smb2glob.h | 12 +++++++++++
fs/smb/client/smb2inode.c | 8 ++++---
fs/smb/client/smb2maperror.c | 28 +++++++++++++------------
fs/smb/client/smb2maperror_test.c | 12 ++++++++---
fs/smb/client/smb2pdu.c | 18 ----------------
fs/smb/client/smb2pdu.h | 7 +++++--
fs/smb/client/smb2proto.h | 3 ---
fs/smb/client/smb2transport.c | 4 +++-
fs/smb/client/trace.h | 2 ++
fs/smb/server/smb2pdu.h | 5 ++++-
16 files changed, 107 insertions(+), 58 deletions(-)

--
Thanks,

Steve