Opened 8 years ago

Closed 8 years ago

#15664 closed defect (fixed)

Hang on Virtual Machine startup

Reported by: a.nosov Owned by:
Component: host support Version: VirtualBox 5.1.2
Keywords: Cc:
Guest type: Windows Host type: Windows


When VirtualBox is starting Virtual Machine, infinite loop occur when hardened module unhook child process. We test with our Dr.Web Antivirus test build. Name of function is supHardNtVpFreeOrReplacePrivateExecMemory. To fix this problem we make patch file.

Attachments (1)

vbox-patch-for-hardened.diff (701 bytes ) - added by a.nosov 8 years ago.
patch file

Download all attachments as: .zip

Change History (3)

by a.nosov, 8 years ago

patch file

comment:1 by a.nosov, 8 years ago

Infinite loop is here

for (;;)


SIZE_T cbActual = 0; MEMORY_BASIC_INFORMATION MemInfo2 = { 0, 0, 0, 0, 0, 0, 0 }; uintptr_t uPtrNext = (uintptr_t)pvFree + cbFree; rcNt = g_pfnNtQueryVirtualMemory(hProcess,

(void const *)uPtrNext, MemoryBasicInformation, &MemInfo2, sizeof(MemInfo2), &cbActual);

if (!NT_SUCCESS(rcNt))


if (pMemInfo->AllocationBase != MemInfo2.AllocationBase)



comment:2 by Klaus Espenlaub, 8 years ago

Resolution: fixed
Status: newclosed

Thanks! Applied to all relevant branches and will be part of the next releases (and test builds with r109013 and later).

Note: See TracTickets for help on using tickets.

© 2023 Oracle
ContactPrivacy policyTerms of Use