2023-07-29 12:36 GMT+09:00, Long Li <leo.lilong@xxxxxxxxxx>: > In commit 2b9b8f3b68ed ("ksmbd: validate command payload size"), except > for SMB2_OPLOCK_BREAK_HE command, the request size of other commands > is not checked, it's not expected. Fix it by add check for request > size of other commands. > > Fixes: 2b9b8f3b68ed ("ksmbd: validate command payload size") > Signed-off-by: Long Li <leo.lilong@xxxxxxxxxx> Acked-by: Namjae Jeon <linkinjeon@xxxxxxxxxx> Applied it to #ksmbd-for-next-next. Thanks.