Honda has recalled more than 250,000 vehicles due to faulty software that could cause unsafe driving conditions.