U.S. stocks ended higher on Monday on investor hopes for a strong earnings season, but IBM's disappointing results limited gains.

Earnings reports from Halliburton, Gannett Co., and others, helped ease the worries over global growth and falling commodity prices that last week helped drive stocks close to correction territory.

"Some of the concerns of last week have subsided," said Jack Ablin, chief investment officer at BMO Private Bank in Chicago.