Microsoft 11994 Published by

The WSL 2.7.8 Pre-Release patches a CreateInstance failure that crashes Linux instances when Windows hosts files exceed the system message cap. Microsoft backported this fix from version 2.7 and paired it with a kernel bump to 6.18.33.1-1 for better hardware compatibility and routine maintenance updates. Running wsl update --pre-release in an elevated terminal pulls the new binaries directly from the official repository without touching standard Windows Update channels. Power users managing heavy local DNS routing or container workloads should apply this build immediately to avoid sudden startup failures, though testing on a secondary machine remains smart before pushing it to production environments.





WSL 2.7.8 Pre-Release Fixes Hosts File Crash and Updates the Kernel

The latest Windows Subsystem for Linux pre-release drops a quick fix for a nasty CreateInstance failure that trips up anyone running a massive hosts file, plus it bumps the underlying kernel to version 6.18.33.1-1. This update targets a specific edge case that has been quietly breaking WSL instances since the 2.7 branch got backported, so getting this rolled out matters for stability. Users who rely on heavy DNS overrides or local development environments will notice fewer sudden shutdowns after applying it.

Screenshot_from_2026_06_07_08_38_37

WSL 2.7.8 Pre-Release Fixes Hosts File Crash

The CreateInstance failure happens when the Windows hosts file grows past a certain message size cap. This is not some theoretical limit that only affects enterprise admins with thousands of entries. Anyone running local development setups, ad blockers like Pi-hole, or heavy DNS routing scripts will eventually hit this wall. When the file exceeds the threshold, WSL throws an error during startup and refuses to launch the Linux instance. Field reports consistently show this failure popping up right after a Windows build shifts how the virtual machine layer parses local routing tables. The 2.7.8 pre-release patches this by adjusting how the subsystem handles oversized host mappings without forcing users to manually trim their files. It is a straightforward backport from the 2.7 branch that finally addresses a long-standing pain point for power users who keep extensive local routing tables.

Kernel Update to Version 6.18.33.1-1

The underlying Linux kernel gets bumped to version 6.18.33.1-1 in this release. Kernel updates rarely make headlines unless they fix something that actually breaks daily workflows. This bump brings along standard maintenance patches for networking, filesystem handling, and hardware compatibility. WSL leans on the kernel for virtualization overhead and process scheduling, so staying current prevents weird driver conflicts and keeps container workloads from stalling out mid-build. The change does not introduce flashy new features, but it does close out known vulnerabilities and stabilizes how WSL interacts with newer Windows builds. Pre-release kernels sometimes expose minor timing quirks in older hardware virtualization setups, which is why testing matters before pushing this to production machines.

How to Apply the Pre-Release Update

Grabbing a pre-release build requires running a specific command through an elevated terminal since Microsoft does not push these through the standard Windows Update pipeline. Open PowerShell or Command Prompt as administrator and run wsl update --pre-release to fetch the latest package directly from the official repository. The system will download the updated binaries, replace the existing WSL components, and restart the virtual machine layer automatically. Skipping this step leaves users stuck on older builds that still carry the hosts file crash bug, so running the command early prevents unnecessary troubleshooting later. Microsoft recommends keeping a backup of custom Linux configurations before applying pre-release updates, since experimental changes can occasionally overwrite local tweaks during the component swap.

Release WSL 2.7.8

What's Changed Fix CreateInstance failure when Windows hosts file exceeds message size cap (2.7 backport) by @benhillis in #40726 Update kernel to 6.18.33.1-1 by @chessturo in #40728 Full Changel...

Release 2.7.8 ยท microsoft/WSL

Keep an eye on the official GitHub repository for follow-up patches, since pre-release builds sometimes surface minor regressions that get squashed within a week or two. Happy debugging.