This is ProPublica’s Bailout data. The dataset is primarily derived from reports issued by the Treasury Department. The sole exception is data for Fannie Mae and Freddie Mac, which is derived from quarterly and annual SEC filings by the two companies (follow the links to each company’s filings).
The database includes data on expenditures by the Treasury Department via both the broader $700 billion TARP bill (later reduced to $475 billion) and the separate bailout of Fannie Mae and Freddie Mac. The downloadable version of the data available for purchase includes summary data for each entity that received funds from the bailout programs, as well as detailed data on all transactions with the Treasury by the given entity – both disbursements to the entity and payments back to the Treasury.
A readme file, included with the sample, provides more detailed information about what data is available.