Kernal Panics, High Sierra : Late 2013 MacBook Pro Retina 15"
Usually kernel issues are related to software but they can also be caused by bad hard drives. I would boot the Mac into recovery mode (turn mac on, hold down "command" + R until you see the Apple Logo. And then go to Disk Utility and run a First Aid on your Macintosh HD hard drive (do all hard drives anyway just to make sure). If it passes then try reinstalling macOS (OS X). If it fails I'd replace it and do a backup of it ASAP.