KERNEL_SECURITY_CHECK_FAILURE Blue Screen 0x139: 10 Parameter 1 Values

Published November 30, 2026 · SJ AI Studio

KERNEL_SECURITY_CHECK_FAILURE is Windows stop code 0x00000139 (0x139). Microsoft's reference says it "indicates that the kernel detects the corruption of a critical data structure." Despite the word security in the name, the page does not describe an attack. It describes consistency checks that Windows runs on its own data, and what happens when one fails.

Most of the page is a long table: parameter 1 gives the type of corruption, and Microsoft lists 30 values. The Cause section then concentrates on one of them, a corrupted linked list.

This page is built from the Microsoft Learn article "Bug Check 0x139: KERNEL_SECURITY_CHECK_FAILURE" and, where noted, Microsoft's general page on analysing blue screen data, both read on 13 October 2026 and checked against the Microsoft Docs source files. Microsoft marks the 0x139 page as written for programmers and directs customers to https://www.windows.com/stopcode. Anything taken from the general page rather than the 0x139 page is labelled as such.

What does parameter 1 tell you?

Parameter 1 is the type of corruption; parameter 2 is the address of the trap frame, parameter 3 the address of the exception record and parameter 4 is reserved. A selection of the parameter 1 values in Microsoft's table:

Parameter 1What Microsoft says it is
0A stack-based buffer is overrun (legacy /GS violation)
1VTGuard instrumentation code detected an attempt to use an illegal virtual function table
2Stack cookie instrumentation code detected a stack-based buffer overrun (/GS violation)
3A LIST_ENTRY is corrupted (for example, a double remove)
5An invalid parameter was passed to a function that considers invalid parameters fatal
7A fatal program exit was requested
8An array bounds check inserted by the compiler detected an illegal array indexing operation
10Indirect call guard check detected invalid control transfer
14The reference count for an object is invalid
28An out of bounds buffer access was detected

That is 10 of the 30 values; the rest cover areas such as invalid register contexts, cryptographic self-test failures and unsafe extension calls. Value 3, the corrupted LIST_ENTRY, is the one Microsoft treats as the main case.

What is a corrupted list entry, in plain terms?

A LIST_ENTRY is the link between items in a doubly linked list, which Windows uses throughout the kernel. Microsoft says the bug check "indicates that an inconsistency was introduced into a doubly linked list (detected when an individual list entry element is added to or removed from the list)." The important consequence is timing: "the inconsistency is not necessarily detected at the time when the corruption occurred," so "some detective work may be necessary to identify the root cause."

What are the common causes of list corruption?

Driver List Corruption Causes

Microsoft lists five, all of them driver bugs:

For developers, Microsoft suggests walking the list forwards and backwards with the dl and dlb commands and comparing results, because the place where the two walks disagree is typically the location of the corruption. It also notes that Driver Verifier with special pool can sometimes help find the culprit.

What does Microsoft tell non-programmers to do?

The Resolution section ends with general troubleshooting tips, which are the customer-side part of the page:

TipWhat Microsoft says
HardwareIf you recently added hardware, try removing or replacing it, or check with the manufacturer for patches
Drivers and servicesIf new device drivers or system services were added recently, try removing or updating them
System LogCheck the System Log in Event Viewer for other error messages, looking for critical errors in the same time window as the blue screen
Device ManagerLook for devices marked with an exclamation point; review the event log in the driver properties and try updating the related driver
Virus scanRun a virus detection program that checks the Master Boot Record, because disk corruption can generate bug check codes
General guideSee Microsoft's Analyze Bug Check Blue Screen Data page

Microsoft also advises looking at the event log for higher-level events that lead up to the stop code, and examining several dump files to see whether the code running when the stop code appears is similar.

What Microsoft tells non-programmers to do

Putting the customer-side advice into order, as the 0x139 page lists it:

There is no memory test, disk check or system file repair on the 0x139 page, and this page does not add any under Microsoft's name.

Checklist before changing anything

How to work through a 0x139 blue screen

Bug Check 0x139 Stats

Registry edits and paid tools. Microsoft's page does not mention them, so neither does this one.

What do the higher parameter 1 values cover?

Parameter 1 Values

The parameter 1 table does not stop at the familiar overruns. Microsoft lists values well past them, and a few are specific enough to act on. Value 6 says the loader did not properly initialize the stack cookie security cookie, and Microsoft names a concrete way to cause it: building a driver to run only on Windows 8 and then loading that image on an earlier version of Windows. Its stated fix is to build the driver for the earlier version instead. Value 9 covers a call to RtlQueryRegistryValues that specified RTL_QUERY_REGISTRY_DIRECT without RTL_QUERY_REGISTRY_TYPECHECK where the target value was not in a trusted system hive. Others name an unsafe modification to read-only data (19), a failed cryptographic self-test (20), an invalid call from within DllMain (23) and a corrupted RTL_BALANCED_NODE RBTree entry (29). The point is that parameter 1 is read before anything else, because the listed causes have nothing in common beyond the check that caught them.

Every stop code covered here is listed in our Windows blue screen stop code index.

Sources and how to check

Bug Check Details

Questions readers ask about KERNEL_SECURITY_CHECK_FAILURE Blue Screen 0x139

What is stop code 0x139?

It is KERNEL_SECURITY_CHECK_FAILURE (0x00000139). Microsoft says the kernel detects the corruption of a critical data structure.

What does parameter 1 mean?

It is the type of corruption. Microsoft's table lists 30 values, from a stack buffer overrun (0) to an export suppressed call target (39).

What is the most common case?

Microsoft's Cause section concentrates on parameter 1 equal to 3, a corrupted LIST_ENTRY such as a double remove.

Does the page say it is caused by an attack?

No. It describes driver bugs and consistency checks, not attacks.

Does Microsoft say how to fix it for sure?

No. It lists checks, not a guaranteed fix.

Related articles