Please pull the following changes since commit adc218676eef25575469234709c2d87185ca223a: Linux 6.12 (2024-11-17 14:15:08 -0800) are available in the Git repository at: git://git.samba.org/sfrench/cifs-2.6.git tags/6.13-rc-part1-SMB3-client-fixes for you to fetch changes up to a9685b409a03b73d2980bbfa53eb47555802d0a9: smb: prevent use-after-free due to open_cached_dir error paths (2024-11-21 10:45:50 -0600) ---------------------------------------------------------------- 15 smb3 client fixes, most also for stable - Fix two SMB3.1.1 POSIX Extensions problems - Fixes for special file handling (symlinks and FIFOs) - Improve compounding - Four cleanup patches - Fix use after free in signing - Add support for handling namespaces for reconnect related upcalls (e.g. for DNS names resolution and auth) - Fix various directory lease problems (directory entry caching), including some important potential use after frees There are additional important fixes still being tested that are not included in this P/R, but should be ready later in the merge window, including for remount cases, e.g. for DFS, and also additional important directory lease fixes. ---------------------------------------------------------------- Dan Carpenter (1): smb/client: Prevent error pointer dereference Dr. David Alan Gilbert (1): cifs: Remove pre-historic unused CIFSSMBCopy Kees Cook (1): smb: client: memcpy() with surrounding object base address Pali Rohár (1): cifs: Recognize SFU char/block devices created by Windows NFS server on Windows Server <<2012 Paul Aurich (3): smb: cached directories can be more than root file handle smb: Don't leak cfid when reconnect races with open_cached_dir smb: prevent use-after-free due to open_cached_dir error paths Paulo Alcantara (4): smb: client: fix use-after-free of signing key smb: client: improve compound padding in encryption smb: client: get rid of bounds check in SMB2_ioctl_init() smb: client: handle max length for SMB symlinks Ralph Boehme (1): fs/smb/client: implement chmod() for SMB3 POSIX Extensions Ritvik Budhiraja (1): CIFS: New mount option for cifs.upcall namespace resolution Steve French (1): smb3: request handle caching when caching directories Thorsten Blum (1): smb: client: Use str_yes_no() helper function fs/smb/client/cached_dir.c | 99 ++++++++++++++++++++++++++--------------------------------- fs/smb/client/cifs_spnego.c | 16 ++++++++++ fs/smb/client/cifsacl.c | 54 +++++++++++++++++++------------- fs/smb/client/cifsfs.c | 25 +++++++++++++++ fs/smb/client/cifsglob.h | 11 +++++-- fs/smb/client/cifsproto.h | 11 ++----- fs/smb/client/cifssmb.c | 65 +-------------------------------------- fs/smb/client/connect.c | 20 ++++++++++++ fs/smb/client/dfs_cache.c | 8 ++--- fs/smb/client/fs_context.c | 39 +++++++++++++++++++++++ fs/smb/client/fs_context.h | 10 ++++++ fs/smb/client/inode.c | 26 +++++++++++++++- fs/smb/client/reparse.c | 5 ++- fs/smb/client/reparse.h | 2 ++ fs/smb/client/smb2ops.c | 39 +++-------------------- fs/smb/client/smb2pdu.c | 11 +------ fs/smb/client/smb2proto.h | 2 -- fs/smb/client/smb2transport.c | 56 +++++++++++++++++++++++---------- fs/smb/client/transport.c | 40 ++++++++---------------- 19 files changed, 293 insertions(+), 246 deletions(-) -- Thanks, Steve