Kennedy underwent surgery for a malignant brain tumor last year , after being diagnosed in May .