microsoft / microsoft/WSL

gen_artifacts_vhdx.sh creates double-nested directory structure inside modules.vhdx (Kernel 6.18.40.1+)

Open
#41,248 5 comments 1 reaction 1 assignee View on GitHub

@benhillis is already working on this.

Since Aug 5, 2026.

bug fixinbound kernel
Dominant language
C++
Stars
33.7k
Forks
1.8k
Avg merge
3d 17h
Merged PRs (30d)
116

Description

### Windows Version

10.0.26200 Build 26200

### WSL Version

2.7.10.0

### Are you using WSL 1 or WSL 2?

- [x] WSL 2
- [ ] WSL 1

### Kernel Version

6.18.40.1

### Distro Version

Fedora 44

### Other Software

_No response_

### Repro Steps

Compile the kernel and modules.vhdx from Microsoft's own README.md file and you'll get nested structures inside the vhdx which break module loading (at the very least). Someone re-factored the code to implement these features. Perhaps, I need to update to the latest WSL2?

### Expected Behavior

Modules should load properly.

### Actual Behavior

Modules don't load and therefore tailscale (at minimum) doesn't function.

### Diagnostic Logs

_No response_

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.