How badly was the name misspelled?
You can file an amended return with the correct name, but the IRS typically matches the social security number withe first four letters of the taxpayer's last name (or first three if the last name only has three letters).