First, it’s almost impossible to help you until you include a bug report file.
This is a totally wild guess without the above, but maybe you are using proprietary drivers instead of open.
Mind you, this was released back in 2022… There are newer kernels available in the official backports repos (like 6.12). Generally however I’d recommend updating to Debian-13 (you can then use Nvidia driver repos for Debian-12: they just work).