Correct me if I'm wrong but what Magnetar did was buy the riskiest portions of the CDOs. The most junior pieces. They were the first to get hit if there were any losses in the tranche. So if there was a loss in the tranche, Magnetar would keep eating it until its position was wiped out. In exchange for the risk, they got an extremely high yield. These CDOs were supposedly rated highly by the ratings agencies so it was tempting to many to see AAAs with such a high yield. Additionally, many of these CDOs may have had insurance backing them up to enhance their attractiveness. The problem was that the ratings were completely off and the insurance companies could not deal with all of these defaults so the insurance was worthless as well.