0x0000013A_
Kernel Mode Heap Corruption
Seeing 0x0000013A on Windows 10/11 means the OS detected "Kernel Mode Heap Corruption". Before reinstalling anything, work through the steps below — the fix is often simpler than it looks.
What Actually Happened
Windows kernel halted due to: a kernel-mode heap buffer was overrun, corrupting adjacent memory.
Symptoms
Blue screen appears with stop code KERNEL_MODE_HEAP_CORRUPTION
Common Causes
- Kernel condition: a kernel-mode heap buffer was overrun, corrupting adjacent memory
- Outdated or conflicting third-party driver
- Overheating or failing hardware (RAM/SSD)
How to Fix It
-
01
Boot into Safe Mode and roll back recently installed drivers
-
02
Run memory diagnostic:
mdsched.exe -
03
Run system scan:
sfc /scannow && DISM /Online /Cleanup-Image /RestoreHealth
System Administrator Emergency Kit
Stop searching for syntax under pressure. Get 100+ verified, battle-tested emergency recovery commands for Windows & Linux in one printable PDF guide.
Root Cause Breakdown
Stop code KERNEL_MODE_HEAP_CORRUPTION (0x0000013A) triggered a bugcheck to protect memory integrity.
Should You Worry?
Urgent. Save work frequently to avoid data loss.
Power-User Tip
Check minidump logs in C:\Windows\Minidump to identify the failing .sys file.
Software fix: $0; Hardware replacement: $50�$250