Skip to content

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

How to fix it

1. Update or remove the identified driver easy

  1. Update the named driver from the vendor's site (link in the driver card).
  2. If it belongs to anti-cheat/antivirus/VPN software, reinstall or temporarily remove that product.

2. Test RAM and repair system files easy

  1. Run Windows Memory Diagnostic; disable XMP/EXPO temporarily if enabled.
  2. 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 1Type of corruption (e.g. 3 = a corrupted linked list)
Parameter 2Address of the trap frame
Parameter 3Address of the exception record
Parameter 4Reserved

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 1What it means
0x0A stack-based buffer overrun (legacy /GS check).
0x1A corrupted C++ object tried to use an illegal virtual function table (VTGuard).
0x2A stack-based buffer overrun caught by the stack cookie check (/GS).
0x3A corrupted LIST_ENTRY, for example the same entry removed twice.
0x5An invalid parameter was passed to a function that treats invalid parameters as fatal.
0x6The stack security cookie was not initialized by the loader, typically a driver built for a newer Windows than the one running.
0x7A fatal program exit was requested.
0x8A compiler-inserted array bounds check caught an illegal index.
0x9RtlQueryRegistryValues was called in an unsafe way on an untrusted hive.
0xAThe indirect call guard (Control Flow Guard) caught an invalid control transfer.
0xBThe write guard caught an invalid memory write.
0xCAn attempt to switch to an invalid fiber context.
0xDAn attempt to assign an invalid register context.
0xEAn object reference count is invalid.
0x12An attempt to switch to an invalid jmp_buf context.
0x13An unsafe modification of read-only data.
0x14A cryptographic self-test failed.
0x15An invalid exception chain was detected.
0x16A cryptographic library error.
0x17An invalid call from inside DllMain.
0x18An invalid image base address.
0x19An unrecoverable failure while protecting a delay-load import.
0x1AA call to an unsafe extension.
0x1BA deprecated service was invoked.
0x1CAn out-of-bounds buffer access.
0x1DA corrupted RTL_BALANCED_NODE tree entry.
0x25An out-of-range switch jump table entry was used.
0x26A longjmp to an invalid target.
0x27An 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 file