Stack Exchange network consists of 183 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
A kernel panic only appears when something is really damaged, in my experience I have seen this due to hardware problems. So I suggest you to check the HDD or SSD, just to discard the possibility. If the disk is healthy then boot with an USB and save your files, then reinstall.