hello, i had the same issue on parrot os 7 (debian 13), and i see other people had similar problems
basically the sistem went to sleep, and experienced random crashes after a while either just before (or during) wakeop, or after few seconds from wakeup.
sometimes i found my computer in sleep mode but completely unresponsive and very hot.
sometimes it just refused to wake up and paniked before turning the display on.
sometimes it properly woke up but then paniked while i was putting my password.
sometimes it just worked as expected.
i found the cause to be the mediatek wireless chipset, which is known to suck, and since fixing it at drivers level was a pretty hard way to follow, i went for a way simpler solution, that implies disabling wifi and bluetooth and unloading the kernel driver before suspension, and restoring them after wakeup
the procedure is documented in this very simple gist
and here is the actual code in case github somehow disappeared