[GIT PULL] smb3 client fixes
From: Steve French
Date: Thu Apr 23 2026 - 15:35:06 EST
Please pull the following changes since commit
0b2f2b1fc0c61e602a6babf580b91f895b0ea80a:
Merge tag 'v7.1-rc1-part2-smb3-client-fixes' of
git://git.samba.org/sfrench/cifs-2.6 (2026-04-16 19:14:55 -0700)
are available in the Git repository at:
git://git.samba.org/sfrench/cifs-2.6.git tags/v7.1-rc1-part3-smb3-client-fixes
for you to fetch changes up to a83307f34e0bd9b0e595b1074dc8fbcc1b7f3172:
smb: client: Drop 'allocate_crypto' arg from smb*_calc_signature()
(2026-04-22 09:56:16 -0500)
----------------------------------------------------------------
Eighteen smb3 client fixes
- Four bug fixes: OOB read in ioctl query info, 3 ACL fixes
- SMB1 Unix extensions mount fix
- Four crypto improvements: move to AES-CMAC library, simpler and faster
- Remove drop_dir_cache to avoid potential crash, and move to /procfs
- Seven SMB3.1.1 compression fixes
----------------------------------------------------------------
Enzo Matsumiya (8):
smb: client: compress: fix bad encoding on last LZ77 flag
smb: client: fix (remove) drop_dir_cache module parameter
smb: client: compress: fix buffer overrun in lz77_compress()
smb: client: compress: fix counting in LZ77 match finding
smb: client: compress: increase LZ77_MATCH_MAX_DIST
smb: client: compress: LZ77 optimizations
smb: client: compress: add code docs to lz77.c
smb: common: add SMB3_COMPRESS_MAX_ALGS
Eric Biggers (4):
smb: client: Use AES-CMAC library for SMB3 signature calculation
smb: client: Remove obsolete cmac(aes) allocation
smb: client: Make generate_key() return void
smb: client: Drop 'allocate_crypto' arg from smb*_calc_signature()
Michael Bommarito (4):
smb: client: fix OOB read in smb2_ioctl_query_info QUERY_INFO path
smb: client: validate the whole DACL before rewriting it in cifsacl
smb: client: require a full NFS mode SID before reading mode bits
smb: client: scope end_of_dacl to CIFS_DEBUG2 use in parse_dacl
Paulo Alcantara (1):
smb: client: fix dir separator in SMB1 UNIX mounts
Steve French (1):
cifs: update internal module version number
fs/smb/client/Kconfig | 2 +-
fs/smb/client/cached_dir.c | 5 +-
fs/smb/client/cached_dir.h | 2 +-
fs/smb/client/cifs_debug.c | 56 ++++++++-
fs/smb/client/cifs_unicode.c | 1 +
fs/smb/client/cifsacl.c | 115 +++++++++++++-----
fs/smb/client/cifsencrypt.c | 62 +++-------
fs/smb/client/cifsfs.c | 38 ------
fs/smb/client/cifsfs.h | 4 +-
fs/smb/client/cifsglob.h | 7 +-
fs/smb/client/cifsproto.h | 3 -
fs/smb/client/compress.c | 6 +-
fs/smb/client/compress/lz77.c | 274 ++++++++++++++++++++++++++++--------------
fs/smb/client/compress/lz77.h | 32 ++++-
fs/smb/client/connect.c | 10 +-
fs/smb/client/file.c | 2 +-
fs/smb/client/misc.c | 57 ---------
fs/smb/client/sess.c | 11 --
fs/smb/client/smb1ops.c | 19 ++-
fs/smb/client/smb2ops.c | 6 +
fs/smb/client/smb2pdu.c | 2 +-
fs/smb/client/smb2proto.h | 1 -
fs/smb/client/smb2transport.c | 113 +++++------------
fs/smb/common/smb2pdu.h | 2 +
24 files changed, 438 insertions(+), 392 deletions(-)
--
Thanks,
Steve