Skip to content

Update Microsoft.WSL.Kernel to 6.18.26.1#40161

Merged
benhillis merged 4 commits into
masterfrom
user/chessturo/6.18.20.1-update
May 8, 2026
Merged

Update Microsoft.WSL.Kernel to 6.18.26.1#40161
benhillis merged 4 commits into
masterfrom
user/chessturo/6.18.20.1-update

Conversation

@chessturo

@chessturo chessturo commented Apr 10, 2026

Copy link
Copy Markdown
Contributor

Updated Microsoft.WSL.Kernel package version from 6.6.114.1-1 to 6.18.20.3-1.

  • Release rolling-lts/wsl/6.18.20.3
  • Update to stable kernel version v6.18.20
  • New x86 and ARM64 configs including:
    • CONFIG_ANON_VMA_NAME
    • Various options for CAN support
    • CONFIG_INPUT_JOYDEV
    • CONFIG_USB_MON
    • F2FS support
    • ExFAT support
  • Configs added to ARM64 already present on x86
    • FAT support
  • Fewer out of tree patches. Sets of patches now included from upstream:
    • Virtio PMEM support for PCI BAR addresses (feature/hvlite_virtio_pmem/6.6)
    • ICTIMESYNCFLAG_SYNC support (fix/hv_utils_clock/6.6)

Closes: #7747, #11994, #11503, #8231, #11801, #11285

@chessturo chessturo requested a review from a team as a code owner April 10, 2026 22:05
Copilot AI review requested due to automatic review settings April 10, 2026 22:05

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates the WSL kernel NuGet dependency to ship a newer rolling-lts kernel release, aligning the repo’s build inputs with kernel v6.18.20 and the associated configuration/patch set described in the PR metadata.

Changes:

  • Bump Microsoft.WSL.Kernel package version from 6.6.114.1-1 to 6.18.20.1-1.
@OneBlue

OneBlue commented Apr 11, 2026

Copy link
Copy Markdown
Collaborator

Updated this branch since the build break in master has been resolved

@benhillis

Copy link
Copy Markdown
Member

Strange, a bunch of errors around importing distributions. I'll try to get a local repro.

Copilot AI review requested due to automatic review settings April 13, 2026 18:05

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 3 out of 3 changed files in this pull request and generated 3 comments.

Comment thread test/windows/UnitTests.cpp
Comment thread test/linux/unit_tests/lxtfs.c
Comment thread test/linux/unit_tests/lxtfs.c
Copilot AI review requested due to automatic review settings April 20, 2026 23:46
@benhillis benhillis force-pushed the user/chessturo/6.18.20.1-update branch from 2a21f7b to 80c362e Compare April 20, 2026 23:46

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 3 out of 3 changed files in this pull request and generated 2 comments.

Comment thread packages.config Outdated
Comment thread test/linux/unit_tests/lxtfs.c Outdated
Comment thread src/windows/wslsettings/Views/Settings/SettingsApplyHelper.cs Fixed
@benhillis benhillis changed the title Update Microsoft.WSL.Kernel to 6.18.20.1 Apr 21, 2026
Copilot AI review requested due to automatic review settings April 21, 2026 20:20
@benhillis benhillis force-pushed the user/chessturo/6.18.20.1-update branch from 3d2c733 to c304a6e Compare April 21, 2026 20:20

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 5 out of 5 changed files in this pull request and generated 2 comments.

Comment thread test/windows/UnitTests.cpp
Comment thread test/windows/NetworkTests.cpp Outdated
Copilot AI review requested due to automatic review settings April 23, 2026 16:22
@benhillis benhillis force-pushed the user/chessturo/6.18.20.1-update branch from f785e6e to 3be1194 Compare April 23, 2026 16:22

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 4 out of 4 changed files in this pull request and generated 1 comment.

Comment thread packages.config Outdated

@benhillis benhillis left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is looking good, but let's hold off on merging 6.18 until we promote the current 2.7.X WSL package to GA.

@benhillis benhillis force-pushed the user/chessturo/6.18.20.1-update branch from 3be1194 to 6108599 Compare April 23, 2026 18:27
Copilot AI review requested due to automatic review settings April 29, 2026 23:26
@chessturo chessturo force-pushed the user/chessturo/6.18.20.1-update branch from 6108599 to c26f8dd Compare April 29, 2026 23:26

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 4 out of 4 changed files in this pull request and generated no new comments.

@benhillis benhillis force-pushed the user/chessturo/6.18.20.1-update branch from c26f8dd to a0228f8 Compare May 1, 2026 03:15
@benhillis benhillis requested a review from a team as a code owner May 1, 2026 03:15
@cscnk52

cscnk52 commented May 1, 2026

Copy link
Copy Markdown

Sorry to bother you, but I suggest updating the version to 6.18.22 or later to avoid the copy fail (CVE-2026-31431) affecting newer kernels.

Copilot AI review requested due to automatic review settings May 1, 2026 15:25

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 18 out of 26 changed files in this pull request and generated 4 comments.

Comment thread test/linux/unit_tests/eventfd.c
</data>
<data name="MessageWslcNoSessionsFound" xml:space="preserve">
<value>No WSLC sessions found.</value>
<value>WSLA-istuntoja ei löytynyt.</value>

Copilot AI May 1, 2026

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This string uses "WSLA" (likely a typo) while other related strings and the product name use "WSLC". Please correct this to "WSLC" to avoid confusing users (and keep the acronym consistent across locales).

Suggested change
<value>WSLA-istuntoja ei löytynyt.</value>
<value>WSLC-istuntoja ei löytynyt.</value>
Copilot uses AI. Check for mistakes.
</data>
<data name="MessageWslcInvalidImage" xml:space="preserve">
<value>Invalid image: '{}'</value>
<value>Ogiltig bild ''{}''</value>

Copilot AI May 1, 2026

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The value wraps the placeholder with doubled single quotes (''{}''), which will likely render with two quote characters in UI. If the intent is to quote the inserted value, this should typically be a single pair of quotes around the placeholder (matching en-US: "Invalid image: '{}'"), or no quotes at all.

Suggested change
<value>Ogiltig bild ''{}''</value>
<value>Ogiltig bild '{}'</value>
Copilot uses AI. Check for mistakes.
</data>
<data name="MessagePathNotAbsolute" xml:space="preserve">
<value>Path is not absolute: '{}'</value>
<value>Sökvägen är inte absolut: ''{}''</value>

Copilot AI May 1, 2026

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This value also uses doubled single quotes (''{}''), which will likely render as double quotes in UI. Consider using a single quoted placeholder (e.g., "'{}'") or matching the en-US punctuation pattern for consistency.

Suggested change
<value>Sökvägen är inte absolut: ''{}''</value>
<value>Sökvägen är inte absolut: '{}'</value>
Copilot uses AI. Check for mistakes.
@benhillis benhillis force-pushed the user/chessturo/6.18.20.1-update branch from 5728d8d to cf7307e Compare May 1, 2026 16:25
chessturo and others added 3 commits May 7, 2026 15:17
Adjust eventfd size validation, lxtfs writev, and mount option
format expectations to match 6.18 kernel behavior.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
The kernel now outputs cache=0x5 (hex) instead of cache=5 (decimal) in
/proc/mounts for 9p filesystems. Update the ExpectMount patterns in
WSLCTests::WindowsMounts and WSLCTests::GPU to match the new format.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot AI review requested due to automatic review settings May 7, 2026 22:17
@chessturo chessturo force-pushed the user/chessturo/6.18.20.1-update branch from cf7307e to 2c0521d Compare May 7, 2026 22:17

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 5 out of 5 changed files in this pull request and generated no new comments.

@janderssonse

janderssonse commented May 8, 2026

Copy link
Copy Markdown

Sorry to bother you, but I suggest updating the version to 6.18.22 or later to avoid the copy fail (CVE-2026-31431) affecting newer kernels.

Sorry to bother you, but I suggest updating the version to 6.18.22 or later to avoid the copy fail (CVE-2026-31431) affecting newer kernels.

I think a lot of MS enterprise users would expect an new sharp release (2.7.4? - not a pre-release - containing that fix.

@benhillis benhillis changed the title Update Microsoft.WSL.Kernel to 6.18.20.3 May 8, 2026
@benhillis benhillis merged commit 4b41584 into master May 8, 2026
11 checks passed
@benhillis benhillis deleted the user/chessturo/6.18.20.1-update branch May 8, 2026 17:45
@benhillis

Copy link
Copy Markdown
Member

Sorry to bother you, but I suggest updating the version to 6.18.22 or later to avoid the copy fail (CVE-2026-31431) affecting newer kernels.

Sorry to bother you, but I suggest updating the version to 6.18.22 or later to avoid the copy fail (CVE-2026-31431) affecting newer kernels.

I think a lot of MS enterprise users would expect an new sharp release (2.7.4? - not a pre-release - containing that fix.

Yes we will be rolling out a version with the new 6.18 kernel (which includes the copy-fail CVE fix) soon.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

6 participants