General Motors said it will buy back outstanding shares worth $6 billion as part of a new stock repurchase plan.