I asked the TSA guy checking Id's and Passports about that very same thing he said Passports expire on the date shown you may travel as long as you are back home before it expires.
But he did say that there may be countries that want a Passport that is valid for at least 6mo.
I used my passport last April and it expired in June without any trouble