ksmbd: add buffer validation for SMB2_CREATE_CONTEXT
authorHyunchul Lee <hyc.lee@gmail.com>
Fri, 24 Sep 2021 13:22:22 +0000 (22:22 +0900)
committerSteve French <stfrench@microsoft.com>
Thu, 30 Sep 2021 14:58:07 +0000 (09:58 -0500)
commit8f77150c15f87796570125a43509f9a81a3d9e49
tree6070c7ad6684556aa7c87a45fe74fa74a64aecf5
parent442ff9ebeb0129e90483356f3d79c732e632a7a6
ksmbd: add buffer validation for SMB2_CREATE_CONTEXT

Add buffer validation for SMB2_CREATE_CONTEXT.

Cc: Ronnie Sahlberg <ronniesahlberg@gmail.com>
Reviewed-by: Ralph Boehme <slow@samba.org>
Signed-off-by: Hyunchul Lee <hyc.lee@gmail.com>
Signed-off-by: Namjae Jeon <linkinjeon@kernel.org>
Signed-off-by: Steve French <stfrench@microsoft.com>
fs/ksmbd/oplock.c
fs/ksmbd/smb2pdu.c
fs/ksmbd/smbacl.c