I assume they lose whatever deposit they paid - assuming the cheque didn't bounce in the first place....
It must happen relatively often - in fact, that is how we bought our PPOR. It was auctioned, sold, and the sale fell thru on finance. It was then put back on the market, but the vendor was...