Pitted keratolysis, also known as "sweaty sock syndrome," is a bacterial infection that causes small pits or craters on the soles of the feet. A foul odor often accompanies this foot problem.