Kia Motors Corp. said Friday it was recalling more than 507,000 vehicles in the United States because an electronic glitch may prevent air bags from deploying in a crash.

The recall follows an announcement in March by the National Highway Traffic Safety Administration (NHTSA) that it was investigating why some air bags had failed to deploy in Kia vehicles and its affiliate Hyundai Motor Corp. after crashes in which four people were killed and another six were injured.

The two Korean automakers have now recalled nearly 1.1 million U.S. vehicles to address the issue. NHTSA said in March that it was aware of six serious crashes in which air bags failed to deploy in frontal crashes, including four in 2011 model Hyundai Sonatas and two in 2012 and 2013 Kia Forte vehicles. The crash of the 2013 Forte occurred in Canada.