This issue seems to come and go for me. It's frustrating, I run the same hardware with Linux with no issues.
I just wanted to add that making sure relevant drivers are up-to-date seems to help for me. For some reason I had three crashes yesterday, so I had to address the issue as it was interfering with my work. Every crash coincided with a GameInput reconfiguration.
I decided to go after the drivers after what GiuseppeMichieli wrote. I should note that I do not use secure boot, because I boot into Linux as well as Windows, which doesn't work seamlessly with secure boot on. I already had up-to-date BIOS. My system is x470 Taichi with Ryzen 9 5950x. GPU is Nvidia GTX 1660. I grabbed the latest drivers for sound (I had a blue screen after installing sound), GPU and chipset. System has been stable for 24 hours and there have been four GameInput reconfigurations. 24 hours is not that much time, but I had three crashes within an hour and they stopped after I installed the aforementioned drivers. I thought I should share this given how frustrating I'm sure this issue is to other users.