[GIT PULL] smb3 client fixes
From: Steve French
Date: Mon Apr 13 2026 - 18:06:55 EST
Please pull the following changes since commit
591cd656a1bf5ea94a222af5ef2ee76df029c1d2:
Linux 7.0-rc7 (2026-04-05 15:26:23 -0700)
are available in the Git repository at:
git://git.samba.org/sfrench/cifs-2.6.git tags/v7.1-rc1-part1-smb3-client-fixes
for you to fetch changes up to 4248ed1013816f97f4029d06b16c67a6e43d0668:
smb: client: allow both 'lease' and 'nolease' mount options
(2026-04-13 09:14:54 -0500)
----------------------------------------------------------------
Twenty six smb3 client fixes
- Fix EAs bounds check
- Fix OOB read in symlink response parsing
- Add support for creating tmpfiles
- Minor debug improvement for mount failure
- Minor crypto cleanup
- Add missing module description
- mount fix for lease vs. nolease
- Add Metze as maintainer for smbdirect
- Minor error mapping header cleanup
- Improve search speed of SMB1 maperror
- Fix potential null ptr ref in smb2 map error tests
----------------------------------------------------------------
Eric Biggers (1):
smb: client: Remove unnecessary selection of CRYPTO_ECB
Fredric Cover (1):
fs/smb/client: add verbose error logging for UNC parsing
Greg Kroah-Hartman (2):
smb: client: fix off-by-8 bounds check in check_wsl_eas()
smb: client: fix OOB reads parsing symlink error response
Huiwen He (9):
smb/client: annotate nterr.h with DOS error codes
smb/client: autogenerate SMB1 NT status to DOS error mapping
smb/client: replace nt_errs with ntstatus_to_dos_map
smb/client: refactor ntstatus_to_dos() to return mapping entry
smb/client: use binary search for NT status to DOS mapping
smb/client: move ERRnetlogonNotStarted to DOS error class
smb/client: annotate smberr.h with POSIX error codes
smb/client: autogenerate SMB1 DOS/SRV to POSIX error mapping
smb/client: use binary search for SMB1 DOS/SRV error mapping
Paulo Alcantara (4):
vfs: introduce d_mark_tmpfile_name()
smb: client: add support for O_TMPFILE
smb: client: set ATTR_TEMPORARY with O_TMPFILE | O_EXCL
smb: client: get rid of d_drop()+d_add()
Rajasi Mandal (1):
smb: client: allow both 'lease' and 'nolease' mount options
Steve French (1):
MAINTAINERS: create entry for smbdirect
SunJianHao (1):
smb/client: avoid null-ptr-deref when tests fail in test_cmp_map()
Venkat Rao Bagalkote (1):
smb: client: add missing MODULE_DESCRIPTION() to smb1maperror_test
Youling Tang (4):
smb/client: check if ntstatus_to_dos_map is sorted
smb/client: introduce KUnit test to check ntstatus_to_dos_map search
smb/client: check if SMB1 DOS/SRV error mapping arrays are sorted
smb/client: introduce KUnit tests to check DOS/SRV err mapping search
ZhangGuoDong (1):
smb/client: move smb2maperror declarations to smb2proto.h
MAINTAINERS | 14 +
fs/dcache.c | 19 +
fs/smb/client/.gitignore | 3 +
fs/smb/client/Kconfig | 12 +-
fs/smb/client/Makefile | 25 +-
fs/smb/client/cifsfs.c | 11 +-
fs/smb/client/cifsfs.h | 23 +-
fs/smb/client/cifsglob.h | 23 +-
fs/smb/client/cifsproto.h | 3 +-
fs/smb/client/dir.c | 352 +++++++++---
fs/smb/client/file.c | 53 +-
fs/smb/client/fs_context.c | 18 +-
fs/smb/client/fs_context.h | 2 +-
fs/smb/client/gen_smb1_mapping | 124 +++++
fs/smb/client/inode.c | 3 +-
fs/smb/client/link.c | 1 +
fs/smb/client/nterr.c | 704 ------------------------
fs/smb/client/nterr.h | 1082 +++++++++++++++++++------------------
fs/smb/client/smb1maperror.c | 873 ++++++------------------------
fs/smb/client/smb1maperror_test.c | 77 +++
fs/smb/client/smb1proto.h | 15 +
fs/smb/client/smb2file.c | 20 +-
fs/smb/client/smb2inode.c | 402 ++++++--------
fs/smb/client/smb2maperror.c | 3 -
fs/smb/client/smb2maperror_test.c | 8 +-
fs/smb/client/smb2proto.h | 7 +-
fs/smb/client/smberr.h | 415 +++++++++-----
include/linux/dcache.h | 1 +
28 files changed, 1835 insertions(+), 2458 deletions(-)
create mode 100644 fs/smb/client/gen_smb1_mapping
delete mode 100644 fs/smb/client/nterr.c
create mode 100644 fs/smb/client/smb1maperror_test.c
--
Thanks,
Steve