Skip to content

[BUG] After the WSL 2.7.3.0 update, custom kernel modules are not working due to an 'access denied' error #40482

@Nevuly

Description

@Nevuly

Windows Version

Microsoft Windows [Version 10.0.26200.8328]

WSL Version

2.7.3.0

Are you using WSL 1 or WSL 2?

  • WSL 2
  • WSL 1

Kernel Version

6.6.114.1-1 (Used custom kernel: 7.0.5)

Distro Version

Ubuntu 26.04

Other Software

Scoop

Repro Steps

  1. Install custom kernel module using Scoop (When installing via Scoop, it is downloaded to the following path: C:\Users\User\scoop\apps\<app_name>\<version>\<module vhdx>).
  2. Use WSL Settings to set the custom kernel module path to the downloaded location.
  3. Boot WSL distribution.

Expected Behavior

The WSL2 distribution should start and run correctly without any errors.

Actual Behavior

An error occurs (Access Denied):
Wsl/Service/CreateInstance/CreateVm/HCS/E_ACCESSDENIED

For further verification, if I copy the vhdx file to the C:\ root directory, update the path, and boot WSL, it boots correctly.

Upon further investigation, it only fails to work in the User directory (C:\Users\<Username>).

Diagnostic Logs

N/A

Metadata

Metadata

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions