Samsung recalls the Galaxy Note 7 worldwide

Samsung is recalling millions of new Galaxy Note 7 smartphones worldwide after reports of the devices catching fire while charging.

The massive recall of one of Samsung’s flagship devices is an embarrassing setback for the world’s biggest selling smartphone maker. The Note 7 was unveiled just a month ago, and big rival Apple(AAPL, Tech30) is expected to show off its new smartphone next week.

Samsung(SSNLF) said Friday it had found a problem with the battery in some of the phones and was halting sales. In the coming weeks it will offer customers a new product for free to replace all 2.5 million Galaxy Note 7s that have been sold.

It’s unclear what owners of the phones should do now. The company said it will take about two weeks to prepare the recall, and the date new products will be available will vary by country. People worried about their batteries should contact their nearest Samsung service center, it added.

South Korean news agency Yonhap had previously reported that there have been five claims around the world of Note 7s catching fire while charging. Unverified photos posted on social media showed charred devices.