When is it legal to pass another vehicle on the right?
It's legal to pass another vehicle on the right only when you are on a freeway with two or more lanes in your direction. This situation allows you to move into the right lane to overtake a slower vehicle safely, provided it does not involve leaving the pavement or main-traveled portion of the road.
Cut Study Time from Hours to Minutes with the California DMV “Cheat Sheet”