A roadside bomb exploded near a vehicle carrying security forces in restive northwestern Pakistan, killing four officers and wounding five others, officials said Thursday, and the same day two schoolchildren were killed when a mortar exploded near them elsewhere in the northwest.