Linear stability of exponential density profiles