Fix Kernel Mode Heap Corruption BSOD on Windows 11/10

If you are receiving a KERNEL_MODE_HEAP_CORRUPTION Blue Screen on Windows 11/10, then this post will help you resolve it. One of the primary reasons for this error is a conflict between Windows and an outdated driver or a corrupt Windows driver. Other known reasons include memory leaks or hardware faults. However, there is a rare chance where a software conflict can do that unless it has to do something with the drivers.

The KERNEL MODE HEAP CORRUPTION bug check has a value of 0x0000013A. This indicates that the kernel mode heap manager has detected corruption in a heap.


Follow these methods to resolve the BOSD related to Kernel Mode Heap Corruption.

  1. Run ChkDsk
  2. Use Device Verifier Manager
  3. Update or Rollback Driver
  4. Fix Corrupt System Files
  5. Run Memory Diagnostics
  6. Run Hardware Troubleshooter

You will need a clear understanding of what the methods do here and admin permission.

Moreover, if you can log in normally, good; else you will have to boot into Safe Mode, enter Advanced Startup options screen, or use the Installation Media to boot to be able to carry out these instructions.

1] Run ChkDsk

Run ChkDsk using the following command:

chkdsk c: /r

2] Device Verifier Manager

How to fix Kernel Mode Heap Corruption on Windows 10

One of the best methods to check if the driver is an issue is to run the Driver Verifier Manager. The tool will help troubleshoot, identify & resolve common device driver problems.

Open the Run prompt ( Win + R), type verifier, and then press the Enter key. Once the Device Verifier is open, select Create Standard settings and then select Automatically select unsigned drivers. This will narrow down the issue if it’s happening because of unsigned drivers. Once you detect it, uninstall the driver, and then reinstall the correct driver.

3] Update or Rollback Driver

Depending on the situation, you can either update or roll back the driver and check if the BSOD issue is resolved.

If the BSOD occurred because you have recently updated the driver, you could roll back using the Device Manager. Use Win + X, followed by M to open the device manager. Next, locate the hardware for which you have updated the driver.

Once you find it, double-click to open the properties window, and then select the Drivers tab. If you recently updated the driver, the Rollback Driver button will be enabled. Use that.

Update Driver Windows 10 Device Manager

If the BSOD occurred after a Windows Update, then it’s possible that you need to install the latest version of the driver, which is compatible with the version of Windows.

Open the Device Manager, locate the device, right-click, and then choose to update the driver. If this doesn’t work, go to the OEM website, and check for an updated driver.

4] Fix Corrupt System Files

System File Checker and DISM are two tools that can help fix corrupt system files that could be the cause of the BOSD screen. Follow our exhaustive guide on how to use them.

sfc /scannow

DISM Command:

Dism /Online /Cleanup-Image /RestoreHealth

First, run the SFC command; if that doesn’t work out, use the DISM command. Make sure to run them on an elevated command prompt.

5] Run Memory Diagnostics

Check your memory. Use the Windows Memory Diagnostic Tool. Go to Control Panel and type “memory” in the Search box. Under Administrative Tools, click Diagnose Your Computer’s Memory Problems. In the Windows Memory Diagnostics Tool, shown here, select one of the options.

6] Run Hardware Troubleshooter

Windows 10 Hardware troubleshooter

Microsoft offers a built-in hardware troubleshooter that you can invoke using the following command on PowerShell or an elevated Command Prompt.

msdt.exe -id DeviceDiagnostic

Once launched, click on the Advanced link, and uncheck the—Apply repairs automatically—option. You can do this if you want to understand the problem before it gets fixed. Click on the Next button.

The wizard will then run its diagnostics. It may prompt to enable to check for an updated driver. Once done, if there is an issue with the driver, it will figure out and offer a solution.

I hope these solutions help you out with the BSOD related to Kernel Mode Heap Corruption on Windows 10. The issue is related to drivers, but it is always good to check for any recently installed software that can also cause the problem.

More Tips: Fix Windows Stop Errors or Blue Screen of Death.

You may also like...