Fannie Mae , the mortgage finance giant that was nationalised in September , added to the gloom , reporting a record $ 29bn quarterly loss and warning it might require further government funds to avoid collapse .