]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
ksmbd: no response from compound read
authorNamjae Jeon <linkinjeon@kernel.org>
Sun, 23 Jul 2023 06:22:33 +0000 (15:22 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 19 Sep 2023 10:22:27 +0000 (12:22 +0200)
commitd424c636b750d2f1f24b116e0260f09c1c888c4c
treee4e7e385da02d060046ad8fd144f516da2c571ca
parent82373d1b763e4f5143ea7064bfdef8ef552ad152
ksmbd: no response from compound read

[ Upstream commit e202a1e8634b186da38cbbff85382ea2b9e297cf ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
fs/ksmbd/smb2pdu.c