Linear stability of modulated plasma profiles