DETROIT (AP) — Hyundai and Kia are recalling nearly 1.2 million cars and SUVs because the engines can fail and stall, increasing the risk of a crash.

RELATED: Hyundai Recalls 978K Cars Due To Seat Belts That Could Come Loose

The recall covers the Korean automakers' most popular models including 2013 and 2014 Hyundai Santa Fe Sport SUVs and Sonata midsize cars. Also covered are Kia Optima midsize cars from 2011 through 2014, Kia Sportage SUVs from 2011 through 2013 and Kia Sorento SUVs from 2012 through 2014.

The companies say that debris left from manufacturing can restrict oil flow to connecting rod bearings. That can increase temperatures and cause the bearings to wear and fail.

►Make it easy to keep up to date with more stories like this. Download the WFMY News 2 App now.

Hyundai and Kia will notify owners and dealers will inspect the engines. They'll replace the block if needed at no cost. The recall is scheduled to start on May 19.