Data becomes corrupted when a storage miniport driver tries to copy data to RAM in Windows 7 and in Windows Server 2008 R2

Article translations Article translations
Article ID: 2732471 - View products that this article applies to.
Expand all | Collapse all

On This Page

Symptoms

Consider the following scenario:
  • You install a Storport storage miniport driver on a computer that is running Windows 7 or Windows Server 2008 R2.
  • The miniport driver supports the Direct Memory Access (DMA) feature and requires mapped I/O buffers for read and write operations.
  • The miniport driver allocates I/O data, and then the miniport driver copies the I/O data in memory.
  • The miniport driver uses the copied data instead of the DMA area to perform I/O operations.
In this scenario, the data that is stored in memory becomes corrupted.

For example, when the miniport driver uses the memcpy function to copy data to the mapped I/O buffers, the data that the miniport driver copies becomes corrupted.

This issue occurs when one or more of the following conditions are true:
  • The computer is running a 32-bit operating system that has Physical Address Extension (PAE) enabled and that has the 32-bit DMA controller installed.
  • The computer is running a 64-bit operating system that has the DMA Verification feature enabled in the Driver Verifier tool.

Cause

This issue occurs because the Hardware Abstraction Layer (HAL) expects the miniport driver to perform I/O operations by using a DMA bus master device. When the miniport driver caches data and then uses the buffer to complete an I/O operation, the destination buffer address is not the address of the buffer that the HAL expects. Therefore, when the HAL uses temporary physical pages in the DMA feature, the physical pages do not match the virtual pages that are described in a scatter-gather list.

Note The HAL uses double buffering when physical pages are located at the addresses that the bus mastering adapter cannot access. Additionally, the HAL uses a page that is allocated temporarily so that the adapter can read from or write to the I/O operations.

Resolution

Hotfix information

Important This hotfix has been re-released to address an issue in which the digital signature on files produced and signed by Microsoft will expire prematurely, as described in Microsoft Security Advisory 2749655.

After you install the update that is described in this KB article, Windows 7 and Windows Server 2008 R2 support the STOR_MAP_ALL_BUFFERS_INCLUDING_READ_WRITE value in the MapBuffers field member of the HW_INITIALIZATION_DATA StorPort structure.

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 the problem described in this article. 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 website:
http://support.microsoft.com/contactus/?ws=support
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.

Prerequisites

To apply this hotfix, you must be running one of the following operating systems:
  • Windows 7
  • Windows 7 Service Pack 1 (SP1)
  • Windows Server 2008 R2
  • Windows Server 2008 R2 Service Pack 1 (SP1)
For more information about how to obtain a Windows 7 or Windows Server 2008 R2 service pack, click the following article number to view the article in the Microsoft Knowledge Base:
976932 Information about Service Pack 1 for Windows 7 and for Windows Server 2008 R2

Registry information

To apply this hotfix, you do not have to make any changes to the registry.

Restart requirement

You must restart the computer after you apply this hotfix.

Hotfix replacement information

This hotfix does not replace a previously released hotfix.

File information

The global version of this hotfix installs files that have the attributes that are listed in the following tables. The dates and the times for these files are listed in Coordinated Universal Time (UTC). The dates and the times for these files on your local computer are displayed in your local time together with your current daylight saving time (DST) bias. Additionally, the dates and the times may change when you perform certain operations on the files.
Windows 7 and Windows Server 2008 R2 file information notes
Important Windows 7 hotfixes and Windows Server 2008 R2 hotfixes are included in the same packages. However, hotfixes on the Hotfix Request page are listed under both operating systems. To request the hotfix package that applies to one or both operating systems, select the hotfix that is listed under "Windows 7/Windows Server 2008 R2" on the page. Always refer to the "Applies To" section in articles to determine the actual operating system that each hotfix applies to.
  • The files that apply to a specific product, milestone (RTM,SPn), and service branch (LDR, GDR) can be identified by examining the file version numbers as shown in the following table:
    Collapse this tableExpand this table
    VersionProductMilestoneService branch
    6.1.760 0.17xxxWindows 7 and Windows Server 2008 R2RTMGDR
    6.1.760 0.21xxxWindows 7 and Windows Server 2008 R2RTMLDR
    6.1.760 1.17xxxWindows 7 and Windows Server 2008 R2SP1GDR
    6.1.760 1.22xxxWindows 7 and Windows Server 2008 R2SP1LDR
  • GDR service branches contain only those fixes that are widely released to address widespread, critical issues. LDR service branches contain hotfixes in addition to widely released fixes.
  • The MANIFEST files (.manifest) and the MUM files (.mum) that are installed for each environment are listed separately in the "Additional file information for Windows 7 and for Windows Server 2008 R2" section. MUM and MANIFEST files, and the associated security catalog (.cat) files, are critical to maintaining the state of the updated component. The security catalog files, for which the attributes are not listed, are signed with a Microsoft digital signature.
For all supported x86-based versions of Windows 7
Collapse this tableExpand this table
File nameFile versionFile sizeDateTimePlatform
Storport.sys6.1.7600.17126146,80014-Sep-201218:43x86
Storport.sys6.1.7600.21326149,36014-Sep-201218:43x86
Storport.sys6.1.7601.17956148,87219-Sep-201204:16x86
Storport.sys6.1.7601.22114149,36019-Sep-201204:22x86
For all supported x64-based versions of Windows 7 and of Windows Server 2008 R2
Collapse this tableExpand this table
File nameFile versionFile sizeDateTimePlatform
Storport.sys6.1.7600.17126187,76014-Sep-201219:35x64
Storport.sys6.1.7600.21326188,78414-Sep-201219:37x64
Storport.sys6.1.7601.17956190,34419-Sep-201205:04x64
Storport.sys6.1.7601.22114190,85619-Sep-201206:01x64
For all supported IA-64-based versions of Windows Server 2008 R2
Collapse this tableExpand this table
File nameFile versionFile sizeDateTimePlatform
Storport.sys6.1.7600.17126433,52014-Sep-201218:31IA-64
Storport.sys6.1.7600.21326430,44814-Sep-201218:48IA-64
Storport.sys6.1.7601.17956428,91219-Sep-201203:44IA-64
Storport.sys6.1.7601.22114430,47219-Sep-201204:27IA-64

Status

Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.

More information

For more information about software update terminology, 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
For more information about the HW_INITIALIZATION_DATA (Storport) structure, go to the following Microsoft website:
General information about the HW_INITIALIZATION_DATA (Storport) structure
The third-party products that this article discusses are manufactured by companies that are independent of Microsoft. Microsoft makes no warranty, implied or otherwise, about the performance or reliability of these products.

Additional file information

Additional file information for Windows 7 and for Windows Server 2008 R2

Additional files for all supported x86-based versions of Windows 7
Collapse this tableExpand this table
File nameUpdate-bf.mum
File versionNot Applicable
File size2,719
Date (UTC)20-Sep-2012
Time (UTC)03:43
PlatformNot Applicable
File nameUpdate.mum
File versionNot Applicable
File size2,773
Date (UTC)20-Sep-2012
Time (UTC)03:43
PlatformNot Applicable
File nameX86_00d5a42e14961b069c9e9f539b28a064_31bf3856ad364e35_6.1.7601.22114_none_23879a9179dc035d.manifest
File versionNot Applicable
File size696
Date (UTC)20-Sep-2012
Time (UTC)03:43
PlatformNot Applicable
File nameX86_3917bc405db8bedd153324174d09b02c_31bf3856ad364e35_6.1.7600.17126_none_190ddd056cc4a879.manifest
File versionNot Applicable
File size696
Date (UTC)20-Sep-2012
Time (UTC)03:43
PlatformNot Applicable
File nameX86_39b14efa2b6795cb35f8effcf4679339_31bf3856ad364e35_6.1.7601.17956_none_8c3a51678ed6fa58.manifest
File versionNot Applicable
File size696
Date (UTC)20-Sep-2012
Time (UTC)03:43
PlatformNot Applicable
File nameX86_dc65971a0332c8ce3ed87ff905a1d529_31bf3856ad364e35_6.1.7600.21326_none_17d355f16dcace15.manifest
File versionNot Applicable
File size696
Date (UTC)20-Sep-2012
Time (UTC)03:43
PlatformNot Applicable
File nameX86_microsoft-windows-storport_31bf3856ad364e35_6.1.7600.17126_none_27946a0a91510c48.manifest
File versionNot Applicable
File size14,132
Date (UTC)14-Sep-2012
Time (UTC)19:06
PlatformNot Applicable
File nameX86_microsoft-windows-storport_31bf3856ad364e35_6.1.7600.21326_none_281e08bbaa6ea939.manifest
File versionNot Applicable
File size15,725
Date (UTC)14-Sep-2012
Time (UTC)19:04
PlatformNot Applicable
File nameX86_microsoft-windows-storport_31bf3856ad364e35_6.1.7601.17956_none_295a81108e8f95ec.manifest
File versionNot Applicable
File size15,725
Date (UTC)19-Sep-2012
Time (UTC)04:36
PlatformNot Applicable
File nameX86_microsoft-windows-storport_31bf3856ad364e35_6.1.7601.22114_none_2a0d3519a78ec686.manifest
File versionNot Applicable
File size15,725
Date (UTC)19-Sep-2012
Time (UTC)04:40
PlatformNot Applicable
Additional files for all supported x64-based versions of Windows 7 and of Windows Server 2008 R2
Collapse this tableExpand this table
File nameAmd64_78cb237bac638445096d758f17ab9839_31bf3856ad364e35_6.1.7600.17126_none_42034a4d46d532ab.manifest
File versionNot Applicable
File size700
Date (UTC)20-Sep-2012
Time (UTC)03:43
PlatformNot Applicable
File nameAmd64_b472eaed264329038c4bda7fd3d64cd3_31bf3856ad364e35_6.1.7601.17956_none_9af5776f8a8f07df.manifest
File versionNot Applicable
File size700
Date (UTC)20-Sep-2012
Time (UTC)03:43
PlatformNot Applicable
File nameAmd64_bb185978bde8cbeef56e1898068ab400_31bf3856ad364e35_6.1.7600.21326_none_bb1357f19317a14a.manifest
File versionNot Applicable
File size700
Date (UTC)20-Sep-2012
Time (UTC)03:43
PlatformNot Applicable
File nameAmd64_c3d912f109e2f378fe79f3387b69d1c6_31bf3856ad364e35_6.1.7601.22114_none_d3962885051389e6.manifest
File versionNot Applicable
File size700
Date (UTC)20-Sep-2012
Time (UTC)03:43
PlatformNot Applicable
File nameAmd64_microsoft-windows-storport_31bf3856ad364e35_6.1.7600.17126_none_83b3058e49ae7d7e.manifest
File versionNot Applicable
File size14,134
Date (UTC)14-Sep-2012
Time (UTC)20:36
PlatformNot Applicable
File nameAmd64_microsoft-windows-storport_31bf3856ad364e35_6.1.7600.21326_none_843ca43f62cc1a6f.manifest
File versionNot Applicable
File size15,727
Date (UTC)14-Sep-2012
Time (UTC)20:38
PlatformNot Applicable
File nameAmd64_microsoft-windows-storport_31bf3856ad364e35_6.1.7601.17956_none_85791c9446ed0722.manifest
File versionNot Applicable
File size15,727
Date (UTC)19-Sep-2012
Time (UTC)05:25
PlatformNot Applicable
File nameAmd64_microsoft-windows-storport_31bf3856ad364e35_6.1.7601.22114_none_862bd09d5fec37bc.manifest
File versionNot Applicable
File size15,727
Date (UTC)19-Sep-2012
Time (UTC)06:20
PlatformNot Applicable
File nameUpdate-bf.mum
File versionNot Applicable
File size3,153
Date (UTC)20-Sep-2012
Time (UTC)03:43
PlatformNot Applicable
File nameUpdate.mum
File versionNot Applicable
File size3,215
Date (UTC)20-Sep-2012
Time (UTC)03:43
PlatformNot Applicable
Additional files for all supported IA-64-based versions of Windows Server 2008 R2
Collapse this tableExpand this table
File nameIa64_adc69c65939efb8a1219fdd46b03ff98_31bf3856ad364e35_6.1.7601.17956_none_8846ee9f4fac0ef7.manifest
File versionNot Applicable
File size698
Date (UTC)20-Sep-2012
Time (UTC)03:43
PlatformNot Applicable
File nameIa64_bf417d4949553ac1c2a24f6f2b528df9_31bf3856ad364e35_6.1.7601.22114_none_863eb5239c0fb53e.manifest
File versionNot Applicable
File size698
Date (UTC)20-Sep-2012
Time (UTC)03:43
PlatformNot Applicable
File nameIa64_c030417ab2bb03fd2ea2748db2c47b86_31bf3856ad364e35_6.1.7600.21326_none_4c44e24e44125a10.manifest
File versionNot Applicable
File size698
Date (UTC)20-Sep-2012
Time (UTC)03:43
PlatformNot Applicable
File nameIa64_f6231baaedc5f740de5b74b3a74507b7_31bf3856ad364e35_6.1.7600.17126_none_18419d88295dacc5.manifest
File versionNot Applicable
File size698
Date (UTC)20-Sep-2012
Time (UTC)03:43
PlatformNot Applicable
File nameIa64_microsoft-windows-storport_31bf3856ad364e35_6.1.7600.17126_none_27960e00914f1544.manifest
File versionNot Applicable
File size14,133
Date (UTC)14-Sep-2012
Time (UTC)20:32
PlatformNot Applicable
File nameIa64_microsoft-windows-storport_31bf3856ad364e35_6.1.7600.21326_none_281facb1aa6cb235.manifest
File versionNot Applicable
File size15,726
Date (UTC)14-Sep-2012
Time (UTC)20:34
PlatformNot Applicable
File nameIa64_microsoft-windows-storport_31bf3856ad364e35_6.1.7601.17956_none_295c25068e8d9ee8.manifest
File versionNot Applicable
File size15,726
Date (UTC)19-Sep-2012
Time (UTC)05:25
PlatformNot Applicable
File nameIa64_microsoft-windows-storport_31bf3856ad364e35_6.1.7601.22114_none_2a0ed90fa78ccf82.manifest
File versionNot Applicable
File size15,726
Date (UTC)19-Sep-2012
Time (UTC)05:31
PlatformNot Applicable
File nameUpdate-bf.mum
File versionNot Applicable
File size1,909
Date (UTC)20-Sep-2012
Time (UTC)03:43
PlatformNot Applicable
File nameUpdate.mum
File versionNot Applicable
File size1,947
Date (UTC)20-Sep-2012
Time (UTC)03:43
PlatformNot Applicable

Properties

Article ID: 2732471 - Last Review: October 10, 2012 - Revision: 3.0
Applies to
  • Windows 7 Enterprise
  • Windows 7 Home Basic
  • Windows 7 Home Premium
  • Windows 7 Professional
  • Windows 7 Starter
  • Windows 7 Ultimate
  • Windows Server 2008 R2 Datacenter
  • Windows Server 2008 R2 Enterprise
  • Windows Server 2008 R2 for Itanium-Based Systems
  • Windows Server 2008 R2 Foundation
  • Windows Server 2008 R2 Standard
  • Windows Web Server 2008 R2
Keywords: 
kbautohotfix kbqfe kbhotfixserver kbfix kbexpertiseadvanced kbsurveynew KB2732471

Give Feedback

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com