There may not be any issue with the visa validity in the passport visa stamping but the passport end date may influence the I-94 date which will be issued while you are entering into the USA. So, best option would be to get the passport renewed ASAP.
You dont need the renewed passport at this moment to get your visa stamping. But get the updated passport before you are entering into USA.