If you are selling your primary residence as a short sale, The Mortgage Debt Relief Act of 2007 generally allows taxpayers to exclude income from the discharge of debt. The debt reduced through mortgage restructuring, as well as mortgage debt forgiven in connection with a short sale or foreclosure, qualifies for the relief granted.
The Mortgage Debt Relief Act applies to debt forgiven in calendar years 2007 through 2012. Up to $2 million of forgiven debt is eligible for this exclusion or $1 million if married but filing separately. The exclusion does not apply if the discharge is due to services performed for the lender or any other reason not directly related to a decline in the home’s value or the taxpayer’s financial condition. This act was put in place for the specific purpose of helping home owners avoid the financial hardship caused by doing a short sale.
More
here...This only applies to the primary residence, purchase of the home, improvements. Second home, vacation homes, rental property - not covered.
See your tax advisor. But for many people this will alleviate the tax problem.