I did some searching on the internet, and found a few articles on possible causes of dogs walking in circles:
What Medical Conditions Could Cause My Dog to Walk in Circles? Dog Walks in Circles
It might be nothing serious at all, or it could be an ear infection or a neurological problem. I would either take the dog to the vet, or show the vet a video of the behavior.