iMac keeps freezing and restarting even after restore and updates
Hello, I have an M1 iMac. I've had it without any problems for a while; however, it suddenly started freezing and restarting. Sometimes, when it's not performing any task, it restarts. On some restarts, the Apple logo appears; however, it turns on and off automatically, not loading the usual bar. Sometimes, if it does load, it's very random.
I can use it but until it shuts down again. I have the latest update installed.
What I've tried so far is restoring the Mac, and it also restarted, without any apps or programs installed.
Please note that I don't have any peripherals or USB cables connected to the iMac.
I entered the mode to check for a hardware problem, but nothing was detected. The photo I attached is from the last restart with the error description.
I don't know what to do to solve this problem. Any suggestions?
[Edited by Moderator]
Original Title: Consistent problem with the M1 iMac.
iMac 24″