@GameCrucnh As I've already mentioned, I can't be 100% certain but I still believe that it's highly unlikely to be a CPU defect, although not absolutely impossible. Were I troubleshooting your friend's problem, I would start off by googling "Aida64" + <the exact error given>. also post error in AIDA64 forum in addition to here (
https://forums.aida64.com/). I suspect that the error is the result, not cause, of another issue. Again, I would have made a message board thread listing all specs including cpu fan and power supply's mfg & model #, I would notate the current BIOS version and date and then update the BIOS, reset BIOS to default settings, remove ram overclocking while diagnosing problem, install firmware directly from AMD, monitor and notate temps while running AIDA64. Personally I would go as far as swapping in another SSD or HDD for testing, and install a clean copy of Windows 10 without a license key, since this is only for testing purposes. I know that what I propose sounds like a lot, but it can all be done relatively quickly. Again, if you're 100% certain that it's a manufacturing defect in the CPU, then submit a warranty claim, and then you could always continue with troubleshooting while waiting for AMD to make a determination of whether the claim is approved or not:
https://www.amd.com/en/support/kb/warranty-information/rma-form
Let us know what you decide and how you plan to proceed. Whatever the ultimate solution is, I'd appreciate you sharing it here. Thank you.