lis pendens

Suppose a trustor has a law suit against the beneficiary and the trustee and the property is bought at a foreclosure auction. And in due course the judgment is in favor of the trustor. Thus making the foreclosure unenforceablr.Q. does the buyer recover the investment/purchase money from the beneficiary.

If a sale is rescinded or invalidated then the money paid at trustee sale is returned to the bidder.