Fix for White square Cursor issue in Ubuntu
if mouse cursor comes as white square in Ubuntu 24.04
then first check which mouse theme you are using; for that install gnome tweaks
Now open it and check under Appearance > Cursor
Now open file Manager and navigate to icons directory
then cursor theme sub directory ( in my case cursor theme is DMZ-Black )
and run below command
Your issue will be resolved