US consumer inflation rose more than expected in September as Washington’s war with Tehran drove up energy costs, increasing pressure on households before next month’s midterm elections. President Donald Trump is campaigning to help his Republican Party retain control of Congress.