Solution:
macOS records exactly what caused the kernel panic. Learning to read these logs is a sysadmin superpower.
Step 1: Locate the Log
1Press Command + Space to open Spotlight, type Console, and hit Enter.
2In the left sidebar, look under Reports and click on Crash Reports (or Mac Analytics Data on older macOS versions).
3Look through the list for any file ending in .panic (e.g., Kernel-2026-08-21.panic). Click on it.
Step 2: Analyze the Log
The log looks like terrifying gibberish, but you only need to look for two specific things:
Search for "loaded kexts" or "dependencies": Scroll down to the section titled
last loaded kext at macos... or look for the
Kernel Extensions in backtrace block.
If you see something like
com.symantec.kext or
com.cisco.anyconnect.kext, you have found your culprit! Uninstall that specific software.
Search for "panic(cpu": Look at the string directly following this. If it says
panic(cpu 0 caller...): "Bad address" followed by
WindowServer, it is likely a graphics driver or external monitor issue.
Step 3: Peripheral Check
If the log doesn't point to software, unplug ALL external devices (USB hubs, monitors, hard drives) and use the Mac. A failing third-party USB-C hub is one of the most common causes of random kernel panics.