[GIT PULL] smb3 client fixes

From: Steve French

Date: Thu Jul 30 2026 - 19:12:53 EST


Please pull the following changes since commit
f5098b6bae761e346ebcd9da7f95622c04733cff:

Linux 7.2-rc5 (2026-07-26 14:45:48 -0700)

are available in the Git repository at:

git://git.samba.org/sfrench/cifs-2.6.git tags/v7.2-rc5-smb3-client-fixes

for you to fetch changes up to fa724e235cfdb0fb0bb427d0f9dfe864ae27403e:

cifs: add fscache_resize_cookie() to cifs_setsize() (2026-07-27
20:46:03 -0500)

----------------------------------------------------------------
Nine client fixes
- fix SMB1 read and write potential buffer leaks
- netfs error handling fix
- fix check for last write time in truncate and setattr and cleanup
use of smb_store_release()
- fscache fix and fscache cleanup
- validate idmap key payload length
- minor SMB1 error mapping cleanup
- witness protocol memory allocation fix

----------------------------------------------------------------
Dawei Feng (1):
smb: client: fix buffer leaks in SMB1 read and write

Dmitry Antipov (1):
smb: client: simplify cifs_fscache_get_super_cookie()

Frank Sorenson (3):
cifs: consolidate time_last_write stamp into _cifsFileInfo_put()
cifs: fix time_last_write stamp placement in setattr/truncate paths
cifs: add fscache_resize_cookie() to cifs_setsize()

Fredric Cover (1):
smb: client: use GFP_KERNEL for registry allocation

Li Qiang (1):
cifs: validate idmap key payload length

Sang-Heon Jeon (1):
smb: client: remove conditional return with no effect

Yichong Chen (1):
smb: client: free partially allocated transform folio queue

fs/smb/client/cifs_swn.c | 6 +++---
fs/smb/client/cifsacl.c | 3 +++
fs/smb/client/cifssmb.c | 12 ++++++++---
fs/smb/client/file.c | 37 ++++++++++++++------------------
fs/smb/client/fscache.c | 6 +-----
fs/smb/client/inode.c | 27 +++++++++++++++++++----
fs/smb/client/misc.c | 51 ++++++--------------------------------------
fs/smb/client/smb1maperror.c | 6 +-----
fs/smb/client/smb2ops.c | 2 +-
9 files changed, 63 insertions(+), 87 deletions(-)


--
Thanks,

Steve