[<prev] [next>] [day] [month] [year] [list]
Message-ID: <CAH2r5mtHWXNvtYB0mTUci0qa-b0dmOjUMr7sARERV9SyFpTAVA@mail.gmail.com>
Date: Mon, 1 Dec 2025 19:06:25 -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>,
Namjae Jeon <linkinjeon@...nel.org>
Subject: [GIT PULL] smb client and server fixes
Please pull the following changes since commit
7d0a66e4bb9081d75c82ec4957c50034cb0ea449:
Linux 6.18 (2025-11-30 14:42:10 -0800)
are available in the Git repository at:
git://git.samba.org/ksmbd.git tags/v6.19-rc-smb-fixes
for you to fetch changes up to e1469f56089fc00bc94706a07c5cd63fa3e8625b:
cifs: Use netfs_alloc/free_folioq_buffer() (2025-11-30 21:11:46 -0600)
----------------------------------------------------------------
Forty four smb client and server changesets
1) server fixes:
- IPC use after free locking fix
- fix locking bug in delete paths
- fix use after free in disconnect
- fix underflow in locking check
- error mapping improvement
- socket listening improvement
- five return code mapping fixes
- three crypto improvements (to use default libraries)
2) cleanup patches:
- netfs
- client checkpatch cleanup
- server cleanup
- 20 patches to move server/client duplicate code to common
- fix some defines to better match protocol specification
3) four smbdirect (RDMA) fixes
4) two client debugging improvements (for leases)
----------------------------------------------------------------
Aaditya Kansal (1):
ksmbd: implement error handling for STATUS_INFO_LENGTH_MISMATCH
in smb server
Bharath SM (2):
smb: client: show smb lease key in open_files output
smb: client: show smb lease key in open_dirs output
ChenXiaoSong (19):
smb/server: fix return value of smb2_read()
smb/server: fix return value of smb2_notify()
smb/server: fix return value of smb2_query_dir()
smb/server: fix return value of smb2_ioctl()
smb/server: fix return value of smb2_oplock_break()
smb/server: update some misguided comment of smb2_0_server_cmds proc
smb/client: fix CAP_BULK_TRANSFER value
smb: move MAX_CIFS_SMALL_BUFFER_SIZE to common/smbglob.h
smb: move create_durable_req_v2 to common/smb2pdu.h
smb: move create_durable_handle_reconnect_v2 to common/smb2pdu.h
smb: move create_durable_rsp_v2 to common/smb2pdu.h
smb: move SMB_NEGOTIATE_REQ to common/smb2pdu.h
smb: move list of FileSystemAttributes to common/fscc.h
smb: move some duplicate struct definitions to common/fscc.h
smb: move FILE_SYSTEM_SIZE_INFO to common/fscc.h
smb: do some cleanups
smb: fix some warnings reported by scripts/checkpatch.pl
smb: move create_durable_reconn to common/smb2pdu.h
smb: move FILE_SYSTEM_ATTRIBUTE_INFO to common/fscc.h
David Howells (1):
cifs: Use netfs_alloc/free_folioq_buffer()
Eric Biggers (3):
ksmbd: Use SHA-512 library for SMB3.1.1 preauth hash
ksmbd: Use HMAC-SHA256 library for message signing and key generation
ksmbd: Use HMAC-MD5 library for NTLMv2
Namjae Jeon (1):
ksmbd: fix use-after-free in ksmbd_tree_connect_put under concurrency
Qianchang Zhao (3):
ksmbd: skip lock-range check on equal size to avoid size==0 underflow
ksmbd: vfs: fix race on m_flags in vfs_cache
ksmbd: ipc: fix use-after-free in ipc_msg_send_request
Qingfang Deng (1):
ksmbd: server: avoid busy polling in accept loop
Stefan Metzmacher (4):
smb: smbdirect: introduce SMBDIRECT_DEBUG_ERR_PTR() helper
smb: smbdirect: introduce SMBDIRECT_CHECK_STATUS_{WARN,DISCONNECT}()
smb: server: relax WARN_ON_ONCE(SMBDIRECT_SOCKET_*) checks in
recv_done() and smb_direct_cm_handler()
smb: client: relax WARN_ON_ONCE(SMBDIRECT_SOCKET_*) checks in
recv_done() and smbd_conn_upcall()
Thorsten Blum (1):
ksmbd: Replace strcpy + strcat to improve convert_to_nt_pathname
ZhangGuoDong (8):
smb: rename common/cifsglob.h to common/smbglob.h
smb: move smb_version_values to common/smbglob.h
smb: move get_rfc1002_len() to common/smbglob.h
smb: move SMB1_PROTO_NUMBER to common/smbglob.h
smb: move smb_sockaddr_in and smb_sockaddr_in6 to common/smb2pdu.h
smb: move copychunk definitions to common/smb2pdu.h
smb: move resume_key_ioctl_rsp to common/smb2pdu.h
smb: move some duplicate definitions to common/smb2pdu.h
fs/smb/client/cifs_debug.c | 23 +-
fs/smb/client/cifsglob.h | 31 +-
fs/smb/client/cifspdu.h | 601 ++++++++---------------------
fs/smb/client/cifssmb.c | 18 +-
fs/smb/client/cifstransport.c | 8 +-
fs/smb/client/connect.c | 6 +-
fs/smb/client/inode.c | 4 +-
fs/smb/client/misc.c | 2 +-
fs/smb/client/ntlmssp.h | 8 +-
fs/smb/client/readdir.c | 12 +-
fs/smb/client/reparse.h | 8 +-
fs/smb/client/rfc1002pdu.h | 8 +-
fs/smb/client/smb1ops.c | 2 +-
fs/smb/client/smb2inode.c | 2 +-
fs/smb/client/smb2ops.c | 91 +----
fs/smb/client/smb2pdu.c | 45 ++-
fs/smb/client/smb2pdu.h | 112 ------
fs/smb/client/smbdirect.c | 28 +-
fs/smb/common/cifsglob.h | 30 --
fs/smb/common/fscc.h | 174 +++++++++
fs/smb/common/smb2pdu.h | 279 ++++++++++++-
fs/smb/common/smbacl.h | 8 +-
fs/smb/common/smbdirect/smbdirect_socket.h | 51 +++
fs/smb/common/smbglob.h | 72 ++++
fs/smb/server/Kconfig | 6 +-
fs/smb/server/auth.c | 390 ++++---------------
fs/smb/server/auth.h | 10 +-
fs/smb/server/crypto_ctx.c | 24 --
fs/smb/server/crypto_ctx.h | 15 +-
fs/smb/server/mgmt/tree_connect.c | 18 +-
fs/smb/server/mgmt/tree_connect.h | 1 -
fs/smb/server/misc.c | 15 +-
fs/smb/server/oplock.c | 8 +-
fs/smb/server/server.c | 4 -
fs/smb/server/smb2misc.c | 2 +-
fs/smb/server/smb2ops.c | 38 +-
fs/smb/server/smb2pdu.c | 217 +++++------
fs/smb/server/smb2pdu.h | 107 -----
fs/smb/server/smb_common.h | 276 +------------
fs/smb/server/transport_ipc.c | 7 +-
fs/smb/server/transport_rdma.c | 40 +-
fs/smb/server/transport_tcp.c | 41 +-
fs/smb/server/vfs.c | 7 +-
fs/smb/server/vfs_cache.c | 88 +++--
44 files changed, 1194 insertions(+), 1743 deletions(-)
delete mode 100644 fs/smb/common/cifsglob.h
create mode 100644 fs/smb/common/fscc.h
create mode 100644 fs/smb/common/smbglob.h
--
Thanks,
Steve
Powered by blists - more mailing lists