WSL: Deleting large amount of data (400 GB) causes blue screen with KERNEL_SECURITY_CHECK_FAILURE in vmbkmclr!InCompletePacket

Windows Build Number

Microsoft Windows [Version 10.0.22000.160]

WSL Version

  • WSL 2
  • WSL 1

Kernel Version

5.10.43.3-microsoft-standard-WSL2

Distro Version

Ubuntu 20.04

Other Software

No response

Repro Steps

  1. Create 400 GB of data in WSL2. (Average file size was 100 MB)
  2. rm -rf the directory containing the data.
  3. Crash.

This was on a system with a fast NVMe SSD.

Expected Behavior

No crash.

Actual Behavior

System bluescreen.

Diagnostic Logs

WinDbg crash analysis:

crash.txt

About this issue

  • Original URL
  • State: closed
  • Created 5 years ago
  • Reactions: 5
  • Comments: 47 (4 by maintainers)

Most upvoted comments

Any update on this? Basically makes WSL unusable for me.

Same issue here. It usually happened when I delete files by cargo clean.

Same here with cargo clean on wsl2. very annoying since i had to reinstall the ubuntu distro and use some disk recovery tool to read back data in the vhdx file… Please prioritize the investigation and the fix.

I’m constantly getting this when deleting large data inside WSL2 Ubuntu on Win11. This is extremely annoying.

This happens to me every time I have to re-import a large database (100+ GB). The only solution I have is to drop tables one-by-one with a few seconds in between drops. I’m forced to do that because my WSL2 virtual disk got corrupted after a BSOD caused by deleting large files.

Is this something that is being worked on, as it will soon be a year since this issue was reported?