Major chip flaws affect billions of devices