The average rate on a 30-year fixed-rate mortgage reached 7.40 percent for the week ending October 8, according to Freddie Mac.