Dust. Do you have the dust removal system turned on?
Dust removal procedure in order:
- Use the camera dust removal system. There is a menu setting to turn on/off. If you have dust run this several times in a row and then check for dust again. I leave mine on "run on startup" and I think that is best so you don't have to worry about it.
- Use a 'rocket blower' or equivalent to blow off anything the shaker will not get rid of. Do not use compressed air or canned air. Some folks report it is OK to use canned air if you are careful, personally I'm not taking any chances but YMMV.
- Use a wet cleaning kit. This is the last resort, and on two cameras with over 25,000 actuations in all kinds of environments I've never had to use one yet. Get this if all else fails but don't go there unless you are sure you need it.
- Send in for professional cleaning. Pentax extended warranty (in the US) includes one 'free' cleaning. Not sure about anywhere else.
Easiest way to check for dust is to set your aperture to f/22 or so and take an image of the sky. Dust on the sensor is more visible at smaller apertures.