Stability of Planetary Interiors