General Motors (NYSE:GM) issued a recall of up to 26,582 vehicles Wednesday. It warned that "a software problem may cause the transmission to inadvertently shift to Sport mode removing any transmission-related engine braking effect. If engine braking is unexpectedly removed, it may increase the risk of a vehicle crash."

Affected vehicles include certain 2013 Buick LaCrosse vehicles, manufactured between April 25, 2012 and March 6, 2013, and 2013 Cadillac SRX vehicles, manufactured between May 29, 2012 and Feb. 18, 2013.

Beginning on March 28, GM will contact owners about the recall and invite them to bring their cars in to GM dealers to have the transmission control module reprogrammed free of charge.

GM shares are up 2.5% despite the news, recently trading at around $28.81.

Fool contributor Rich Smith has no position in any stocks mentioned. The Motley Fool recommends General Motors. Try any of our Foolish newsletter services free for 30 days. We Fools may not all hold the same opinions, but we all believe that considering a diverse range of insights makes us better investors. The Motley Fool has a disclosure policy.