Hey, @casimero. Welcome to the Lightroom Community. I'll help you figure this out.
It could be related to the GPU drivers in your computer. The GPU Drivers on your machine are from July.
Sometimes, the latest GPU Drivers from AMD or Nvidia don't play well with Lightroom's masking & AI features. Please install a slightly older, recommended stable version of graphics drivers from AMD & check if the issue exists.