FIX: IoBuildPartialMdl API does not propagate the device memory flag

Support for Windows XP has ended

Microsoft ended support for Windows XP on April 8, 2014. This change has affected your software updates and security options. Learn what this means for you and how to stay protected.

This article has been archived. It is offered "as is" and will no longer be updated.

A device driver that uses device I/O MDL, as opposed to a regular memory MDL, and then passes the MDL to the IoBuildPartialMdl function as the SourceMdl parameter, may crash the system. The crash may occur when the resulting partial MDL is referenced later.

When the crash occurs, you may receive the following error message on the stop error screen:

There is a bug in the IoBuildPartialMdl function that does not copy an internal flag from the main MDL to the partial MDL. This causes the partial MDL to point to regular memory space instead of I/O space. Therefore, memory manager may later crash.

Hotfix information

A supported hotfix is available from Microsoft. However, this hotfix is intended to correct only the problem that is described in this article. Apply this hotfix only to systems that are experiencing this specific problem. This hotfix might receive additional testing. Therefore, if you are not severely affected by this problem, we recommend that you wait for the next software update that contains this hotfix.

If the hotfix is available for download, there is a "Hotfix download available" section at the top of this Knowledge Base article. If this section does not appear, contact Microsoft Customer Service and Support to obtain the hotfix.

Note If additional issues occur or if any troubleshooting is required, you might have to create a separate service request. The usual support costs will apply to additional support questions and issues that do not qualify for this specific hotfix. For a complete list of Microsoft Customer Service and Support telephone numbers or to create a separate service request, visit the following Microsoft Web site: Note The "Hotfix download available" form displays the languages for which the hotfix is available. If you do not see your language, it is because a hotfix is not available for that language.

File information

The English version of this hotfix has the file attributes (or later) that are listed in the following table. The dates and times for these files are listed in coordinated universal time (UTC). When you view the file information, it is converted to local time. To find the difference between UTC and local time, use the Time Zone tab in the Date and Time tool in Control Panel.
   Date         Time   Version            Size    File name   --------------------------------------------------------------   08-Sep-2003  23:28  5.1.2600.1267   1,896,960  Ntkrnlmp.exe   08-Sep-2003  23:29  5.1.2600.1267   1,953,024  Ntkrnlpa.exe   08-Sep-2003  23:29  5.1.2600.1267   1,924,608  Ntkrpamp.exe   09-Sep-2003  00:56  5.1.2600.1267   2,049,408  Ntoskrnl.exe
Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.
More information
For additional information about how hotfix packages are named, click the following article number to view the article in the Microsoft Knowledge Base:
816915 New file naming schema for Microsoft Windows software update packages
For additional information, click the following article number to view the article in the Microsoft Knowledge Base:
824684 Description of the standard terminology that is used to describe Microsoft software updates

Article ID: 828274 - Last Review: 01/11/2015 23:22:25 - Revision: 4.0

Microsoft Windows XP Home Edition, Microsoft Windows XP Professional

  • kbnosurvey kbarchive kbautohotfix kbhotfixserver kbqfe kbbug kbwinxppresp2fix kbfix KB828274