Ericsson shares fell sharply in European trading, erasing earlier gains as investors digested the impact of surging memory chip prices on the telecom equipment maker's margins.

The Swedish company finds itself on the wrong side of a semiconductor cost spike that is reshaping profit dynamics across the technology supply chain.

The sell-off follows Ericsson's second-quarter results, which highlighted mounting cost pressures despite delivery updates.

While the company navigates these input cost headwinds, the broader semiconductor sector is experiencing a bifurcation in fortunes.

Memory suppliers are reaping the benefits of the price environment, while downstream integrators and equipment makers face margin compression.

The divergence is stark when compared to peers like Samsung Electronics, which recently reported a record second-quarter operating profit fueled by intense demand and higher prices in the memory market.