Under Chapter 13, a person's home mortgage is usually left unaffected as long as they continue to make their mortgage payments. Where your second mortgage is concerned, however, there is an exception worth reviewing.
If your house is worth less than your first mortgage, other mortgages on the home are no longer secured by the property's value. Under Chapter 13 bankruptcy this actually opens a door which will allow you to "strip" the mortgage as an unsecured loan. For example, if your home is currently worth $500,000 but you owe $550,000 on the mortgage and you have a second mortgage for $50,000, that second mortgage is no longer secured by the value of your home. Under chapter 13 it is legal to remove an unsecured mortgage.