I just got a replacement of my 12.9 a couple days ago for this reason.
As did I on my 12.9 for the exact same reason. I was actually surprised they did not just replace the display and gave me a total replacement device. The tech said they actually have a warranty replacement category of ‘light leakage’ for this reason.