ksmbd: no response from compound read
authorNamjae Jeon <linkinjeon@kernel.org>
Sun, 23 Jul 2023 06:22:33 +0000 (15:22 +0900)
committerSteve French <stfrench@microsoft.com>
Sun, 23 Jul 2023 15:25:11 +0000 (10:25 -0500)
commite202a1e8634b186da38cbbff85382ea2b9e297cf
tree812f0ebf055a2f4c27b2a3c0e2a9cab4c10345df
parent3df0411e132ee74a87aa13142dfd2b190275332e
ksmbd: no response from compound read

ksmbd doesn't support compound read. If client send read-read in
compound to ksmbd, there can be memory leak from read buffer.
Windows and linux clients doesn't send it to server yet. For now,
No response from compound read. compound read will be supported soon.

Reported-by: zdi-disclosures@trendmicro.com # ZDI-CAN-21587, ZDI-CAN-21588
Signed-off-by: Namjae Jeon <linkinjeon@kernel.org>
Signed-off-by: Steve French <stfrench@microsoft.com>
fs/smb/server/smb2pdu.c