[PATCH v2 3/5] ksmbd: prevent out of bound read for SMB2_WRITE