Skip to content

Releases: microsoft/WSL

2.9.3

2.9.3 Pre-release
Pre-release

Choose a tag to compare

@OneBlue OneBlue released this 29 Jun 15:33
9c88216

Release Notes

WSL Containers (WSLC) is now in Public Preview

We're excited to announce that WSL Containers (WSLC) is now available in public preview. WSLC brings native Linux container support to WSL, letting you build, run, and manage containers directly through the new wslc command line tool and a fully projected SDK (C++, C#/WinRT).

Highlights of what's available in this preview:

  • Container lifecycle: create, run, start, kill, export, prune, and inspect containers, with per-container resource limits (--cpus, --memory, --ulimit), --shm-size, and configurable stop signals.
  • Images: build (with --label support), pull, push, import, save (including multiple images in a single tar), inspect, list/prune with filters, and multi-image delete.
  • Networking: create and manage networks, attach containers to multiple networks, network aliases, container:<name|id> network mode, custom network types, port publishing, and network prune.
  • Volumes: create, list, prune, and remove volumes, with VHD-backed volumes and Uid/Gid/Fixed driver options.
  • GPU support: GPU-enabled containers with CDI, mounted GPU executables and libraries accessible to non-root users.
  • Sessions: named sessions with a default session created on demand, configurable storage location, and a default of 32 GB session storage.
  • SDK: a C++ and C#/WinRT projection of the WSLC API, shipped as NuGet packages, plus a documented plugin API.
  • Tooling: wslc logs with --timestamps, --since, --until, and -n; container stats; structured CLI output with color; MSBuild and CMake build integration; and group policy (ADMX) support for management.

Bug Fixes

  • Fixed a stuck systemctl poweroff that could block VM termination by @chemwolf6922 in #40866
  • Fixed use-after-free issues in the virtiofs request worker thread by @OneBlue in #40792 and in WSLC container exec-process teardown by @yao-msft in #40822
  • Fixed a potential init crash by catching exceptions in scope_exit reset by @OneBlue in #40691
  • Fixed shared pointer circular reference leaks by @chemwolf6922 in #40480
  • Fixed an IPv6 guest port reservation leak in Consomme (VirtioProxy) networking by @benhillis in #40803
  • Fixed mirrored mode port tracking for implicit binds from accept() calls by @FetoiuCatalin in #40287 and denied guest binds to the host ephemeral port range in mirrored mode by @FetoiuCatalin in #40597
  • Avoided a distro zombie state when WSL init dies in systemd mode by @chemwolf6922 in #40433
  • Protected binfmt_misc from a cross-distro wipe at shutdown by @benhillis in #40621
  • Fixed incorrect wslpath translation of \\wsl.localhost when the current distro name is a subset of the target distro name by @OneBlue in #40687
  • Fixed CreateInstance failure when the Windows hosts file exceeds the message size cap by @benhillis in #40718
  • Fixed various initial tty sizing issues and added test coverage by @OneBlue in #40722
  • Improved virtiofs and VirtioProxy performance with a per-device SWIOTLB pool by @benhillis in #40654

Fixes and Improvements

  • Renamed the VirtioProxy networking mode to Consomme by @benhillis in #40873
  • Updated VM termination logic to enforce timeouts and avoid hanging when init is stuck by @OneBlue in #40431
  • Improved DNS tunneling reliability and VirtioNet tracing by @benhillis in #40430 and @damanm24 in #40446
  • Avoided std::terminate in the Plan9 FsUserContext destructor by @benhillis in #40417
  • Hardened VHD attach/restore by impersonating the mounting user, fixing a TOCTOU by @benhillis in #40782
  • Fixed MoveDistribution failing with E_ACCESSDENIED when setting the VHD owner under impersonation by @benhillis in #40717
  • Downgraded the system integrity-level impersonation token to high by @Brian-Perkins in #40447

Security

Full Changelog: 2.7.10...2.9.3

2.7.10

Choose a tag to compare

@OneBlue OneBlue released this 26 Jun 01:59
d35043c

What's Changed

  • Pass the mounting user's token on VHD restore (2.7 backport) by @benhillis in #40907

Full Changelog: 2.7.9...2.7.10

2.7.9

2.7.9 Pre-release
Pre-release

Choose a tag to compare

@OneBlue OneBlue released this 23 Jun 19:16
fdd526a
  • Update Microsoft.WSL.Kernel version to 6.18.33.2-2 to resolve a Windows under KVM and older AMD chipset boot regression

2.7.8

Choose a tag to compare

@OneBlue OneBlue released this 06 Jun 16:27
95669d3

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 Changelog: 2.7.7...2.7.8

2.7.7

2.7.7 Pre-release
Pre-release

Choose a tag to compare

@OneBlue OneBlue released this 19 May 21:26
95b1c1c

What's Changed

Full Changelog: 2.7.6...2.7.7

2.7.5

2.7.5 Pre-release
Pre-release

Choose a tag to compare

@OneBlue OneBlue released this 15 May 00:28
10a2c55

What's Changed

Full Changelog: 2.7.3...2.7.5

2.7.3

Choose a tag to compare

@OneBlue OneBlue released this 25 Apr 00:50
e1acbd2

What's Changed

New Contributors

Full Changelog: 2.7.1...2.7.3

2.7.1

2.7.1 Pre-release
Pre-release

Choose a tag to compare

@OneBlue OneBlue released this 24 Mar 21:10
61e6b9a

What's Changed

Security

Bug Fixes

  • virtiofs: fix elevated virtiofs access when VM is launched by an elevated user by @benhillis in #13877
  • Resolve issue with config file writing sections outside of their expected header by @benhillis in #13898
  • Resolve issue with buttons on notifications not working correctly by @benhillis in #13921
  • [GH 13837] Remove trailing slash from $XDG_RUNTIME_DIR by @benhillis in #13929
  • Fix issue with svccommio incorrectly resetting console state in the move operator by @benhillis in #14083
  • Fix excessive screen updates in progress indicators by @Copilot in #14206
  • Fix 4 code bugs: substr off-by-one, HANDLE* cast, TOCTOU GetLastError, sun_path overflow by @benhillis in #14297
  • Fix wsl stuck when misconfigured cifs mount presents by @chemwolf6922 in #14466
  • Accessibility: After selecting from the navigation list, keyboard focus is now transferred to page content by @ssparach in #14289

Features & Improvements

Developer Experience

  • Enable VS 2026 solution generation and improve ARM64 developer experience by @benhillis in #14283
  • Refactor: Use TryParse in view models for safer numeric input parsing by @dhtzs in #14323

New Contributors

Full Changelog: 2.7.0...2.7.1

2.6.3

Choose a tag to compare

@OneBlue OneBlue released this 12 Dec 23:34
  • Fix an issue causing wslg shortcut generation to fail (solves: #1388)

2.7.0

2.7.0 Pre-release
Pre-release

Choose a tag to compare

@OneBlue OneBlue released this 11 Dec 16:09
5acd600

What's Changed

  • Remove unused LXSS_DISTRO_FLAGS_WSLCORE_MODE by @OneBlue in #13603
  • Add logic to handle partial hvsocket writes and additional logging by @OneBlue in #13602
  • Update Microsoft.NETCore.App.Runtime packages version with fix for CVE-2025-55248 by @benhillis in #13607
  • Update Microsoft.WSL.DeviceHost package to version 1.0.0-20251015.1 by @benhillis in #13606
  • Fix edge cases around .vhd support by @benhillis in #13061
  • Fix WslDistributionConfig to not default-initialize optional fields by @benhillis in #13629
  • Make the sample WSL_POST_BUILD_COMMAND more resilient by @OneBlue in #13652
  • wslsettings: allow OOBE window to close with escape key by @benhillis in #13686
  • wslsettings: fix OOBE text truncation at 200% text scaling by @benhillis in #13693
  • wslsettings: add underlines to links in about page by @benhillis in #13703
  • .clang-format: add InsertBraces: true and minor fix to FormatSource.ps1 by @benhillis in #13712
  • wslsettings: ensure selected setting is auto-expanded and selected by @benhillis in #13689
  • build: fix minor compiler errors when building with VS2026 by @benhillis in #13744
  • Mask systemd-networkd-wait-online.service during boot by @OneBlue in #13611
  • deps: update a number of NuGet packages to the latest available versions by @benhillis in #13728
  • Add *.slnx to .gitignore by @OneBlue in #13754
  • Fix service crash when collecting a linux crash dump when maxCrashDumpCount is set to 0 by @OneBlue in #13755
  • cleanup: VirtioNetworking refactoring by @benhillis in #13760
  • cleanup: switch from Microsoft::WRL::ComPtr to wil::com_ptr by @benhillis in #13767
  • cleanup: VirtioNetworking refactoring to be more portable by @benhillis in #13783
  • cleanup: remove invalid m_deviceHostSupport checks by @benhillis in #13787
  • cleanup: move common functionality out of service exe by @benhillis in #13788
  • test: improve test logging infra by @benhillis in #13811
  • virtio networking: fix two minor issues by @benhillis in #13810
  • Update Microsoft.WSL.Kernel to 6.6.114.1 by @chessturo in #13812
  • test: minor updates to improve virtiofs pass rate by @benhillis in #13815
  • Update Microsoft.WSL.DeviceHost to remove lxutil.dll dependency by @benhillis in #13633
  • cleanup: add handling for product-specific virtio networking class IDs. by @benhillis in #13822
  • wslsettings: ensure text in the oobe window properly wraps by @benhillis in #13823
  • Add back WSL2_VM_ID environment variable to the system distro. by @benhillis in #13835
  • CI: Switch away from -dev versions of MS-RDX-MRO.windows-store-publish tasks by @benhillis in #13841
  • Fix typo in Dutch translations by @frosit in #13853
  • test: add simple virtio proxy networking tests and move mirrored tests to their own class by @benhillis in #13838
  • CI: update issue for wslsettings being rebuilt and signature being overwritten by @benhillis in #13855

New Contributors

Full Changelog: 2.6.2...2.7.0