|My guess is hardware.|
You should be able to narrow it down. Simply boot to bios. It if remains stable for hours on bios then it may be software.
1/3 of highway deaths are caused by drunks. The rest are by people who can't drive any better than a drunk.