Could you please post the configuration of your pub/sub and cloud run? What type of trigger are you using?
Which type of event is your Pub/Sub topic listening for? Is your Cloud Run service interacting with the same bucket in a way that could trigger subsequent Pub/Sub notifications in an infinite loop? That could be a likely cause for an infinite loop happening in your application, as shown in this example.