Iraqi police say a suicide truck bomb attack has killed at least 22 people and wounded 40 others in a small town in northern Iraq .