Goldman to buy GM's credit business for $2.5 billion, report says

The bank won the bidding for the deal over Barclays, the Wall Street Journal reported.