Page 1 of 1

Win 7 Embedded Guest - VBoxMouse.sys BSOD w/ KB3139398 - Workaround

Posted: 26. May 2016, 14:42
by pow1983
System Setup:

Virtual Box 5.0.20 r106931
Virtual Box Additions 5.0.20r106931
Host: Windows 7 Pro SP1 x64
Guest: Windows 7 Embedded POSReady 7 x86

Problem:
Heres a little problem I came across today and hope it helps someone else out there. I do not know if this is a problem with the KB Windows Update or Virtual Box or a bit of both.
Having installed KB3139398 I rebooted the Guest VM as required, during the start up of Windows the following BSOD now displays relating to the driver VBoxMouse.sys.
Safemode also fails to launch.
Image

Temporary Workaround:
In order to bypass the BSOD, configure the following options within the Virtual Box settings page for your guest VM containing Windows 7 Embedded:
Settings > System : Pointing Device - change to PS/2 Mouse
Settings > USB : Enable USB Controller - change to disabled *(this may not be necessary but I did it anyway)

Once you have rebooted the Guest OS it completes the installation of KB3139398.
You can re-enable the USB Controller.

Continued Issue:
You cannot set the Virtual Box Pointing Device back to 'USB Tablet' or 'USB Multi-Touch Tablet' as you will once again experience the BSOD.
What is KB3139398:
MS16-033: Description of the security update for Windows USB mass storage class driver: March 8, 2016

Summary
This security update resolves a vulnerability in Microsoft Windows. The vulnerability could allow elevation of privilege if an attacker with physical access inserts a specially crafted USB device into the system.

Re: Win 7 Embedded Guest - VBoxMouse.sys BSOD w/ KB3139398 - Workaround

Posted: 26. May 2016, 21:22
by michaln
Could you please provide a VBox.log from your VM, ideally from the run which ended with the BSOD? I don't suppose you have the memory dump from the crash?

This certainly looks like a bug in VBoxMouse.sys, but I wonder what's required to reproduce it. Normal Windows 7 installs don't seem to be affected which makes me wonder what's different in your case...

Re: Win 7 Embedded Guest - VBoxMouse.sys BSOD w/ KB3139398 - Workaround

Posted: 27. May 2016, 14:46
by pow1983
Thanks for your reply michaln

For some annoying reason this morning when I set the Pointing Device to USB it no longer displays a BSOD so I can't at the moment provide you with useful log files.
I do however, have another Windows 7 Embedded POSReady 7 environment that has not installed this update. I have enabled a minidump and will retest installing KB3139398. I'll also take a snapshot before so that if we need to do further testing it will be a little easier.

KB3139398 - initially I thought this was an update for only Embedded editions, but according to the following sites its applicable to a number of versions and editions.
https://support.microsoft.com/en-gb/kb/3139398
https://technet.microsoft.com/library/s ... 2147217396

Should anyone wish to download an Evaluation version of POSReady 7 the official download page is as follows:
https://www.microsoft.com/en-gb/downloa ... x?id=26558