Net income was $2.8 billion, or $1.90 a share, compared with a loss in the year-earlier quarter of $806 million, or 56 cents a share.
The largest of the Detroit automakers benefited from strong demand and the high prices it was able to charge for its popular trucks and sport utilities, which offset costs related to the Bolt recalls and production disruptions caused by shortages of semiconductors.
Like its rivals, GM also faces uncertainty because of the rapid spread of the Delta variant of the coronavirus. GM, Ford Motor (NYSE:F) Co and Stellantis NV, along with the United Auto Workers, on Tuesday reinstated mandatory mask wearing in their U.S. factories, and called on workers to get vaccinated.
GM’s inventories of unsold vehicles as of June 30 were half the year ago levels. It said it had $1.4 billion worth of vehicles in inventory that had been built without certain electronics modules because of the lack of semiconductors.
GM said its more bullish full-year outlook depended on having no vehicles stuck in inventory because of a lack of semiconductors.