Note: we show the solution for the statement of Kyrgyzstan MO 2012 Q4, which has x and y swapped.
Solution by Particle.
We claim the only solutions are f(x)≡x and f(x)≡−x, which obviously work. We now show they are the only solutions. Let P(x,y) denote the assertion that f(f(x)2+f(y))=xf(x)+y.
P(0,y)⟹f(f(0)2+f(y))=y so f is bijective. Hence assume f(c)=0.
P(c,y)⟹f(f(y))=y(1).
Using (1), P(f(x),y)⟹f(x2+f(y))=xf(x)+y=f(f(x)2+f(y)).
⟹x2+f(y)=f(x)2+f(y)⟹f(x)=±x.
Now suppose ∃ab=0:f(a)=a,f(b)=−b.
P(a,b)⟹±(a2−b)=f(a2−b)=a2+b which is impossible for non-zero ab.