"Straight Outta Compton" star Jason Mitchell was trying to get straight outta dodge to a better quarantine spot when he got busted for drugs and weapons, but it's all a big mix-up ... at least according to his camp.
Mitchell's agent, Dr. Glenn Toby, tells TMZ ... the vehicle the actor was driving when he got arrested in Mississippi is not his -- and neither are the guns, 2 pounds of marijuana and 1,300 doses of MDMA cops found inside. He claims it's a friend's rental car.
According to Toby ... Jason was using the car to flee with his immediate family to a safer spot to shelter-in-place during the coronavirus pandemic, because where they were staying had become dangerous.
The agent would not elaborate, but claims Mitchell decided to leave in his friend's rental instead of hiring a car service ... due to fears of COVID-19 exposure.
Harrison County Sheriff Troy Peterson tells us ... Mitchell was initially pulled over for careless driving, and there was a woman and a minor inside. We're told the woman was not charged in the bust, and cops allowed her to leave with the child.
Our sources say the woman and child are Mitchell's family members, and they were heading to his mother's home before getting stopped and arrested.
Law enforcement declined to comment on whether the vehicle was his friend's rental car.
We broke the story ... Jason, who played Eazy-E in the N.W.A biopic, is facing 2 felony charges for possession of a controlled substance with intent to distribute, and 2 more felony charges for possession of a weapon by a felon.
Jail records indicate the confiscated weapons include a Glock 19 pistol and a mini Draco AK47 semi-automatic pistol.