A novel model for white matter lesions into a previously validated generative model for whole-brain segmentation is integrated, showing robust performance in white matter lesion segmentation while simultaneously segmenting dozens of other brain structures from multi-contrast brain MRI scans of multiple sclerosis patients.