[GIT PULL] smb3 client fixes
From: Steve French
Date: Thu Jun 25 2026 - 17:28:46 EST
Please pull the following changes since commit
dac3b26eae7bee261fa05f20c3fcc24988a7c233:
Merge tag 'v7.2-rc-part1-ksmbd-fixes' of git://git.samba.org/ksmbd
(2026-06-18 09:21:50 -0700)
are available in the Git repository at:
git://git.samba.org/sfrench/cifs-2.6.git tags/v7.2-rc-part2-smb3-client-fixes
for you to fetch changes up to f53208233b2acaafe2af99c63c02481b2f5bcb39:
cifs: define variable sized buffer for querydir responses
(2026-06-24 16:49:02 -0500)
----------------------------------------------------------------
17 smb3 client fixes
- fix seven potential double frees
- fix potential memory leak in receiving compound response
- querydir improvement
- fix chown with smb311 posix extensions
- two set ACL fixes
- minor debug improvement and cleanup
- add some missing protocol defines
- two sparse file fixes
----------------------------------------------------------------
Fredric Cover (1):
smb/client: use %pe to print error pointer
Haoxiang Li (1):
smb: client: Fix next buffer leak in receive_encrypted_standard()
Henrique Carvalho (6):
smb: client: fix double-free in SMB2_open() replay
smb: client: fix double-free in SMB2_ioctl() replay
smb: client: fix double-free in SMB2_close() replay
smb: client: fix query_info() replay double-free
smb: client: fix change notify replay double-free
smb: client: fix query directory replay double-free
Huiwen He (3):
smb/client: name the default fallocate mode
smb/client: preserve errors from smb2_set_sparse()
smb/client: do not account EOF extension as allocation
Ralph Boehme (3):
smb: client: refactor ACL setting control flow in id_mode_to_cifs_acl()
smb/client: fix security flag calculation when setting security
descriptors
smb/client: fix chown/chgrp with SMB3 POSIX Extensions
Shyam Prasad N (1):
cifs: define variable sized buffer for querydir responses
Steve French (1):
smb common: add missing AAPL defines
Zhao Zhang (1):
smb: client: fix double-free in SMB2_flush() replay
fs/smb/client/cifsacl.c | 38 ++++++++++++++++++++++++++------------
fs/smb/client/cifsglob.h | 2 ++
fs/smb/client/connect.c | 4 ++--
fs/smb/client/file.c | 2 ++
fs/smb/client/inode.c | 16 ++++++++++++----
fs/smb/client/readdir.c | 2 ++
fs/smb/client/smb2ops.c | 42 ++++++++++++++++++++++--------------------
fs/smb/client/smb2pdu.c | 28 +++++++++++++++++++++++++---
fs/smb/common/smb2pdu.h | 24 ++++++++++++++++++++++++
9 files changed, 117 insertions(+), 41 deletions(-)
--
Thanks,
Steve