I was hit by this yesterday. Funsies! I have an iPhone 5s through T-Mobile. It blue screened and rebooted over and over and over again. I finally was able to use iTunes (ugh, iTunes!) to restore to factory settings, then set it up as a new phone. I was unable to back up my data and apps, though. I tried but after a couple of hours it was clear something wasn’t working.
My phone seems fine now. No spontaneous restarts since restoring it. Knock on wood!