WSL icon indicating copy to clipboard operation
WSL copied to clipboard

nestedVirtualization silently disabled: HCS ProcessorCapabilities query fails with 0x8007000D on 26100.9711 (Oct 2026 CU), WSL swallows error

Open timusus opened this issue 1 month ago • 41 comments

Windows Version

Microsoft Windows [Version 10.0.26200.9711] (Oct 2026 CU, Package_for_RollupFix 26100.9711.1.30)

WSL Version

3.0.3.0

Are you using WSL 1, WSL 2, or WSLC?

  • [x] WSL 2
  • [ ] WSL 1
  • [ ] WSLC

Kernel Version

6.18.54.1-microsoft-standard-WSL2

Distro Version

Ubuntu 22.04

Other Software

AMD Ryzen 7 3700X (Zen 2), SVM enabled in firmware. VirtualMachinePlatform + HypervisorPlatform enabled; full Hyper-V not installed. VBS running with no security services (no HVCI/Credential Guard).

Repro Steps

  1. Windows 11 host on build 26100/26200.9711 (October 2026 cumulative update), AMD CPU.
  2. %UserProfile%\.wslconfig:
    [wsl2]
    nestedVirtualization=true
    
  3. wsl --shutdown, start a distro.
  4. In the guest: ls /dev/kvm; grep -Ec 'vmx|svm' /proc/cpuinfo; dmesg | grep -i 'nested features'

Expected Behavior

Guest sees SVM and /dev/kvm exists (this worked on this machine before the October update). If nested virtualization really is unavailable, wsl.exe should at least print MessageNestedVirtualizationNotSupported.

Actual Behavior

ls: cannot access '/dev/kvm': No such file or directory
0
[    0.000000] Hyper-V: Nested features: 0x0

modprobe kvm_amd -> SVM not supported by CPU. wsl.exe prints no warning.

Diagnostic Logs

Root cause appears to be an HCS regression that WSL silently swallows.

WslCoreVm.cpp (~L1595) gates ExposeVirtualizationExtensions on hcs::GetProcessorFeatures() containing "NestedVirt". That function issues exactly this query, which now fails on this build:

HcsGetServiceProperties('{ "PropertyQueries": {"ProcessorCapabilities" : {}}}')
-> hr=0x8007000D {"Error":-2147024883,"ErrorMessage":"The data is invalid."}

For comparison on the same host:

{"PropertyQueries":{"Basic":{}}}                    -> S_OK, SupportedSchemaVersions [2.11]
{"PropertyQueries":{"ContainerCredentialGuard":{}}} -> S_OK
{"PropertyQueries":{"ProcessorFeatures":{}}}        -> 0x80070057 (unknown property)
{"PropertyQueries":{"ProcessorCapabilities":{}}}    -> 0x8007000D (known property, fails internally)

Because the call is wrapped in CATCH_LOG(), the exception is only logged and:

  • vmSettings.ComputeTopology.Processor.ExposeVirtualizationExtensions is never set (omitted from the HCS document),
  • m_vmConfig.EnableNestedVirtualization stays 1 (CreateVmBegin/CreateVmEnd events from the lxcore_service provider both report EnableNestedVirtualization = 1),
  • EMIT_USER_WARNING(MessageNestedVirtualizationNotSupported) is skipped.

Hyper-V-Worker-Admin event 18609 for the WSL VM shows Partition creation flags: 0x8001000044120 (no nested-capable flag).

Ruled out: .wslconfig is being read (memory setting applies); no WSL policy keys; firmware SVM enabled (VirtualizationFirmwareEnabled=True); all Hyper-V binaries consistently at 10.0.26100.9711; sfc /verifyonly clean; hardwarePerformanceCounters=false makes no difference.

Asks:

  1. HCS: the ProcessorCapabilities service property query appears to have regressed in 26100.9711 (fails with ERROR_INVALID_DATA).
  2. WSL: when GetProcessorFeatures() throws, emit a user warning instead of silently dropping nested virtualization (or fall back to requesting ExposeVirtualizationExtensions and let HCS reject it).

Related: #40735 (same code path, Windows 10).

timusus avatar Oct 14 '26 12:10 timusus

Logs are required for review from WSL team

If this a feature request, please reply with '/feature'. If this is a question, reply with '/question'. Otherwise, please attach logs by following the instructions below, your issue will not be reviewed unless they are added. These logs will help us understand what is going on in your machine.

How to collect WSL logs

Download and execute collect-wsl-logs.ps1 in an administrative powershell prompt:

Invoke-WebRequest -UseBasicParsing "https://raw.githubusercontent.com/microsoft/WSL/master/diagnostics/collect-wsl-logs.ps1" -OutFile collect-wsl-logs.ps1
Set-ExecutionPolicy Bypass -Scope Process -Force
.\collect-wsl-logs.ps1

The script will output the path of the log file once done.

If this is a networking issue, please use .\collect-wsl-logs.ps1 -LogProfile networking instead, following the instructions in Collect WSL logs for networking issues

Once completed please upload the output files to this GitHub issue.

See Collect WSL logs (recommended method).

If you choose to email these logs instead of attaching them to the bug, please send them to [email protected] with the GitHub issue number in the subject, and include a link to your GitHub issue comment in the message body, and reply with '/emailed-logs'.

github-actions[bot] avatar Oct 14 '26 12:10 github-actions[bot]

We also ran into this. The issue also happened on my coworkers laptop, uninstalling KB5127648 immediately fixed it. Also it might only be affecting AMD CPUs, another coworker applied the update and did not encounter any issues.

Affected AMD CPU: AMD Ryzen 5 PRO 8640HS w/ Radeon 760M Graphics Unaffected Intel CPU: Intel(R) Core(TM) Ultra 7 155H

boostd avatar Oct 14 '26 12:10 boostd

Also ran into this. Can confirm uninstalling KB5127648 fixed the issue. Affected CPU: AMD Ryzen 5 7640HS w/ Radeon 760M Graphics

samerelmaz avatar Oct 14 '26 14:10 samerelmaz

Long detailed report assembled for me by Claude. Human TL;DR: /dev/kvm missing, discovered bc. breaking docker-sbx; restored service by uninstalling 5127649 update installed last night:

Same problem on an AMD Ryzen 5 5600X (Zen 3), so this is not limited to Zen 2 or Zen 4. Uninstalling KB5127648 fixed it.

Machine

CPU: AMD Ryzen 5 5600X (6 cores, 12 threads) Motherboard: MSI MS-7C95, BIOS 2.M1 (UEFI) RAM: 16 GB Windows 11 Pro 25H2. Build with KB5127648 installed: 10.0.26200.9711 (kernel reports 26100.9711 in the Kernel-General boot event). Build after uninstalling it: 10.0.26200.9457. Updates installed on 2026-10-14: KB5127647 (servicing stack), KB5127648 (LCU), KB5127690 (.NET Framework 4.8.1 rollup). KB5129195 (security update for Windows 11 24H2/25H2) was also installed that day; it is still installed and nested virtualization works with it, so it is not the cause. WSL 3.0.3.0, kernel 6.18.54.1-microsoft-standard-WSL2, Ubuntu 24.04.5 LTS .wslconfig: [wsl2] / nestedVirtualization=true Memory Integrity off. VBS running with no security services configured. No third-party hypervisor drivers loaded. With KB5127648 installed

No svm flag in /proc/cpuinfo inside WSL, and no /dev/kvm. dmesg showed Hyper-V: Nested features: 0x0, and KVM reported no hardware support because SVM was not available (has_svm: svm not available). [I didn't save the full output, apologies.] wsl.exe printed no warning about nested virtualization. No errors in the Hyper-V event logs. Docker Sandboxes (sbx), which runs a KVM microVM inside WSL, failed with start runtime: 500 Internal Server Error. Its daemon log said KVM is not available.

Things that did not help nestedVirtualization=true in .wslconfig (it was already set) followed by wsl --shutdown Upgrading WSL from 2.4.13.0 (kernel 5.15.167.4) to 3.0.3.0 (kernel 6.18.54.1) Memory Integrity: it was already off

Fix Uninstalling KB5127648 and rebooting brought back svm and /dev/kvm (crw-rw---- 1 root kvm 10, 232, 12 svm matches in /proc/cpuinfo on the 6-core/12-thread CPU), and sbx works again. Nothing else changed: same WSL 3.0.3.0, same kernel, same .wslconfig.

j0rg3n avatar Oct 14 '26 21:10 j0rg3n

Thanks for posting (and the duplicates). We have identified the issue with the Windows Update and are working with the servicing team to get a fix out as quickly as possible. If a temporary workaround is found (other than rolling back the KB which has other downsides) I will share it here. Thanks for your patience.

benhillis avatar Oct 15 '26 03:10 benhillis

I can confirm the same issue with my AMD CPU. Uninstalling KB5127648 fixed it for me as well.

MaKTaiL avatar Oct 15 '26 14:10 MaKTaiL

I can confirm the same issue on my CPU AMD Ryzen 9 8945HS, i sent a feedback via feedback Hub by attaching logs gathered with collect-wsl-logs.ps1 while reproducing the issues. Fixed by uninstalling the update KB5127648

The feedback is https://aka.ms/AA13sxp7

mrpickles007 avatar Oct 15 '26 15:10 mrpickles007

just ran into the same issue ~

Environment:

  • Windows 11 Home Single Language, build 10.0.26200.9711 (KB5127648 installed 2026-10-13; KB5127647/SSU and KB5127690 also present)
  • CPU: AMD Ryzen 7 5800H (Zen 3, family 19h model 50h), SVM enabled in firmware
  • WSL 3.0.3.0; kernel 6.18.54.1-microsoft-standard-WSL2+, built locally from the Microsoft WSL config with CONFIG_KVM=m / CONFIG_KVM_AMD=m
  • VirtualMachinePlatform + HypervisorPlatform enabled (full Hyper-V not installed on Home), hypervisorlaunchtype Auto; hypervisor boots cleanly (Hyper-V-Hypervisor event ID 1, IOMMU enabled), VBS running

Symptoms are identical to the report:

$ grep -c svm /proc/cpuinfo        # 0
$ ls -l /dev/kvm                   # static udev node only; no kvm module loaded, kvm absent from /proc/misc
$ dmesg | grep 'Nested features'   # [0.000000] Hyper-V: Nested features: 0x0

Hope this info below will help for analysing the root cause: Assisted-by: opencode : deepseek-flash-4.1

  1. Root failure: the HCS ProcessorCapabilities serializer (vmcompute.exe / computecore.dll, 10.0.26100.9711) does not handle the new processor-feature bits 59/60 that the hypervisor reports via WHvGetCapability(WHvCapabilityCodeProcessorFeaturesBanks) (its name table ends at bit 55 TsaFillNo + SentinelAmd) → HcsGetServiceProperties({... "ProcessorCapabilities" ...}) returns 0x8007000D (consistent with the analysis in #41918).
  2. WSL then swallows it: hcs.cpp L112–135 (THROW_IF_FAILED(HcsGetServiceProperties(...)) at L120) throws, and WslCoreVm.cpp L1596–1618 catches with CATCH_LOG() (L1617), so ExposeVirtualizationExtensions (L1611) is never set and the warning (L1614) is never reached.

trieu1162000 avatar Oct 15 '26 15:10 trieu1162000

I'm experiencing the same issue on a system with an AMD Ryzen 5 8645HS.

System information

  • CPU: AMD Ryzen 5 8645HS (Radeon 760M Graphics)
  • OS: Windows 11 Home, build 10.0.26200.9711
  • Recent Windows updates: KB5127648, KB5127647, KB5127690
  • WSL version: 3.0.3.0 (previously 3.0.1.0)
  • WSL kernel: 6.18.54.1-microsoft-standard-WSL2 (previously 6.18.40.1)
  • Docker Desktop: WSL2 backend
  • VirtualizationFirmwareEnabled: True
  • HypervisorPresent: True
  • VirtualMachinePlatform: Enabled
  • VBS status: 2 (running)
  • HVCI: Enabled and running (SecurityServicesConfigured = {2}, SecurityServicesRunning = {2})

Issue

After installing Windows updates and rebooting, my KVM-dependent Docker environment stopped starting.

Running modprobe kvm_amd inside the docker-desktop WSL2 distribution fails with:

modprobe: can't load module kvm_amd (kernel/arch/x86/kvm/kvm-amd.ko): Not supported

The kernel logs show:

kvm_amd: SVM not supported by CPU 2
kvm_amd: SVM not supported by CPU 10
kvm_amd: SVM not supported by CPU 4

Additional findings

  • /dev/kvm is missing.
  • The svm CPU flag is absent from /proc/cpuinfo.
  • The kvm_amd module is present and matches the running kernel (modinfo kvm_amd works).
  • Setting nestedVirtualization=true in %USERPROFILE%.wslconfig, running wsl --shutdown, and restarting Docker Desktop did not resolve the issue.
  • No relevant errors or warnings were found in the Hyper-V-Compute-Admin event log.

Additional context

My environment is configured to require KVM for isolated code execution.

I noticed the issue after installing Windows updates and rebooting. However, I didn't run a KVM execution test immediately before updating, so I can't independently confirm the exact point at which KVM stopped working.

I haven't uninstalled KB5127648, as I'd prefer to keep the Windows security updates installed and wait for an official fix.

Hopefully these details help identify the issue.

ttPolG avatar Oct 16 '26 01:10 ttPolG

On an AMD Ryzen 9 7945HX, the rollback fails: Startup Repair says 'recently serviced boot binary is corrupt'.

So I am unable to get KB5127648 uninstalled and resume working, until this update gets fixed.

kerbe avatar Oct 16 '26 07:10 kerbe

I'm experiencing the same problem. I have an AMD ryzen 9 7950x. Previously working.

marcoaurelioguerrap avatar Oct 16 '26 15:10 marcoaurelioguerrap

Additional affected system, diagnosed on 2026-10-18: AMD Ryzen 5 5600 (Zen 3), with Cockpit Machines/libvirt unable to use KVM inside WSL 2.

Environment

  • Windows 11 Pro 26H2, build 10.0.26300.9711.
  • CPU: AMD Ryzen 5 5600 6-Core Processor.
  • Windows reports VirtualizationFirmwareEnabled = True and HypervisorPresent = True.
  • KB5127648 is installed; Get-HotFix reports installation on 2026-10-17.
  • WSL 2.7.11.0; Ubuntu is running in WSL 2.
  • Kernel: 6.18.33.2-microsoft-standard-WSL2.
  • Distribution: Ubuntu 24.04.1 LTS.
  • Cockpit 314-1, cockpit-machines 310-1, libvirt-daemon-system 10.0.0-2ubuntu8.19, qemu-system-x86 1:8.2.2+ds-0ubuntu1.18.
  • No .wslconfig file exists in the Windows user profile; nested virtualization has not been explicitly disabled in that file.

Observed behavior

Cockpit Machines reports that virtualization is unavailable. Checks inside Ubuntu show:

$ grep -cw svm /proc/cpuinfo
0

$ dmesg | grep 'Nested features'
[    0.000000] Hyper-V: Nested features: 0x0

$ modprobe kvm_amd
modprobe: ERROR: could not insert 'kvm_amd': Operation not supported

$ dmesg | grep 'kvm_amd:.*SVM'
[  309.944267] kvm_amd: SVM not supported by CPU 2

$ virt-host-validate qemu
QEMU: Checking for hardware virtualization : FAIL (Host not compatible with KVM; HW virtualization CPU features not found. Only emulated CPUs are available; performance will be significantly limited)

$ virsh -c qemu:///system domcapabilities --virttype kvm
error: failed to get emulator capabilities
error: invalid argument: the accel 'kvm' is not supported by '/usr/bin/qemu-system-x86_64' on this host

The matching kvm and kvm_amd modules are present (modinfo succeeds), and the running kernel configuration has CONFIG_KVM=m and CONFIG_KVM_AMD=m.

A /dev/kvm character-device node exists (major 10, minor 232), but opening it as root returns OSError: [Errno 19] No such device. Its presence alone does not indicate working KVM in this case.

Limits of this report

These symptoms are consistent with the regression discussed here, but I have not established a before/after comparison or tested uninstalling KB5127648. A direct HCS probe from the diagnostic process returned 0x8037011B for both ProcessorCapabilities and Basic; it did not reproduce the original report's 0x8007000D, so I am not claiming independent confirmation of that exact HCS failure.

Expected behavior: hardware virtualization extensions should be available to WSL 2 so Cockpit/libvirt can use KVM. Adding this system's verified observations to the existing report rather than opening a duplicate.

Diagnostic summary prepared with Codex assistance; only the relevant command results are included.

zyx2202008 avatar Oct 18 '26 01:10 zyx2202008

Follow-up: uninstalling KB5127648 resolved the problem

Update on 2026-10-18 to my earlier diagnostic report for the AMD Ryzen 5 5600 system (Windows 11 Pro 26H2, previously build 10.0.26300.9711; Ubuntu 24.04.1 LTS on WSL 2).

After uninstalling the Windows security update KB5127648, the Cockpit/WSL virtualization problem was resolved. The machine owner has now confirmed this result.

This updates the earlier report, which stated that uninstalling the update had not yet been tested. The rollback outcome provides additional evidence linking the problem on this system to KB5127648.

This follow-up records the owner's observed recovery; no fresh post-rollback command output or HCS trace is attached, and it does not independently establish the precise internal HCS failure.

Thank you for investigating this regression.

zyx2202008 avatar Oct 18 '26 02:10 zyx2202008

So are we not getting an AMD nested virtualization fix? We just lose that feature?

Raising the warning to the user doesn't help - you silently removed a feature that users depended on, and it makes WSL2 objectively less usable for developers.

nsemmel avatar Oct 18 '26 03:10 nsemmel

Follow-up to my earlier comment about the KB5127648 rollback failing on an AMD Ryzen 9 7945HX (ASUS GX650PY, firmware GX650PY.318, Windows 11 26200.9711).

I looked into why the uninstall can't complete. It looks like it collides with the Secure Boot 2023 CA / boot manager migration that happened right after the October CU was installed.

What the logs show:

  • On 2026-10-16 I uninstalled KB5127648 and rebooted. The machine went through about 6 reboot cycles. Startup Repair then reported A recently serviced boot binary is corrupt, and its repair action was Abort pending update installations (SrtTrail.txt). It booted back into 9711.
  • The rollback's CBS log shows boot-critical components being downgraded (10.0.26100.9549 -> 10.0.26100.9278 Microsoft-BootCriticalUpdatePlugin, 164 components are marked BootCritical).
  • Starting 2026-10-15, after the 9711 install, Microsoft-Windows-TPM-WMI event 1808 reports UpdateType: Windows UEFI CA 2023 (DB), Option ROM CA 2023 (DB), 3P UEFI CA 2023 (DB), KEK 2023, Boot Manager (2023). HKLM\SYSTEM\CurrentControlSet\Control\SecureBoot\Servicing\UEFICA2023Status = Updated.
  • During the failed rollback, event 1808 fired again about 5 minutes after every boot. So the 2023 boot manager was being re-applied while the rollback was trying to put back the 9457 boot binaries.

My guess, which I haven't confirmed: the rollback restores the older boot binaries, the Secure Boot servicing task re-installs the 2023 boot manager, and Startup Repair flags the mismatch as a corrupt serviced boot binary. If that's right, AMD machines that already got the 2023 boot manager update may be unable to roll back KB5127648 at all. Uninstalling isn't a workaround for them.

Other things I ruled out: BitLocker (protection off, no key protectors), disk health (all Startup Repair disk tests passed), and the CBS errors (only benign 0x80070490 language-pack lookups and KB3025096 invalid-package noise).

kerbe avatar Oct 18 '26 11:10 kerbe

Chiming in to say that I am also affected by this regression. AMD 5950x. For some reason I am not even able to uninstall the KB5127648 Security Update, I am getting a "Uninstall failed (error 8x800F0825)" message while trying to do so.

davide-rossi-ce avatar Oct 19 '26 07:10 davide-rossi-ce

I'm also affected by this regression. AMD 5700X. I was only able to uninstall the KB5127648 Security Update after disabling the Windows Sandbox optional feature. Would appreciate if this gets fixed so we can reinstate the uninstalled security update ASAP.

mmfallacy avatar Oct 19 '26 08:10 mmfallacy

This should not have been closed. Any update here, a Windows update is being worked on to restore this functionality.

benhillis avatar Oct 19 '26 16:10 benhillis

I tried downgrading back to 2.9.13 using the .msix package and nested virtualization was still unsupported.

I've tried these workarounds and failed

  • Disabling Device Security Settings / Core Isolation ( not needed during WSL 2)
  • Turning off running Hyper-V instances
  • bcdedit /set hypervisorlaunchtype auto
  • disabled kernelCommandLine , tested various modifications.

tonymet avatar Oct 19 '26 17:10 tonymet

@timusus can you add instructions on gathering the diagnostics e.g. HcsGetServiceProperties i would like to repro them on my env too. I had downgraded to 2.9.13 with no fix.

tonymet avatar Oct 19 '26 17:10 tonymet