DETROIT (AP) -- General Motors Co. is recalling some Chevrolet Volt gas-electric hybrid cars to fix a problem that can cause carbon monoxide to build up in an enclosed space.

A 2012 Chevrolet Volt sits on the display floor at the Chicago Auto Show (Scott Olson/Getty Images)

The recall covers just over 64,000 Volts from the 2011 through 2013 model years in the U.S., Canada and elsewhere.

The Detroit company says if a driver exits the car and leaves it on, the battery could eventually drain and the gas generator would start running. If that happens in a garage or other enclosed space, the dangerous gas could build up.

GM said Thursday it's aware of two unspecified injuries but no deaths from the problem.

Dealers will update software that limits how long a Volt can be left idling.

© 2015 The Associated Press. All rights reserved. This material may not be published, broadcast, rewritten or redistributed