STOP 0x00000139
KERNEL_SECURITY_CHECK_FAILURE
Windows found one of its internal safety checks violated, a corrupted list, an overwritten stack cookie, or similar. Something (usually a driver, sometimes RAM) corrupted kernel data structures.
Likely causes, most common first
- A buggy driver corrupting kernel memory: anti-cheat, antivirus and VPN drivers appear often
- Faulty RAM or an unstable memory overclock
- Corrupted system files
- An old driver incompatible with the current Windows version
How to fix it
1. Update or remove the identified driver easy
- Update the named driver from the vendor's site (link in the driver card).
- If it belongs to anti-cheat/antivirus/VPN software, reinstall or temporarily remove that product.
2. Test RAM and repair system files easy
- Run Windows Memory Diagnostic; disable XMP/EXPO temporarily if enabled.
- In an admin terminal run: sfc /scannow, then DISM /Online /Cleanup-Image /RestoreHealth
The four parameters on the blue screen
Windows shows four hex numbers with this stop code. Here's what each means, our analyzer decodes them automatically from your dump file.
| Parameter 1 | Type of corruption (e.g. 3 = a corrupted linked list) |
| Parameter 2 | Address of the trap frame |
| Parameter 3 | Address of the exception record |
| Parameter 4 | Reserved |
What parameter 1 tells you
How to use this: find the four numbers Windows gave with the stop code. They are on the blue screen, in a crash viewer, and in Event Viewer under Windows Logs, System, as event 1001: "The bugcheck was: 0x00000139 (parameter 1, parameter 2, parameter 3, parameter 4)". Take parameter 1, drop the leading zeros, and find it in the table. The row tells you where to look first; a value that is not listed is one Microsoft's reference does not document.
| Parameter 1 | What it means |
|---|---|
| 0x0 | A stack-based buffer overrun (legacy /GS check). |
| 0x1 | A corrupted C++ object tried to use an illegal virtual function table (VTGuard). |
| 0x2 | A stack-based buffer overrun caught by the stack cookie check (/GS). |
| 0x3 | A corrupted LIST_ENTRY, for example the same entry removed twice. |
| 0x5 | An invalid parameter was passed to a function that treats invalid parameters as fatal. |
| 0x6 | The stack security cookie was not initialized by the loader, typically a driver built for a newer Windows than the one running. |
| 0x7 | A fatal program exit was requested. |
| 0x8 | A compiler-inserted array bounds check caught an illegal index. |
| 0x9 | RtlQueryRegistryValues was called in an unsafe way on an untrusted hive. |
| 0xA | The indirect call guard (Control Flow Guard) caught an invalid control transfer. |
| 0xB | The write guard caught an invalid memory write. |
| 0xC | An attempt to switch to an invalid fiber context. |
| 0xD | An attempt to assign an invalid register context. |
| 0xE | An object reference count is invalid. |
| 0x12 | An attempt to switch to an invalid jmp_buf context. |
| 0x13 | An unsafe modification of read-only data. |
| 0x14 | A cryptographic self-test failed. |
| 0x15 | An invalid exception chain was detected. |
| 0x16 | A cryptographic library error. |
| 0x17 | An invalid call from inside DllMain. |
| 0x18 | An invalid image base address. |
| 0x19 | An unrecoverable failure while protecting a delay-load import. |
| 0x1A | A call to an unsafe extension. |
| 0x1B | A deprecated service was invoked. |
| 0x1C | An out-of-bounds buffer access. |
| 0x1D | A corrupted RTL_BALANCED_NODE tree entry. |
| 0x25 | An out-of-range switch jump table entry was used. |
| 0x26 | A longjmp to an invalid target. |
| 0x27 | An export-suppressed call target could not be made valid. |
Values and meanings from Microsoft's bug check 0x139 reference; the plain wording is ours.
Got a crash dump? Get your verdict in seconds
Drop the .dmp file into our analyzer. It runs entirely in your browser. No upload, no size limit, no account.
Analyze my dump fileHelping someone with the same problem?
Send them this page, or link to it from a forum reply or your own site.