]> git.baikalelectronics.ru Git - kernel.git/commit
ksmbd: validate OutputBufferLength of QUERY_DIR, QUERY_INFO, IOCTL requests
authorHyunchul Lee <hyc.lee@gmail.com>
Fri, 15 Oct 2021 23:39:54 +0000 (08:39 +0900)
committerSteve French <stfrench@microsoft.com>
Wed, 20 Oct 2021 05:07:10 +0000 (00:07 -0500)
commit67bd077936db0b4c67071e1e13ba0400258b7fa0
tree5029718769ad6d5c3c5a33cb2bb38743cd92197f
parentc456ba25901fd5bf1b6983fcf2400c126cc0fa0d
ksmbd: validate OutputBufferLength of QUERY_DIR, QUERY_INFO, IOCTL requests

Validate OutputBufferLength of QUERY_DIR, QUERY_INFO, IOCTL requests and
check the free size of response buffer for these requests.

Acked-by: Namjae Jeon <linkinjeon@kernel.org>
Signed-off-by: Hyunchul Lee <hyc.lee@gmail.com>
Signed-off-by: Steve French <stfrench@microsoft.com>
fs/ksmbd/smb2pdu.c