Mazda Motor Corp said on Thursday it would recall a total of 2.3 million vehicles worldwide over potential problems with their rear gates.