Yes, it is legal in California. The rider is only supposed to go up to 10 mph faster while passing during lane splitting. And it is generally only done in the HOV lane or between lanes one and two. The rider just has to be cautious when cars change lanes. Some drivers tend to be envious of riders lane splitting so they purposely block our path.