"loginwindow quit unexpectedly: my macbook pro m2 keeps restarting frequently displaying crash report mentioning loginwindow quit unexpectedly. The link of the details of the crash report is being uploaded here. Your support is greatly appreciated. Thank you."
-------
Troubleshooting a Mac in a Boot Loop:
Is this consistent? If so, it seems you are in a boot loop. So, refer to the following...
A. Reset your SMC and your NVRAM:
(Applies to Intel-Basel Macs Only) Sometimes changes (i.e. Installations) are made to the system and then settings (i.e. Networking) become corrupted, technically. So, reset both on your Mac. So, reset the SMC and reset the NVRAM or PRAM. It might take three tries. to fix this. So, be certain you have the time to do so.
Start With This:
B. Re-Mount the Drive:
Boot into Recovery Mode (Intel or Silicon) . You need to click the “Mount’ button to proceed. So, select the drives, and then click "Mount" Try rebooting once more. If of no success, then click unmount button, and then the mount button. Try rebooting once more. It looks dulled-out. So, if you cannot click it, then click the First Aid button to fix this volume.
and...
C. Install, or Restore to Access it:
If it is telling you kennel error,, then it is likely due to a corrupt update. So, either(A.) backup your Mac > erase the drive in Recovery Mode (Intel or Silicon) > install Catalina > Move a content using Migration Assistant. Or, (B.) just restore your Mac from a backup you created prior to this update. Didn't make a backup? If so, take this as a learning experience, knowing to always back up your Mac prior to making any major changes to it(such as an update. That way you can have something to restore your Mac from, should anything go wrong with the update.