From Wikipedia: (sources cited there) "California has no laws explicitly prohibiting lane splitting, and is the only U.S. state in which it is officially stated that lane splitting, when done safely, is legal."
Even when lane splitting might be legal, wreckless driving/riding is illegal everywhere.