That housing slump has contributed to a record surge in mortgage defaults , leading to billions of dollars in losses by financial firms and spawning a severe credit crisis that is threatening to send the U.S. into a steep recession .