The Brazilian slotted home after gathering a pass from Dani Carvajal but was he beyond the last defender when the ball was played?
The midfielder certainly looked over at the linesman sheepishly after putting the ball in the net but the goal stands. Casemiro had earlier hit the bar for Zinedine Zidane's side.
Check the video out for yourself below.
Here is how Casemiro gave Real Madrid the lead in the #SuperCup.
— SuperSport (@SuperSportTV) August 8, 2017
Coverage continues LIVE on SS3. pic.twitter.com/oHUshiBiTT