Quick answer

KERNEL_SECURITY_CHECK_FAILURE (0x139) means the Windows kernel found one of its critical data structures corrupted, and Microsoft attributes most stop errors to third-party driver code. Read Parameter 1 from the Kernel-Power 41 event in Event Viewer, undo the last driver or hardware change, install Windows updates, run DISM then sfc, and only then test memory and read the dump.

Fix steps

5 steps

All PC fixes
Contents

At a glance

Applies to
Windows 11 and Windows 10, stop code 0x139
First check
Kernel-Power event 41 in Event Viewer, no download needed
Usual suspect
A driver or app installed just before the first crash
Stop when
Defaults, clean drivers and repaired files still crash: call support

Provenance

  • Jul 13, 2026Published
  • Nov 18, 2026Last substantive update

One desktop starts throwing KERNEL_SECURITY_CHECK_FAILURE (0x00000139) the night a Realtek audio or Wi-Fi driver updates. Another hits the exact same blue screen twenty minutes after enabling DDR5-6400 EXPO in UEFI.

Same stop screen. Completely different causes.

Before pulling sticks or wiping Windows, I ask one question first. What changed right before the first 0x139? Write that answer down while the timeline is fresh, then read the first crash parameter so Windows tells you which security check tripped.

Microsoft’s 0x139 reference says the bug check “indicates that the kernel detects the corruption of a critical data structure.” It doesn’t say who corrupted it. The odds favor software: Microsoft’s advanced stop-error guide attributes 70% of the crashes it analyzed to third-party driver code and 10% to hardware. So the steps below run from the free, reversible software checks to the memory test, and WinDbg comes last.

1. Read the stop code and Parameter 1 in Event Viewer

Windows already recorded the crash, and reading it needs no download.

  1. Open Event Viewer from Start search and go to Windows Logs > System.
  2. Find the Kernel-Power event with ID 41 logged when the PC came back up after the crash.
  3. On its Details tab, BugcheckCode is the stop code in decimal: 313 is 0x139. BugcheckParameter1 is Parameter 1, already written in hex (for example 0x3).
  4. Look at the System log entries from the minutes before that restart for driver or service errors, and note the time and what you were doing.

Microsoft’s Event ID 41 page documents those fields and says the code is stored in decimal, while most bug check documentation uses hex. If BugcheckCode reads 0, Windows didn’t record a stop code for that restart. Microsoft lists two things to check then: interrupted power or an underpowered or faulty power supply, and a missing dump file (a volmgr event 46 points at the page file configuration). The random restarts guide covers that route.

Also copy the newest .dmp file out of C:\Windows\Minidump into a folder on your desktop so automatic cleanup never deletes it, for Step 5 or for support. Empty folder? Check System Properties > Advanced > Startup and Recovery > Settings and confirm Small memory dump (256 KB) is selected per Microsoft’s small-dump guide. Never force-crash your PC to manufacture a dump.

Match Parameter 1 to Microsoft’s table

Watch out for one classic trap here. Event Viewer and WinDbg show Parameter 1 in hexadecimal, but Microsoft’s 0x139 parameter table lists it in decimal. Hex 0x14 is decimal 20, so don’t read it as row 14; hex 0x1d is decimal 29.

Parameter 1 (hex, as Event Viewer and WinDbg show it)Microsoft’s table (decimal)Microsoft’s descriptionWhere to go next
0x00A stack-based buffer is overrun (legacy /GS violation).Recent driver changes (Step 2), then the module on the stack (Step 5)
0x22Stack cookie instrumentation code detected a stack-based buffer overrun (/GS violation).Same as 0x0
0x33A LIST_ENTRY is corrupted (for example, a double remove).Step 2; Microsoft’s listed causes are driver mistakes, and the damage can predate the crash (Step 5)
0x55An invalid parameter was passed to a function that considers invalid parameters fatal.Steps 2 and 3, keep the dump for Step 5
0xe14The reference count for an object is invalid.Steps 2 and 3
0x1420A cryptographic self-test failed.Steps 3 and 4 (Windows and firmware updates)
0x1d29An RTL_BALANCED_NODE RBTree entry is corrupted.Same as 0x3

Any other value: convert it to decimal and read its line in Microsoft’s table. The value matters most when you compare several crashes, and when you hand them to support.

2. Undo the last driver, app or hardware change

Microsoft’s tips for 0x139 start here: if you recently added hardware, remove or replace it; if new device drivers or system services were added, remove or update them; and look in Device Manager for devices marked with an exclamation point.

If 0x139 started right after an audio, LAN/Wi-Fi, RGB utility, or game anti-cheat update, roll that change back. If crashes loop before you reach the desktop, use Windows Startup Settings to step back in Safe Mode.

  1. Confirm your BitLocker key first. Microsoft notes you need it to change startup settings on an encrypted device. Look up your BitLocker recovery key at aka.ms/myrecoverykey on a phone or second computer.
  2. Boot into Safe Mode if you need it. Hold Shift while clicking Restart (or let WinRE open Troubleshoot > Advanced options > Startup Settings > Restart), then press 4 or F4 for Enable Safe Mode. Microsoft describes Safe Mode as a basic state with a limited set of files and drivers, so a problem that doesn’t happen there isn’t coming from the default settings and basic device drivers.
  3. Roll back the changed driver. Open Device Manager, right-click the recently updated audio, network, or display adapter, open Properties > Driver, and select Roll Back Driver (Microsoft’s Device Manager steps need an administrator account). For a GPU crash lead (nvlddmkm.sys or amdkmdag.sys), follow my GPU driver crash guide. If an outdated motherboard RGB or hardware-monitoring utility installed WinRing0x64.sys or ene.sys, uninstall that utility cleanly from Installed apps.
  4. Test one change at a time. Reboot normally and run the exact game or workload that triggered 0x139 before touching any second driver or BIOS setting.

If the crashes start with one game and its anti-cheat, the Easy Anti-Cheat fix guide covers that case.

3. Install Windows updates, then repair system files

  1. Check for updates: Start > Settings > Windows Update > Check for updates. Microsoft’s basic stop-code steps include it.
  2. Did the crashes start with an update? Remove it from Settings > Windows Update > Update history > Uninstall updates, per Microsoft’s uninstall steps. Microsoft notes that some updates can’t be uninstalled.
  3. Repair Windows files, DISM first and SFC second, from an administrator Command Prompt, as Microsoft’s System File Checker instructions order them:
DISM.exe /Online /Cleanup-image /Restorehealth
sfc /scannow

Wait for “The operation completed successfully” before starting sfc, then reboot. These repair Windows’ own files. They don’t replace a third-party driver or undo a memory overclock, so a repaired file count is not the end of the story if the crashes continue.

  1. Scan for malware. Microsoft’s 0x139 page includes a virus scan that checks the Master Boot Record, because infection can corrupt a disk badly enough to cause bug checks.

4. Update the BIOS and test memory at default settings

Microsoft’s general stop-error steps include making sure the BIOS and firmware are up to date. The BIOS update guide covers doing that safely; an interrupted flash can leave a board unable to boot.

Did 0x139 appear on a newly built PC or after turning on XMP/EXPO? Test default memory settings next.

  1. Reboot into UEFI and set XMP / EXPO to Disabled / Auto without manually altering voltages. The XMP and EXPO guide shows where the profile setting sits.
  2. Use the PC normally for about 48 hours, including whatever load used to trigger the crash. That’s this site’s rule of thumb, not a pass mark: a quiet two days makes the profile worth investigating, and it doesn’t prove the memory or Windows is intact.
  3. Look at my DDR5 RAM guide if four populated DDR5 slots or tight secondary timings match your build. PassMark’s MemTest86 troubleshooting page says some memory errors only show when RAM timings are set too aggressively in the BIOS, and suggests standard, non-XMP timings for modules that support XMP.

On an Intel Core 13th or 14th Gen desktop processor, also follow Intel’s guidance for the Vmin Shift Instability issue, which affects some of those chips: use the relevant Intel Default Settings in the BIOS and the latest BIOS containing microcode 0x12F or later. Intel has extended warranty coverage by two years for eligible affected processors, to up to five years from the original purchase date.

When crashes continue at default settings, boot MemTest86 from USB and save the HTML report. PassMark notes that not every error MemTest86 reports is the RAM itself, because the test also exercises the CPU, its caches and the motherboard, and that some errors are temperature sensitive. So test one stick at a time, with the PC powered off for each swap, in the slot your board manual names for a single module, before ordering replacement RAM. The MEMORY_MANAGEMENT guide has the full slot-by-slot matrix.

5. Read the dump in WinDbg

If the steps above haven’t settled it, the dump you saved in Step 1 shows what was running when the check tripped.

  1. Open your copied .dmp in WinDbg (File > Open crash dump) and run !analyze -v (or .bugcheck). Arg1 is Parameter 1 from the table above.
  2. Microsoft’s table defines Parameter 2 as the address of the trap frame for the exception. Load it with .trap <Arg2>, then run kn for the call stack, and note IMAGE_NAME. Microsoft’s kernel-dump walkthrough covers setup and symbols.

Why does Arg1 = 0x3 (LIST_ENTRY corruption) fool so many people? Microsoft explains that the inconsistency is detected when an entry is added to or removed from the list, not necessarily at the time the corruption occurred. The driver on the stack may only be the one that tripped over the damage. Microsoft’s resolution is to examine multiple dump files for similar characteristics, and to use the event log to look for higher-level events leading up to the stop code.

A filter-driver developer’s published traces show multiple Arg1 = 3 dumps landing in graphics, WDF, and windowing stacks from one underlying bug, so I compare two or three .dmp files before convicting the first .sys name I see.

When other stop codes appear alongside 0x139, log them separately: 0x1A MEMORY_MANAGEMENT and 0x50 PAGE_FAULT_IN_NONPAGED_AREA carry their own subcode tables. A WHEA_UNCORRECTABLE_ERROR (0x124) alongside 0x139 has its own hardware-record guide, and CRITICAL_PROCESS_DIED (0xEF) starts with the drive.

Leave Driver Verifier off an everyday PC

Forum copy-pastes routinely tell 0x139 readers to open verifier.exe and select every installed driver. Don’t.

Microsoft’s Driver Verifier documentation says running it could cause the computer to crash and to run it only on computers you use for testing and debugging. Microsoft’s advanced stop-error guide adds: “Don’t try to verify all the drivers at one time. This action can degrade performance and make the system unusable.”

If a technician does enable it for one suspect driver, have the way back ready before the restart: a fresh System Restore point, your BitLocker recovery key, and the undo command. The undo is verifier /reset from an administrator Command Prompt, then a restart. If Windows can’t reach the desktop with Verifier on, start in Safe Mode, where Microsoft says the tool can’t run, and run verifier /reset there.

What to give support

Stop when the PC still crashes at default BIOS and memory settings with current Windows updates, repaired system files and the last driver change undone. That’s the point to hand it to the PC, motherboard or component maker.

Save one structured note per crash. Two dumps showing the identical Arg1 subcode and trigger tell a board vendor far more than ten blind reinstalls, though you should keep raw .dmp files private because kernel memory fragments can sit inside them.

Crash date, time and activity:
Stop code and Parameter 1 in hex (or "no dump found"):
Faulting IMAGE_NAME / stack lead in WinDbg:
Windows build; recent audio/network/GPU/anti-cheat driver version:
Memory config (2x or 4x DIMMs, EXPO/XMP on vs default):
Single change tested and how long it ran:

Frequently asked questions

What causes KERNEL_SECURITY_CHECK_FAILURE?
Microsoft says the kernel detected the corruption of a critical data structure. Parameter 1 says which kind, and the common causes Microsoft lists for the most discussed kind, a corrupted LIST_ENTRY, are all driver mistakes. Its broader crash analysis attributes about 70 percent of stop errors to third-party driver code and about 10 percent to hardware, so start with whatever driver or device changed before the first crash.
What should I do after a single Kernel Security Check Failure?
Save the stop code, the time and any dump Windows wrote. Record what you were doing and what changed recently. If the PC boots and you have no other evidence, back up your work and keep the record. One crash is not a reason to buy parts.
Can sfc /scannow fix Kernel Security Check Failure?
Only when damaged Windows files are the cause. Run DISM /Online /Cleanup-Image /RestoreHealth first and sfc /scannow after it, as Microsoft’s System File Checker instructions do. They check and repair Windows system files; they do not change a third-party driver or a memory overclock, so keep going down the steps if the crashes continue.
Is Kernel Security Check Failure caused by a virus?
It isn’t the usual cause, but Microsoft’s 0x139 page includes a virus scan in its general tips, because malware can corrupt a disk badly enough to produce stop codes. Run your antivirus alongside the driver and update steps, and make sure it checks the Master Boot Record, as Microsoft’s tip says.
Can bad RAM cause Kernel Security Check Failure?
A memory problem is one possibility, but the stop code does not identify a module. If the crashes began with a memory profile change, compare the same workload at the previous settings. If a memory test reports errors, keep the configuration and results together; the test also exercises the processor, caches and motherboard.
Why does 0x139 only happen when I launch a game?
Game launch loads kernel anti-cheat drivers (such as EasyAntiCheat or BattlEye) alongside GPU and audio drivers while spiking CPU/DRAM load. Check whether the game’s anti-cheat or a recent GPU/audio driver update matches the first crash date before blaming hardware.
Should I run Driver Verifier on my everyday PC?
No. Microsoft says running Driver Verifier could cause the computer to crash and should be limited to computers used for testing and debugging, and its advanced stop-error guide warns that verifying all drivers at once can make the system unusable. If you do enable it for one driver, the undo is verifier /reset and a restart, from Safe Mode if Windows won’t reach the desktop.

Sources and corrections

Last updated
Methodology
See the methodology for research and review standards. It draws on 11 cited sources, listed below, each checked against the original page on the date above.
Update log
  • 2026-11-18 — Put Event Viewer, driver rollback, Windows Update and DISM/sfc ahead of WinDbg, matched every Parameter 1 description to Microsoft’s table and cut unsourced subcode names and memory claims.
  • 2026-11-05 — Replaced a fixed order of tests with one chosen from the crash parameters and recent changes, and limited Driver Verifier to a test system.
Corrections
Spotted an error? Email a correction with the affected line and what you found. The draft includes this page’s address. Verified changes are recorded here. Contact details.

About the author

I am Lowell K. Wood IV. I research, write and maintain everything on TechFuelHQ from St. Louis County, Missouri.