Skip to content

WSL kernel 6.6 disables CONFIG_MODIFY_LDT_SYSCALL #12987

@JoshSchreuder

Description

@JoshSchreuder

Windows Version

Microsoft Windows [Version 10.0.26100.4061]

WSL Version

2.5.7.0

Are you using WSL 1 or WSL 2?

  • WSL 2
  • WSL 1

Kernel Version

6.6.87.1-1

Distro Version

Ubuntu 24.04

Other Software

wibo, version 0.6.16

Repro Steps

  • Update to WSL 2.5.7.0
  • Run wibo

Expected Behavior

  • wibo should run wrapped executable

Actual Behavior

This was working previously with kernel 5.5, and also works when custom compiling 6.x kernel with CONFIG_MODIFY_LDT_SYSCALL re-enabled (was disabled in this commit)

With that said, this is a breaking change between kernel versions that was unexpected and not trivial to diagnose. Additionally resolving it requires custom compiling either a 5.x kernel which works by default, or a 6.x kernel with this flag enabled (since MS does not appear to have pre-built kernel bzImages available for older versions as far as I could tell)

Diagnostic Logs

WslLogs-2025-05-28_20-38-42.zip

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions