Will Ferrell in rollover SUV crash!

WILL FERRELL was hospitalized Thursday night when his SUV was rear ended on the I-5 freeway in Orange County and flipped over. He wasn't seriously injured, and he was released early Friday morning.

Will's longtime driver was behind the wheel, and there were two other people in the vehicle. The driver and one of the other passengers were hospitalized, but are in stable condition. Will was said to be remaining by their sides as they got treatment.

TMZ hasvideo of Will being loaded into an ambulance, but he seemed fine, and was talking on his phone. Police don't believe drugs or alcohol were a factor.