WHEA errors can be hardware or software
they are an error called by cpu but not necessarily caused by it
can be caused by overclocking
can be caused by overclocking software so things like MSI afterburner or Ryzen Master
can be caused by heat
can be caused by device drivers
If it survives new installs of windows its likely to be hardware
try running this on CPU -
https://www.guru3d.com/files-details/prime95-download.html
Prime 95 how to Guide:
http://www.playtool.com/pages/prime95/prime95.html
Try running
memtest86 on each of your ram sticks, one stick at a time, up to 4 passes. Only error count you want is 0, any higher could be cause of the BSOD. Remove/replace ram sticks with errors. Memtest is created as a bootable USB so that you don’t need windows to run it
what storage do you have?
What motherboard?
Can you follow option one on the following link -
here - and then do this step below: Small memory dumps - Have Windows Create a Small Memory Dump (Minidump) on BSOD - that creates a file in c windows/minidump after the next BSOD
- Open Windows File Explore
- Navigate to C:\Windows\Minidump
- Copy the mini-dump files out onto your Desktop
- Do not use Winzip, use the built in facility in Windows
- Select those files on your Desktop, right click them and choose 'Send to' - Compressed (zipped) folder
- Upload the zip file to the Cloud (OneDrive, DropBox . . . etc.)
- Then post a link here to the zip file, so we can take a look for you . . .