KERNEL_SECURITY_CHECK_FAILURE Fix In Windows 11 (2026)
KERNEL_SECURITY_CHECK_FAILURE is a Windows blue screen with the stop code 0x139.
It means the core of Windows found damage in one of its own critical data structures.
This guide follows Microsoft’s bug check page and its support article on stop codes.
Table of Contents
- Quick answer
- What KERNEL_SECURITY_CHECK_FAILURE means
- The kinds of corruption Windows reports
- The hardest case to track down: list corruption
- Step 1: remove new hardware
- Step 2: remove or update new drivers and services
- Step 3: check Event Viewer
- Step 4: look in Device Manager
- Step 5: run a virus scan
- Step 6: install updates and keep space free
- If Windows will not start normally
- Which step fits your case
- If it keeps happening
- Sources
- More Windows guides
Quick answer
| Step | What to do |
|---|---|
| 1 | Remove any hardware you added before the crashes began |
| 2 | Remove or update any driver or system service added recently |
| 3 | Check the System log in Event Viewer for errors from the same time |
| 4 | Open Device Manager and update drivers for devices marked with an exclamation point |
| 5 | Run a virus scan that also checks the Master Boot Record |
| 6 | If Windows will not start, use Safe Mode or a restore point |
What KERNEL_SECURITY_CHECK_FAILURE means
Microsoft’s page says the bug check value is 0x00000139.
It says the error indicates that the kernel detected corruption of a critical data structure.
The kernel is the core of Windows, so Windows stops with a blue screen instead of carrying on with damaged data.
Microsoft says its bug check page is written for programmers and sends customers to its Troubleshoot blue screen errors article, so the steps below use the general advice both pages give.
The kinds of corruption Windows reports
Microsoft says the first parameter of this bug check gives the type of corruption.
The parameters are mainly useful to programmers reading a crash dump, but they show how varied the cause can be.
| Parameter 1 | What Microsoft says it means |
|---|---|
| 0 | A stack-based buffer is overrun (legacy /GS violation) |
| 2 | Stack cookie instrumentation code detected a stack-based buffer overrun |
| 3 | A LIST_ENTRY is corrupted, for example a double remove |
| 5 | An invalid parameter was passed to a function that treats invalid parameters as fatal |
| 14 | The reference count for an object is invalid |
| 28 | An out-of-bounds buffer access was detected |
Microsoft’s table has more values than these, and the full list is on its page.
The hardest case to track down: list corruption
Microsoft calls the LIST_ENTRY case, where Parameter 1 is 3, hard to track down.
It says an inconsistency was introduced into a linked list, and it is detected when an entry is added to or removed from the list.
Microsoft’s listed causes are all ways that code mishandles its own data, and it says a driver’s mismanagement of system APIs can corrupt lists that Windows manages.
For that reason Microsoft says finding the cause usually requires the debugger, and that you should compare several dump files to see whether the stop code shares characteristics.
For an everyday PC user, that makes drivers and recent changes the best place to look.
Step 1: remove new hardware
Microsoft says that if you recently added hardware, you should try removing or replacing it.
Its support article says to shut the PC down, remove the new hardware, and restart.
Microsoft also suggests checking with the manufacturer for patches.
Step 2: remove or update new drivers and services
Microsoft says that if new device drivers or system services were added recently, you should try removing or updating them.
It adds that you should work out what changed before the bug check first appeared.
Our guide to rolling back an NVIDIA driver shows how to go back to an earlier driver, and our guide to updating an Intel graphics driver shows how to move forward.
Step 3: check Event Viewer
Microsoft says to check the System log in Event Viewer for errors from the same time window as the blue screen.
It says those errors may identify the device or driver responsible.
Step 4: look in Device Manager
- Right-click Start and select Device Manager.
- Look for any device marked with an exclamation point.
- Right-click it and select Update driver.
Microsoft’s bug check page says to review the event log in the faulting driver’s properties, and to try updating the driver.
Its support article says that if updating does not help, you can disable or uninstall the device.
Step 5: run a virus scan
Microsoft says to run a virus detection program and to make sure it checks the Master Boot Record.
It explains that infections can cause disk corruption, and disk corruption can produce bug check codes.
Our guide to scanning Windows 11 for malware with Windows Security covers the built-in option.
Step 6: install updates and keep space free
Microsoft’s support article says to select Start > Settings > Windows Update, then select Check for updates.
The same article says to keep roughly 10 to 15 percent of the drive free for swap files and other functions.
Our guide to checking SSD or hard drive health is a useful companion check.
If Windows will not start normally
Microsoft says you can do the remaining steps from Safe Mode.
- Open the Windows Recovery Environment.
- Select Troubleshoot > Advanced options > Startup Settings > Restart.
- Press 4 for Safe Mode or 5 for Safe Mode with Networking.
You need your BitLocker recovery key if the device is encrypted.
Our guide to starting Windows 11 in Safe Mode covers the routes in more detail.
Which step fits your case
| Your situation | Start with |
|---|---|
| It began after you added a device | Step 1: remove the device and restart |
| It began after a driver or service was installed or updated | Step 2: remove or update it |
| You can see errors in Event Viewer near the crash time | Step 3: follow the device or driver they name |
| You suspect an infection | Step 5: virus scan including the Master Boot Record |
| Windows will not start | Safe Mode, then the same steps |
If it keeps happening
If nothing else helps, Microsoft’s support article says to use a system restore point or another option from its Recovery options in Windows 11 article.
For the other common stop codes, see our general guide to fixing blue screen errors on Windows 11.
Sources
Microsoft Learn: Bug Check 0x139 KERNEL_SECURITY_CHECK_FAILURE. Microsoft Support: Troubleshooting Windows unexpected restarts and stop code errors and Windows startup settings.
More Windows guides
- How To Check Your PC's Bluetooth Version In Windows 11 (2026)
- How To Check And Turn On TPM 2.0 In Windows 11 (2026)
- How To Check If Windows RE Is Enabled In Windows 11 (2026)
- Windows Secure Boot Certificate Update: How To Check (2026)
- How To Find Your PC Serial Number In Windows 11 (2026)
- How To Check PC Uptime In Windows 11 (2026)