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 |
Description
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)
Change History (3)
by , 8 years ago
Attachment: | vbox-patch-for-hardened.diff added |
---|
comment:1 by , 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))
break;
if (pMemInfo->AllocationBase != MemInfo2.AllocationBase)
break;
}
comment:2 by , 8 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Thanks! Applied to all relevant branches and will be part of the next releases (and test builds with r109013 and later).
patch file