VirtualBox

Opened 9 months ago

#21812 new defect

Unable to attach USB devices - Host Windows 11 - when Kernel-Mode Hardware-enforces Stack Protection is set On

Reported by: DEE Owned by:
Component: host support Version: VirtualBox-7.0.10
Keywords: USB Windows 11 Hardware-enforces Stack Protection Cc: DEE
Guest type: all Host type: Windows

Description

In early August, Microsoft 11 PRO update turned on "Kernel-Mode Hardware-enforces Stack Protection" Flash drives and Smart Card readers could be seen by linux guest but would not connect. Trying to connect again produces messages like this:

Failed to attach the USB device USB 2.0 USB Flash Drive [0100] to the virtual machine XUbuntu-22.4.
USB device 'USB 2.0 USB Flash Drive' with UUID {97c9ab5f-0fb7-4e66-a9de-66163334e752} is busy with a previous request. Please try again later.
Result Code:
E_INVALIDARG (0X80070057)
Component:
HostUSBDeviceWrap
Interface:
IHostUSBDevice {c19073dd-cc7b-431b-98b2-951fda8eab89}
Callee:
IConsole {6ac83d89-6ee7-4e33-8ae6-b257b2e81be8}

Under Windows "Setting" search for "Core isolation" which has "Kernel-mode Hardware-enforced Stack Protection" The last line says: "Note that not all drivers are compatible with this security feature."

VirtualBox appears to have one or more of these drivers.

Turning this feature off restored the ability to attach USB devices using VB-7.0.6.

Processor is "12th Gen Intel(R) Core(TM) i5-12600K 3.69 GHz"

Please consider updating VirtualBox drivers to allow the use of this security feature.

(Microsoft quietly turned this feature on at same time I was updating from VB-7.0.6 to VB-7.0.10. It took a week to track this down.)

Change History (0)

Note: See TracTickets for help on using tickets.

© 2023 Oracle
ContactPrivacy policyTerms of Use