Security issue in Qualcomm's Snapdragon chipset has put 40% of smartphones under risk