#41727·WSL

wsldevicehost virtiofs (WSLg shared memory) aborts the whole DllHost on one "Invalid FUSE message", leaving every guest sync hung forever

Author: Frankie464Created Sep 29, 2026Updated Sep 29, 2026
Labelsemailed-logs

Windows Version

10.0.26200.9457 (25H2)

WSL Version

2.6.1.0 (WSLg 1.0.66)

Are you using WSL 1 or WSL 2?

WSL 2

Kernel Version

6.6.87.2-1

Distro Version

Ubuntu 24.04.4 LTS, plus the docker-desktop distro

Other Software

Docker Desktop 4.88.0 (WSL 2 backend), about 40 long-running containers. 10 GB VM memory, 3 GB swap, 24 vCPUs.

Repro Steps

I can't reproduce it on demand. What happened:

  1. A scheduled job ran sync; echo 1 > /proc/sys/vm/drop_caches in a privileged container every 15 minutes. It had done this 166 times with no problem.
  2. On 2026-09-28 the VM was under heavy memory pressure: swap was 3% free, with allocation stalls and repeated order-7 page allocation failures in vmbus_add_channel_work -> hvs_probe.
  3. The job started at 20:42:24 local (01:42:24Z).
  4. At 01:42:25.36Z, the Windows-side host for the WSLg shared-memory virtiofs device logged this line and then broke into the debugger:
2026-09-29T01:42:25.362956Z ERROR virtiofs::virtio: [virtiofs] Invalid FUSE message, error error=EINVAL (22)

Expected Behavior

When the device host can't parse one FUSE request, it fails that request with an error and carries on serving. Failing that, if the host dies, the device is restarted or torn down so guest requests error out instead of blocking.

Actual Behavior

  • DllHost.exe hosting C:\Program Files\WSL\wsldevicehost.dll crashed with 0x80000003 (breakpoint in KERNELBASE, called from wsldevicehost.dll). Application event 1000, WER report id 1e3b956c-8034-4027-ac45-dd5408110797.
  • Nothing restarted it. From then on every global sync in the VM sat in fuse_sync_fs -> request_wait_answer in D state, and SIGKILL could not kill it. The 20:42 job's own sync never returned.
  • Our 15-minute job piled up 17 stuck processes.
  • About 5 hours later the VM escalated to soft lockups and an RCU stall. wsl.exe and dockerd stopped answering, and only a full host reboot recovered it (we avoid wsl --shutdown on this machine).

We've worked around it: guiApplications=false removes the device, and the job no longer calls sync.

Diagnostic Logs

  • The log line above comes from the host's own crash dump, which I can't share publicly because it contains guest file contents. I'm happy to run specific WinDbg commands on it and post the output if that helps identify which request failed to parse.
  • Guest stack of every hung task: fuse_sync_fs -> fuse_simple_request -> request_wait_answer.
  • Possibly related: #41191 (kernel BUG after a 9P/virtiofs channel disruption).