from the CA CHP website:
Q: Can motorcycle riders "split" lanes and ride between other vehicles?
A: Lane splitting by motorcycles is permissible but must be done in a safe and prudent manner.