linux/fs/smb/server
Namjae Jeon 9fa26285ae ksmbd: keep compound responses on query info errors
Do not reset the RFC1002 length of the complete response when a query
info buffer is too small. The current command will add its error response
through ksmbd_iov_pin_rsp(), while resetting the base length can truncate
earlier responses in a compound request.

This lets ksmbd return the earlier responses and the query-info error
response together. Remove the now-unused rsp_org parameter from the pipe
query-info helpers.

Fixes: e2b76ab8b5 ("ksmbd: add support for read compound")
Reported-by: Mobin Aydinfar <mobin@mobintestserver.ir>
Reviewed-by: ChenXiaoSong <chenxiaosong@kylinos.cn>
Signed-off-by: Namjae Jeon <linkinjeon@kernel.org>
2026-09-15 22:28:52 +09:00
..
mgmt ksmbd: follow SMB2 session expiration semantics 2026-09-14 20:14:35 +09:00
asn1.c ksmbd: use __GFP_RETRY_MAYFAIL 2024-11-25 18:58:02 -06:00
asn1.h
auth.c This contains a set of 142 SMB server updates focused on SMB2 command 2026-08-23 08:41:36 -07:00
auth.h ksmbd: add SMB Direct RDMA encryption transform 2026-08-17 22:38:25 +09:00
compress.c ksmbd: handle encrypted compressed requests 2026-08-17 22:38:25 +09:00
compress.h ksmbd: handle encrypted compressed requests 2026-08-17 22:38:25 +09:00
connection.c ksmbd: follow SMB2 session expiration semantics 2026-09-14 20:14:35 +09:00
connection.h ksmbd: follow SMB2 session expiration semantics 2026-09-14 20:14:35 +09:00
crypto_ctx.c ksmbd: Use AES-CMAC library for SMB3 signature calculation 2026-04-22 08:11:23 -05:00
crypto_ctx.h ksmbd: Use AES-CMAC library for SMB3 signature calculation 2026-04-22 08:11:23 -05:00
glob.h ksmbd: use __GFP_RETRY_MAYFAIL 2024-11-25 18:58:02 -06:00
Kconfig smb: server: Remove obsolete "select CRYPTO_LIB_DES" from Kconfig file 2026-08-20 22:56:13 +09:00
ksmbd_netlink.h ksmbd: add per-share SMB3 encryption enforcement 2026-08-17 22:38:24 +09:00
ksmbd_spnego_negtokeninit.asn1
ksmbd_spnego_negtokentarg.asn1
ksmbd_work.c treewide: refresh kmalloc_obj() conversions 2026-09-04 21:37:00 -07:00
ksmbd_work.h ksmbd: fix sparc build with atomic work state 2026-09-02 17:58:00 +09:00
Makefile ksmbd: negotiate and decode SMB2 compression 2026-06-16 18:57:22 -05:00
misc.c ksmbd: treat unnamed DATA stream as base file 2026-06-22 20:15:04 -05:00
misc.h smb/server: abort initialization when proc setup fails 2026-08-17 15:00:58 +09:00
ndr.c ksmbd: use __GFP_RETRY_MAYFAIL 2024-11-25 18:58:02 -06:00
ndr.h
ntlmssp.h
oplock.c ksmbd: fix use-after-free in oplock break notification 2026-09-02 17:58:11 +09:00
oplock.h ksmbd: serialize oplock close with pending break ownership 2026-08-17 15:00:55 +09:00
proc.c ksmbd: follow SMB2 session expiration semantics 2026-09-14 20:14:35 +09:00
server.c ksmbd: follow SMB2 session expiration semantics 2026-09-14 20:14:35 +09:00
server.h ksmbd: add AAPL kAAPL_SERVER_QUERY create context support 2026-08-17 15:00:41 +09:00
smb_common.c ksmbd: implement the command sequence window 2026-08-17 15:00:50 +09:00
smb_common.h ksmbd: extend procfs server statistics 2026-08-17 15:00:48 +09:00
smb2misc.c ksmbd: implement the command sequence window 2026-08-17 15:00:50 +09:00
smb2ops.c ksmbd: free preauth sessions on connection teardown 2026-08-17 15:00:53 +09:00
smb2pdu.c ksmbd: keep compound responses on query info errors 2026-09-15 22:28:52 +09:00
smb2pdu.h ksmbd: fix partial normalized name responses 2026-09-15 22:28:51 +09:00
smbacl.c ksmbd: rate limit unmapped SID errors 2026-08-31 19:26:45 +09:00
smbacl.h ksmbd: support access-based directory enumeration 2026-08-17 15:00:29 +09:00
stats.h ksmbd: follow SMB2 session expiration semantics 2026-09-14 20:14:35 +09:00
transport_ipc.c ksmbd: prevent out-of-bounds reads in share config responses 2026-08-31 19:27:06 +09:00
transport_ipc.h ksmbd: Remove unused functions 2025-01-15 23:24:51 -06:00
transport_rdma.c ksmbd: add SMB Direct RDMA encryption transform 2026-08-17 22:38:25 +09:00
transport_rdma.h ksmbd: add SMB Direct RDMA encryption transform 2026-08-17 22:38:25 +09:00
transport_tcp.c ksmbd: fix listener task lifetime on netdev events 2026-08-31 19:27:11 +09:00
transport_tcp.h ksmbd: fix use-after-free in __smb2_lease_break_noti() 2025-04-14 22:21:26 -05:00
unicode.c ksmbd: use __GFP_RETRY_MAYFAIL 2024-11-25 18:58:02 -06:00
unicode.h
vfs_cache.c ksmbd: safely drain sessions during logoff 2026-08-31 19:26:30 +09:00
vfs_cache.h ksmbd: safely drain sessions during logoff 2026-08-31 19:26:30 +09:00
vfs.c ksmbd: validate COPYCHUNK source and target ranges 2026-09-02 17:58:15 +09:00
vfs.h smb/server: fix posix state check for directory rename 2026-08-17 15:01:00 +09:00
xattr.h ksmbd: Correct typos in multiple comments across various files 2024-09-25 21:33:22 -05:00