Frequent restarts with kernel panic errors after upgrading to macOS Monterey 12.5
I have a 2019 16 inch, Core i7, 32GB RAM, 2TB SSD, 4GB AMD Radeon GPU MacBook Pro.
The issue started in late 2021 after upgrading from BigSur to Monterey.
Immediately after the upgrade was finished, the system restarted while it was waiting at the login screen.
This continued for several months, where it would restart mostly when idle.
The system would become unresponsive, fans spinning up fast, and then restarting with a kernel panic error message.
I hoped it would get fixed with 12.1, 12.2, etc., but it didn't.
I tried the usuals- resetting the SMC and NVRAM, running diagnostics, running first aid, uninstalling third party apps, doing a clean install. etc.
Finally, I submitted the device to the service center, they serviced it, cleaned the dust, and ran advanced
diagnostics available to them. They did not find any issues.
It worked fine after that, but the issue cropped up again immediately after upgrading to 12.5.
Now I am confused if this is a software issue or a hardware issue, and the system is unusable with the device restarting every 5-10 minutes sometimes.
Previous shutdown cause result: