KERNEL_SECURITY_CHECK_FAILURE

Code: 0x139 (313)

As HRESULT:As NTSTATUS:

Parameters

ParameterDescription
1The type of corruption. For more information, see the following table.
2Address of the trap frame for the exception that caused the bug check
3Address of the exception record for the exception that caused the bug check
4Reserved

Description

The KERNEL_SECURITY_CHECK_FAILURE bug check has a value of 0x00000139, and indicates that the kernel detects the corruption of a critical data structure.

Important

This article is for programmers. If you're a customer who receives a blue screen error code while using your computer, see Troubleshoot blue screen errors.

Cause

Using the parameter 1 table, and a dump file, you can narrow down the cause for many bug checks of this type.

LIST_ENTRY corruption can be difficult to track down. This 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). Unfortunately, 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.

Common causes of list entry corruption include:

In most cases, you can identify the corrupted data structure by walking the linked list both forward and backwards (the dl and dlb commands are useful for this purpose) and comparing the results. Where the list is inconsistent between a forward and backward walk is typically the location of the corruption. Since a linked list update operation can modify the list links of a neighboring element, you should look at the neighbors of a corrupted list entry closely, as they may be the underlying culprit.

Because many system components internally utilize LIST_ENTRY lists, various types of resource mismanagement by a driver using system APIs might cause linked list corruption in a system-managed linked list.

Resolution

Determining the cause of list entry corruption issues typically requires the use of the debugger to gather other information. Multiple dump files should be examined to see if the stop code has similar characteristics, such as the code that's running when the stop code appears.

For more information, see Crash dump analysis using the Windows debuggers (WinDbg), Using the !analyze Extension and !analyze.

Use the event log to see if there are higher level events that occur leading up to the stop code.

These general troubleshooting tips may be helpful.

See also

Crash dump analysis using the Windows debuggers (WinDbg)

Analyzing a Kernel-Mode Dump File with WinDbg

Article text from the Windows driver documentation (opens in a new tab), by Microsoft, under the CC BY 4.0 (opens in a new tab) licence.

Associated Modules

ModuleCodeFound inDescription
EventCreate.exe0x13978.11011%1
KernelBase.dll0x1398.1Operation is not allowed on a file system internal file.
kernel32.dll0x1398.11011Operation is not allowed on a file system internal file.
webservices.dll0x13978.11011The number of characters decoded (%1) did not equal the number of characters expected (%2).
4 entries