Stocks fell late on Friday as a spike in oil prices revived worries that inflation would derail the recovery, jolting a market that had been treading water ahead of earnings.

The Dow Jones industrial average <.DJI> was down 29.59 points, or 0.24 percent, at 12,379.90. The Standard & Poor's 500 Index <.SPX> was down 5.36 points, or 0.40 percent, at 1,328.15. The Nasdaq Composite Index <.IXIC> was down 15.73 points, or 0.56 percent, at 2,780.41.

For the week, the Dow rose 0.03 percent while the S&P 500 and Nasdaq each lost 0.3 percent.

(Reporting by Chuck Mikolajczak; Editing by Leslie Adler)