[Bug]: Host BSOD 0xCA PNP_DETECTED_FATAL_ERROR in VBoxUSBMon during USB hot-plug
Maintainers usually reply within 6 days
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 38/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Active
- Tech stack
- c
- Domain
- backend, operating-systems
Research direction
Start by reviewing the attached WinDbg report and the related issue #927, then trace the VBoxUSBMon.sys path around the reported offset and its call to IoGetDevicePropertyData. Reproduce USB hot-plug on a Windows 11 host with VBoxUSBMon enabled and inspect the device object lifecycle. Done means hot-plug no longer causes PNP_DETECTED_FATAL_ERROR (0xCA), including with the reported hub and devices.
Written by the indexing model from the issue text.
Description
Version
7.2.22
Host OS Type
Windows
Host OS name + version
Windows 11 Enterprise 24H2, Build 26100.x
Host Architecture
x86
Guest OS Type
Linux
Guest Architecture
x86
Guest OS name + version
Ubuntu 24.04 LTS
Component
USB and Serial Ports
What happened?
This appears closely related to #927.
Unlike the original report, I reproduced the issue with VirtualBox 7.2.22 and different USB devices. Disabling VBoxUSBMon prevents reproduction so far.
The Windows host reproducibly crashes during USB hot-plug with:
PNP_DETECTED_FATAL_ERROR (0xCA), Arg1 0x2 (Invalid PDO)
The crashes occurred when connecting different USB devices (USB-UART and USB-Ethernet) through a Lenovo ThinkVision USB hub / Lenovo docking station.
WinDbg reports:
IMAGE_NAME: VBoxUSBMon.sys
SYMBOL_NAME: VBoxUSBMon+3dc3
FAILURE_BUCKET_ID: 0xCA_2_VBoxUSBMon!unknown_function
Relevant stack:
nt!KeBugCheckEx
nt!IoGetDevicePropertyData+0x9b
VBoxUSBMon+0x3dc3
The affected device object belongs to:
\Driver\USBHUB3
The same failure was previously reproduced with VirtualBox 7.2.14. Updating to 7.2.22 did not resolve it.
As an A/B test, I disabled VBoxUSBMon and rebooted. I then repeatedly connected and disconnected the same USB devices through the ThinkVision USB hub and docking station without another crash.
Expected behavior: USB hot-plug on the Windows host must not cause a host OS bugcheck, regardless of whether VirtualBox is running.
How can we reproduce this?
- Run VirtualBox 7.2.22 on a Windows 11 Enterprise 24H2 host, Build 26100.x.
- Ensure
VBoxUSBMonis enabled and running. - Connect the host through a docking station / monitor with an integrated USB hub.
- Start a VirtualBox VM.
- Hot-plug a USB device, e.g. USB-Ethernet or USB-UART, into the downstream USB hub.
- The Windows host may crash with
PNP_DETECTED_FATAL_ERROR (0xCA), Arg10x2. - WinDbg
!analyze -videntifiesVBoxUSBMon.sys.
Workaround / A/B test:
sc.exe config VBoxUSBMon start= disabled
After rebooting, VBoxUSBMon reports Stopped / Disabled. The same USB hot-plug operations have not reproduced the crash so far.
Re-enabling VBoxUSBMon is therefore currently avoided.
Did you upload all of your necessary log files, screenshots, etc.?
- Yes, I've uploaded all pertinent files to this issue.
- Dominant language
- C
- Stars
- 1.4k
- Forks
- 219
- PR merge metrics
- No merged PRs in 30d
Getting set up
- No Dockerfile or Docker Compose file
- No pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from VirtualBox/virtualbox
-
bug
Difficulty 1/5 Under an hour Newbie friendliness 84/100
VirtualBox/virtualbox#996 ·
Maintainers usually reply within 6 days
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
VirtualBox/virtualbox#979 ·
Maintainers usually reply within 6 days
-
[Bug]: Guest Additions 7.2.20 vboxvideo fails to build on Linux kernel 6.12.113 (drm_fb_helper_restore_fbdev_mode_unlocked: too few arguments)Possibly taken @Berbe claimed this 18 days ago. Openbug
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
VirtualBox/virtualbox#918 · 9 comments ·
Maintainers usually reply within 6 days
-
bug
Difficulty 4/5 3-5 days Newbie friendliness 25/100
VirtualBox/virtualbox#995 ·
Maintainers usually reply within 6 days
-
bug
Difficulty 3/5 1-2 days Newbie friendliness 45/100
VirtualBox/virtualbox#994 ·
Maintainers usually reply within 6 days
All issues in VirtualBox/virtualbox
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 80/100
ESPresense/ESPresense#2680 · 2 comments ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
ImageMagick/ImageMagick#9134 ·
Maintainers usually reply within 1 day
-
Builder: a structure opened without calculation data shows the Diffraction (fibre) view by defaultOpenbug
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
FriendsofECCE/ECCE#1245 · 1 comment ·
-
Arch: ARM/AArch64 Doc
Difficulty 1/5 Under an hour Newbie friendliness 90/100
RT-Thread/rt-thread#12082 · 1 comment ·
Maintainers usually reply within 2 days
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
apache/nuttx-apps#4108 · 4 comments ·
Maintainers usually reply within 1 day