KERNEL_SECURITY_CHECK_FAILURE is Windows catching its own kernel data in a corrupted state and refusing to continue. On Windows 11 24H2 it often appears after the feature update, which makes people blame the update — but the update usually just exposed a RAM fault or driver bug that was quietly present before.
This guide diagnoses it properly: memory first, drivers second, system files third.
Why this happens
- Faulty RAM. The single most common cause. Bad memory corrupts the kernel’s linked lists and pool structures, failing the integrity checks.
- A buggy driver corrupting kernel memory. Storage, network, and antivirus filter drivers are the usual suspects on 24H2.
- Corrupted system files from the 24H2 upgrade. An interrupted or conflicted feature update damages kernel components.
- Unstable overclocking or XMP profiles. Aggressive memory timings cause intermittent corruption that fails integrity checks under load.
- A failing SSD. Corruption in paged-out kernel data read back from bad flash.
- Kernel-level malware. Rootkits modifying kernel structures trip the checks by design — uncommon but real.
- Incompatible BIOS/firmware. Old firmware misreporting hardware capabilities can lead drivers to corrupt kernel state.
How to fix it
Work through these in order. The memory test comes early because it is the most likely answer.
Fix 1: Run Windows Memory Diagnostic immediately
Do not skip this — bad RAM is the top cause and the test is free.
- Save your work, press Win + R, type
mdsched.exe, press Enter → Restart now and check for problems. - Let the full pass complete. After reboot, check results in Event Viewer → Windows Logs → System, filtering for MemoryDiagnostics-Results.
- If errors are reported, skip to Fix 5 — you have found your cause.
- If it passes, continue: a single pass can miss intermittent faults, so keep RAM on the suspect list until Fix 5’s deeper test.
Fix 2: Install all pending Windows and driver updates
Clear known 24H2 issues before deeper diagnosis.
- Go to Settings → Windows Update → Check for updates; install everything including Advanced options → Optional updates.
- Then update drivers from your laptop manufacturer’s support site — chipset, storage, network, graphics — rather than relying solely on Windows Update.
- Intel-based laptops can use the Intel Driver & Support Assistant to detect the correct driver versions automatically.
- Restart and test for a day under normal workload before continuing.
Fix 3: Run a Defender Offline malware scan
Rule out kernel-level malware since this stop code is designed to catch it.
- Open Windows Security → Virus & threat protection → Scan options → Microsoft Defender Offline scan → Scan now.
- The laptop reboots into a clean offline environment and scans — this catches rootkits that hide from normal scans.
- If threats are found and removed, retest stability for several days; reinfection suggests a compromised installer or download source worth investigating.
- A clean scan means you can focus on hardware and drivers with confidence.
Fix 4: Update or remove third-party kernel software
Antivirus and disk tools operating at kernel level are frequent integrity-check violators.
- Open Settings → Apps → Installed apps and look for third-party antivirus, disk encryption, backup tools with kernel drivers, and “system optimizers.”
- Uninstall anything you do not actively need, using vendor removal tools for antivirus products to clear filter drivers completely.
- Update anything you keep to the latest version — vendors continuously fix kernel-compatibility issues.
- Confirm Microsoft Defender is active (Settings → Privacy & security → Windows Security) as your baseline.
Fix 5: Deep-test the RAM and reset memory settings
The built-in test is a screen; MemTest86 is the diagnosis.
- Create a MemTest86 USB drive (free download, run from another PC if needed) and boot from it.
- Let it run at least 4 full passes — overnight is ideal. Even a single error means bad RAM.
- If errors appear: power off, reseat the modules, and retest. Test sticks individually to isolate the bad one, then replace it with matching specs.
- Enter the BIOS and disable XMP/EXPO or any memory overclocking, loading Optimized Defaults — then retest. If errors vanish at stock speeds, the overclock was the entire problem and your RAM is fine.
- Laptops with soldered RAM showing errors need manufacturer service — back up immediately.
Fix 6: Repair system files and check the drive
Fix corrupted kernel files and rule out the storage layer.
- In Terminal (Admin):
sfc /scannow→DISM /Online /Cleanup-Image /RestoreHealth→sfc /scannowagain. - Run
chkdsk C: /f /r(typeY, restart, let it finish completely). - Check SMART:
wmic diskdrive get status— every drive should report OK. - Microsoft documents these repair tools in their Windows support resources .
Fix 7: Check Driver Verifier status and update the BIOS
Clear the last configuration-level suspects.
- Run
verifier /queryin an admin terminal. If Driver Verifier is enabled, runverifier /resetand restart — Verifier turns minor driver quirks into fatal integrity failures. - Update the BIOS/UEFI from your manufacturer’s support site (AC power, do not interrupt) — firmware updates frequently include memory-compatibility and stability fixes relevant to this exact error.
- If crashes survive all seven fixes, you are looking at a failing motherboard component or a deeply defective driver version — try rolling back recent drivers (Device Manager → device → Properties → Driver → Roll Back Driver) before seeking professional diagnosis.
Closing
KERNEL_SECURITY_CHECK_FAILURE on 24H2 is a “trust but verify” error: Windows caught corruption in its own foundations, and your job is to find the source — usually RAM, sometimes a driver, rarely anything exotic. The memory diagnostic up front saves hours of misdirected driver work, so do not skip it. And if the 24H2 update was the trigger, remember it exposed the weakness rather than creating it; fixing the RAM or driver properly ends the crashes for good. For the closely related corruption error, see CRITICAL_STRUCTURE_CORRUPTION in 24H2 ; for the pre-24H2 variant, KERNEL_SECURITY_CHECK_FAILURE after a Windows 11 update .
