How to fix the Kernel mode heap corruption in Windows 10/11

by Tashreef Shareef
Tashreef Shareef
Tashreef Shareef
Windows & Software Expert
Tashreef Shareef is a software developer turned tech writer. He discovered his interest in technology after reading a tech magazine accidentally. Now he writes about everything tech from... read more
Affiliate Disclosure
  • The kernel mode heap corruption blue screen error occurs due to a software conflict or hardware incompatibility.
  • Check the graphics card drivers for issues in order to fix the kernel mode heap corruption in Windows 10 on your laptop.
  • Also, to stop the Windows code kernel mode heap corruption you should inspect the hardware.
  • Of course, it's a good time to update the drivers while you're at it, so read on for more information!
How to fix Kernel mode heap corruption BSoD in Windows 10

To fix various PC problems, we recommend Restoro PC Repair Tool:
This software will repair common computer errors, protect you from file loss, malware, hardware failure and optimize your PC for maximum performance. Fix PC issues and remove viruses now in 3 easy steps:

  1. Download Restoro PC Repair Tool that comes with Patented Technologies (patent available here).
  2. Click Start Scan to find Windows issues that could be causing PC problems.
  3. Click Repair All to fix issues affecting your computer's security and performance
  • Restoro has been downloaded by 0 readers this month.

The Blue Screen of Death or BSoD is a common occurrence in Windows OS running systems and results in system crashes.

Kernel Mode Heap corruption is one such BSoD error and many users have reported that it has crashed their system. Here’s what one user had to say on the Microsoft Answers forum:

I’ve been having this BSoD for a week now when I’m playing The Witcher 3 on my drive D: so I updated and ssd’s firmware and it’s still the same. Then I updated my BIOS and the BSOD went away but it still restarts my machine.

But what does this mean exactly and most importantly why does it happen? Let’s take a closer look.


First thing first, a Kernel Mode is one of the CPU operating modes (the other is simply the user mode). By default, processes running in kernel mode have no restrictions in controlling the hardware.

But even so, you can stumble across unexpected errors (also called Kernel Mode traps) or the heap can get corrupted when calling on an element that is outside the index range.

When heap corruption is detected, you can get the stop code Kernel Mode Heap Corruption which usually displays the value 0x0000013A. This indicated that the Kernel-Mode Heap Manager has detected corruption in a heap.

Most of the time, this blue screen of death error occurs due to a software conflict or hardware incompatibility. You can also blame:

  • Memory leaks or a failing memory in general
  • Corrupted system files
  • Faulty or degraded hardware components
  • Software conflicts or irreconcilable incompatibilities at the firmware level

If you want to solve the Kernel Mode Heap Corruption in a simple way, keep reading.

How do I fix the kernel mode heap corruption?

1. Use a repair tool

The BSoD errors affect all Windows operating systems and fixing them is quite a difficult task that requires a lot of patience.

Expert Tip: Some PC issues are hard to tackle, especially when it comes to corrupted repositories or missing Windows files. If you are having troubles fixing an error, your system may be partially broken. We recommend installing Restoro, a tool that will scan your machine and identify what the fault is.
Click here to download and start repairing.

However, to make sure that you don’t do more harm than good to your operating system, we recommend using a third-party repair tool to do the job for you.

To make sure that everything goes smoothly and avoid any kind of GPU driver errors, be sure to use a complete driver update assistant that will solve your problems with just a couple of clicks, and we strongly recommend DriverFix. Follow these easy steps to safely update your drivers:

  1. Download and install DriverFix.
  2. Launch the software.
  3. Wait for DriverFix to detect all your faulty drivers.
  4. The application will now show you all the drivers that have issues, and you just need to select the ones you’d liked fixed.
  5. Wait for the app to download and install the newest drivers.
  6. Restart your PC for the changes to take effect.


Keep you GPU on the peaks of their performance without worrying about its drivers.

Free trial
Visit website

Disclaimer: this program needs to be upgraded from the free version in order to perform some specific actions.

2. Check graphics drivers for issues

  1. Press Windows Key + R to open Run.
  2. Type devmgmt.msc and press OK to open the Device Manager. 
  3. In the Device Manager expand the Display Adapter section.
  4. Right-click on your video card, and select Update Driver.
  5. Click on Search automatically for updated driver software.
  6. Wait for Windows to search and download any pending update for the driver.
  7. Reboot the system and check for any improvements.

It is important for your PC that you keep your drivers up-to-date. Therefore, take a look at our complete guide to avoid further problems.

3. Try to install the old driver manually

  1. Make sure you have the latest version as well as the older version of the graphics card driver downloaded.
  2. Disconnect Ethernet / Wi-Fi if connected.
  3. Press Windows Key + R to open Run.
  4. Type msconfig and press OK.
  5. In the System Configuration window, click on the Boot tab and check the Safe Boot option.
    Safe Boot mode Windows 10
  6. Click Apply and OK. Reboot the computer.
  7. After the restart, run DDU. Select all the NVIDIA Software and drivers.
    Use DDU to Uninstall Graphic Driver
  8. Click on Clean, but do not restart.
  9. Again open the System Configuration window.
  10. Go to Boot tab and uncheck Safe boot. Click Apply and OK to save the changes.
  11. Now install the older version of the Graphics Card driver and select Custom Install.
  12. Make sure you only install the GPU driver and uncheck everything else.
  13. Finish the installation.

If you are not sure how to use DDU, be sure to take a closer look at our simple guide to ensure maximum performance and stability to your PC.

4. Check for graphic card hardware issues

Kernel mode heap corruption - Lower Video card speed

The Kernel Mode Heap Corruption error can also occur if your graphics card has compatibility issues or if it is not placed properly.

Many users have reported this issue to have occurred after they mistakenly placed the video card in the wrong PCIe lane.

Check if you have inserted the video card in the right PCIe lane. For proper instructions check your motherboard manual.

Another thing that can help you fix this error if due to your NVIDIA video card is reducing the memory clock speed to below factory clock speed.

To fix BSoD errors for good, you need a professional fixer. Take a closer look at our list of the best BSoD repair software and find the right program for your needs.

We hope that our recommendations from this guide were helpful for you to solve the Kernel Mode Heap corruption BSoD in Windows 10. For more suggestions, please access the comments section below.

idee restoro Still having issues? Fix them with this tool:
  1. Download this PC Repair Tool rated Great on (download starts on this page).
  2. Click Start Scan to find Windows issues that could be causing PC problems.
  3. Click Repair All to fix issues with Patented Technologies (Exclusive Discount for our readers).

Restoro has been downloaded by 0 readers this month.

Frequently Asked Questions

  • The Kernel Mode Heap Corruption error is a BSoD error that might be caused by an outdated or corrupt device driver. The first step is to check and update your drivers. Also, learn how to debug Windows kernel.

  • Heap corruption happens when a program damages the allocator’s view of the heap. The outcome can cause a memory leak or a memory fault.

  • First, check the graphics card drivers for issues. If that doesn’t fix the problem, read our dedicated guide for heap corruption on Windows 10.

This article covers:Topics: