no doubt this is legit. Happens to be the issue the called about is because someone at the IRS screwed up but this is a real agent working at the IRS about a tax issue.
got 3 back to back calls from this number. the IRS will NEVER call you. they only correspond by mail. The only call you would get would be a local number from an IRS agent if you are working with one. they will give you their badge/id number and send you letters before contacting you by phone.