[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAH2r5msuFqDVtb8_HnGin3PyLZ7h4CUnU3yh+ZV_Za_sEWPdhw@mail.gmail.com>
Date: Mon, 9 Feb 2026 15:56:46 -0600
From: Steve French <smfrench@...il.com>
To: Linus Torvalds <torvalds@...ux-foundation.org>
Cc: LKML <linux-kernel@...r.kernel.org>, CIFS <linux-cifs@...r.kernel.org>
Subject: [GIT PULL] smb3 client fixes
Please pull the following changes since commit
05f7e89ab9731565d8a62e3b5d1ec206485eeb0b:
Linux 6.19 (2026-02-08 13:03:27 -0800)
are available in the Git repository at:
git://git.samba.org/sfrench/cifs-2.6.git tags/v7.0-rc-part1-smb3-client-fixes
for you to fetch changes up to 95080648ed52c6b97153ad989252576a3c070036:
cifs: Fix the copyright banner on smb1maperror.c (2026-02-09 08:08:54 -0600)
----------------------------------------------------------------
74 client changesets
- Three multichannel improvements, including making add channel async
at mount time
- Fix potential double free in open path
- Four retry fixes
- Three locking improvements
- Fix potential directory lease races
- Eighteen cleanup patches for client headers
- Nineteen patches to better split out SMB1 code
- Minor cleanup of structs for gcc 14 warnings
- Twenty two error handling improvement patches
----------------------------------------------------------------
ChenXiaoSong (3):
smb/client: check whether smb2_error_map_table is sorted in
ascending order
smb/client: use bsearch() to find target in smb2_error_map_table
smb/client: introduce KUnit test to check search result of
smb2_error_map_table
David Howells (40):
cifs: Scripted clean up fs/smb/client/cached_dir.h
cifs: Scripted clean up fs/smb/client/dfs.h
cifs: Scripted clean up fs/smb/client/cifsproto.h
cifs: Scripted clean up fs/smb/client/cifs_unicode.h
cifs: Scripted clean up fs/smb/client/netlink.h
cifs: Scripted clean up fs/smb/client/cifsfs.h
cifs: Scripted clean up fs/smb/client/dfs_cache.h
cifs: Scripted clean up fs/smb/client/dns_resolve.h
cifs: Scripted clean up fs/smb/client/cifsglob.h
cifs: Scripted clean up fs/smb/client/fscache.h
cifs: Scripted clean up fs/smb/client/fs_context.h
cifs: Scripted clean up fs/smb/client/cifs_spnego.h
cifs: Scripted clean up fs/smb/client/compress.h
cifs: Scripted clean up fs/smb/client/cifs_swn.h
cifs: Scripted clean up fs/smb/client/cifs_debug.h
cifs: Scripted clean up fs/smb/client/smb2proto.h
cifs: Scripted clean up fs/smb/client/reparse.h
cifs: Scripted clean up fs/smb/client/ntlmssp.h
cifs: SMB1 split: Rename cifstransport.c
cifs: SMB1 split: Create smb1proto.h for SMB1 declarations
cifs: SMB1 split: Separate out SMB1 decls into smb1proto.h
cifs: SMB1 split: Move some SMB1 receive bits to smb1transport.c
cifs: SMB1 split: Move some SMB1 received PDU checking bits to
smb1transport.c
cifs: SMB1 split: Add some #includes
cifs: SMB1 split: Split SMB1 protocol defs into smb1pdu.h
cifs: SMB1 split: Adjust #includes
cifs: SMB1 split: Move BCC access functions
cifs: SMB1 split: Don't return smb_hdr from cifs_{,small_}buf_get()
cifs: Fix cifs_dump_mids() to call ->dump_detail
cifs: SMB1 split: Move inline funcs
cifs: SMB1 split: cifs_debug.c
cifs: SMB1 split: misc.c
cifs: SMB1 split: netmisc.c
cifs: SMB1 split: cifsencrypt.c
cifs: SMB1 split: sess.c
cifs: SMB1 split: connect.c
cifs: SMB1 split: Make BCC accessors conditional
cifs: Label SMB2 statuses with errors
cifs: Autogenerate SMB2 error mapping table
cifs: Fix the copyright banner on smb1maperror.c
Gustavo A. R. Silva (1):
smb: client: Avoid a dozen -Wflex-array-member-not-at-end warnings
Henrique Carvalho (5):
smb: client: split cached_fid bitfields to avoid shared-byte RMW races
smb: client: add proper locking around ses->iface_last_update
smb: client: prevent races in ->query_interfaces()
smb: client: introduce multichannel async work during mount
smb: client: add multichannel async work for CONFIG_CIFS_DFS_UPCALL=n
Huiwen He (17):
smb/client: map NT_STATUS_INVALID_INFO_CLASS to ERRbadpipe
smb/client: add NT_STATUS_OS2_INVALID_LEVEL
smb/client: rename ERRinvlevel to ERRunknownlevel
smb/client: add NT_STATUS_VARIABLE_NOT_FOUND
smb/client: add NT_STATUS_BIOS_FAILED_TO_CONNECT_INTERRUPT
smb/client: add NT_STATUS_VOLUME_DISMOUNTED
smb/client: add NT_STATUS_DIRECTORY_IS_A_REPARSE_POINT
smb/client: add NT_STATUS_ENCRYPTION_FAILED
smb/client: add NT_STATUS_DECRYPTION_FAILED
smb/client: add NT_STATUS_RANGE_NOT_FOUND
smb/client: add NT_STATUS_NO_RECOVERY_POLICY
smb/client: add NT_STATUS_NO_EFS
smb/client: add NT_STATUS_WRONG_EFS
smb/client: add NT_STATUS_NO_USER_KEYS
smb/client: add NT_STATUS_VOLUME_NOT_UPGRADED
smb/client: remove some literal NT error codes from ntstatus_to_dos_map
smb/client: remove useless comment in mapping_table_ERRSRV
Paulo Alcantara (1):
smb: client: fix potential UAF and double free in smb2_open_file()
Shyam Prasad N (6):
cifs: on replayable errors back-off before replay, not after
netfs: when subreq is marked for retry, do not check if it faced an error
netfs: avoid double increment of retry_count in subreq
cifs: make retry logic in read/write path consistent with other paths
cifs: Corrections to lock ordering notes
cifs: Fix locking usage for tcon fields
Stefan Metzmacher (1):
smb: common: add header guards to fs/smb/common/smb2status.h
fs/netfs/read_collect.c | 10 +
fs/netfs/read_retry.c | 4 +-
fs/netfs/write_collect.c | 8 +-
fs/netfs/write_issue.c | 1 +
fs/netfs/write_retry.c | 1 -
fs/smb/Kconfig | 17 +
fs/smb/client/Makefile | 24 +-
fs/smb/client/cached_dir.c | 10 +-
fs/smb/client/cached_dir.h | 42 +-
fs/smb/client/cifs_debug.c | 18 +-
fs/smb/client/cifs_debug.h | 1 -
fs/smb/client/cifs_spnego.h | 4 +-
fs/smb/client/cifs_swn.h | 10 +-
fs/smb/client/cifs_unicode.c | 1 -
fs/smb/client/cifs_unicode.h | 17 +-
fs/smb/client/cifsacl.c | 1 -
fs/smb/client/cifsencrypt.c | 124 --
fs/smb/client/cifsfs.c | 6 +-
fs/smb/client/cifsfs.h | 114 +-
fs/smb/client/cifsglob.h | 51 +-
fs/smb/client/cifspdu.h | 2377 +----------------------
fs/smb/client/cifsproto.h | 780 +++-----
fs/smb/client/cifssmb.c | 147 +-
fs/smb/client/cifstransport.c | 265 ---
fs/smb/client/compress.h | 3 +-
fs/smb/client/connect.c | 329 +---
fs/smb/client/dfs.h | 3 +-
fs/smb/client/dfs_cache.h | 19 +-
fs/smb/client/dir.c | 1 -
fs/smb/client/dns_resolve.h | 4 +-
fs/smb/client/file.c | 1 -
fs/smb/client/fs_context.c | 1 -
fs/smb/client/fs_context.h | 16 +-
fs/smb/client/fscache.h | 17 +-
fs/smb/client/gen_smb2_mapping | 86 +
fs/smb/client/inode.c | 1 -
fs/smb/client/ioctl.c | 1 -
fs/smb/client/link.c | 1 -
fs/smb/client/misc.c | 302 +--
fs/smb/client/netlink.h | 4 +-
fs/smb/client/netmisc.c | 824 +-------
fs/smb/client/nterr.c | 15 +
fs/smb/client/nterr.h | 13 +
fs/smb/client/ntlmssp.h | 15 +-
fs/smb/client/readdir.c | 1 -
fs/smb/client/reparse.h | 14 +-
fs/smb/client/sess.c | 982 ----------
fs/smb/client/smb1debug.c | 25 +
fs/smb/client/smb1encrypt.c | 139 ++
fs/smb/client/smb1maperror.c | 809 ++++++++
fs/smb/client/smb1misc.c | 189 ++
fs/smb/client/smb1ops.c | 279 ++-
fs/smb/client/smb1pdu.h | 2354 +++++++++++++++++++++++
fs/smb/client/smb1proto.h | 335 ++++
fs/smb/client/smb1session.c | 995 ++++++++++
fs/smb/client/smb1transport.c | 563 ++++++
fs/smb/client/smb2file.c | 4 +-
fs/smb/client/smb2inode.c | 23 +-
fs/smb/client/smb2maperror.c | 2473 +-----------------------
fs/smb/client/smb2maperror_test.c | 45 +
fs/smb/client/smb2misc.c | 6 +-
fs/smb/client/smb2ops.c | 59 +-
fs/smb/client/smb2pdu.c | 195 +-
fs/smb/client/smb2proto.h | 469 +++--
fs/smb/client/smbencrypt.c | 1 -
fs/smb/client/smberr.h | 2 +-
fs/smb/client/trace.h | 1 +
fs/smb/client/transport.c | 1 -
fs/smb/client/xattr.c | 1 -
fs/smb/common/smb2pdu.h | 3 +
fs/smb/common/smb2status.h | 3499 +++++++++++++++++-----------------
71 files changed, 8650 insertions(+), 10506 deletions(-)
delete mode 100644 fs/smb/client/cifstransport.c
create mode 100644 fs/smb/client/gen_smb2_mapping
create mode 100644 fs/smb/client/smb1debug.c
create mode 100644 fs/smb/client/smb1encrypt.c
create mode 100644 fs/smb/client/smb1maperror.c
create mode 100644 fs/smb/client/smb1misc.c
create mode 100644 fs/smb/client/smb1pdu.h
create mode 100644 fs/smb/client/smb1proto.h
create mode 100644 fs/smb/client/smb1session.c
create mode 100644 fs/smb/client/smb1transport.c
create mode 100644 fs/smb/client/smb2maperror_test.c
--
Thanks,
Steve
Powered by blists - more mailing lists