The bomber killed the deputy head of the Anbar Operations Command, Staff Major General Abdulrahman Abu Raghif, and 10th Division commander Staff Brigadier General Safin Abdulmajid, spokesman Brigadier General Yahya Rasool told AFP.
A statement from the Joint Operations Command confirmed the deaths of the two officers along with an unspecified number of other "heroic martyrs".
Rasool said the attack took place in the Al-Jaraishi area north of Ramadi, a city the ISIS terrorist group seized in May after pro-government forces had held out against militants for more than a year.
Baghdad's forces have managed to regain significant territory in two provinces north of Baghdad, but psrts of western Iraq, including Anbar province, remains outside government control.