“For years, weapons of war have been freely flowing into Iraq. Slack controls over Iraqi military stockpiles and endemic corruption by successive Iraqi governments have added to the problem.”
Source: How Islamic State got its weapons | Amnesty International UK