TARGET_MDL_TOO_SMALL

Code: 0x40 (64)

As HRESULT:As NTSTATUS:

Description

The TARGET_MDL_TOO_SMALL bug check has a value of 0x00000040. This indicates that a driver has improperly used IoBuildPartialMdl.

Important

This article is for programmers. If you're a customer who has received a blue screen error code while using your computer, see Troubleshoot blue screen errors.

TARGET_MDL_TOO_SMALL Parameters

None

Cause

This is a driver bug. A driver has called the IoBuildPartialMdl function and passed it an MDL to map part of a source MDL, but the target MDL is not large enough to map the entire range of addresses requested.

Resolution

The source and target MDLs, as well as the address range length to be mapped, are the first, second, and fourth arguments to the IoBuildPartialMdl function. Therefore, doing a stack trace on this particular function might help during the debugging process. Ensure that your code is correctly calculating the necessary size for the target MDL for the address range length that you are passing to this function.

Article text from the Windows driver documentation (opens in a new tab), by Microsoft, under the CC BY 4.0 (opens in a new tab) licence.

Associated Modules

ModuleCodeFound inDescription
EventCreate.exe0x4078.11011%1
KernelBase.dll0x4078.1The specified network name is no longer available.
cipher.exe0x4078.11011Compatibility Level:
dsreg.dll0x401011One or more errors were encountered while retrieving a Secure Sockets Layer (SSL) certificate from the server. Error code: %1 WinHTTP status: %2 (%3)
dssec.dll0x4078.11011Reanimate tombstones
ehepgres.dll0x407%1
hvloader.dll0x4011Hypervisor launch failed; Too many runtime services memory ranges described by firmware.
hvservice.sys0x4010Hypervisor launch failed; Too many runtime services memory ranges described by firmware.
kernel32.dll0x4078.11011The specified network name is no longer available.
nslookup.exe0x4078.11011Format error
reagentc.exe0x4011Last test mode run was successful.
webservices.dll0x4078.11011The remote endpoint was unable to start.
wevtutil.exe0x4078.11011Type the password for %1!s!:
win32k.sys0x4078.1IconSpacing
win32kbase.sys0x401011IconSpacing
15 entries