The firm says a bug in its operating system and updates to apps like Instagram are behind the issue.