A professor and two students were stabbed during a gender studies class at the University of Waterloo in Canada on Wednesday, and one person is in custody, authorities said.