Samsung’s Galaxy S7 smartphones — thousands of which have been sold to Irish customers — contain a microchip security flaw uncovered earlier this year that put tens of millions of devices at risk to hackers looking to spy on their users, researchers have said.