If you were speeding and/or had a broken taillight it sure sounds like a valid stop was made, rather than a pretext stop.You would have no basis for objecting to the arrest of the passenger.Having consented to a search you would seem to have little grounds to object to the evidence they found.This becomes a matter of getting a defense lawyer and reviewing all the facts in detail. My senses is you'd want the lawyer working out a plea deal as unless you are a choir boy with a perfectly clean record and/or your passenger would say they were his and you knew nothing about them you'd have a major problem. Your lawyer could always try to convince a jury the drugs were not yours and there are issues creating reasonable doubt but I'd not be too optimistic.