Oil prices extended gains on Wednesday as uncertainty over a possible US-Iran peace deal and fresh attacks on shipping raised fears of further supply disruptions in the Middle East. The rise came despite industry data pointing to an increase in US crude inventories.