Re: Renewal of B permit and passport validity
As far as I know, the passport, if it is valid at the moment you renew your permit, then there is no problem.
They normally ask you to bring your passport along to renew the permit and there is nothing written there about it's validity. So it is not an issue. Just do renew it once you wish to travel outside of Switzerland in the Schengen zone; as your permit is not going to be enough and you will need to present a valid passport if stopped.
I hope this helps.