A massive clog in the pipes of the American mortgage system is bubbling up in Richmond courts.

SunTrust Mortgage, headquartered in Manchester, has filed dozens of lawsuits over the past 18 months in a quest to recoup millions of dollars from small companies that sold loans to SunTrust that went bad.