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=supportNote 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:

    Version

    Product

    Milestone

    Service branch

    6.1.760
    0.17xxx

    Windows 7 and Windows Server 2008 R2

    RTM

    GDR

    6.1.760
    0.21xxx

    Windows 7 and Windows Server 2008 R2

    RTM

    LDR

    6.1.760
    1.17xxx

    Windows 7 and Windows Server 2008 R2

    SP1

    GDR

    6.1.760
    1.22xxx

    Windows 7 and Windows Server 2008 R2

    SP1

    LDR

  • 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

File name

File version

File size

Date

Time

Platform

Storport.sys

6.1.7600.17126

146,800

14-Sep-2012

18:43

x86

Storport.sys

6.1.7600.21326

149,360

14-Sep-2012

18:43

x86

Storport.sys

6.1.7601.17956

148,872

19-Sep-2012

04:16

x86

Storport.sys

6.1.7601.22114

149,360

19-Sep-2012

04:22

x86

For all supported x64-based versions of Windows 7 and of Windows Server 2008 R2

File name

File version

File size

Date

Time

Platform

Storport.sys

6.1.7600.17126

187,760

14-Sep-2012

19:35

x64

Storport.sys

6.1.7600.21326

188,784

14-Sep-2012

19:37

x64

Storport.sys

6.1.7601.17956

190,344

19-Sep-2012

05:04

x64

Storport.sys

6.1.7601.22114

190,856

19-Sep-2012

06:01

x64

For all supported IA-64-based versions of Windows Server 2008 R2

File name

File version

File size

Date

Time

Platform

Storport.sys

6.1.7600.17126

433,520

14-Sep-2012

18:31

IA-64

Storport.sys

6.1.7600.21326

430,448

14-Sep-2012

18:48

IA-64

Storport.sys

6.1.7601.17956

428,912

19-Sep-2012

03:44

IA-64

Storport.sys

6.1.7601.22114

430,472

19-Sep-2012

04:27

IA-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) structureThe 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

File name

Update-bf.mum

File version

Not Applicable

File size

2,719

Date (UTC)

20-Sep-2012

Time (UTC)

03:43

Platform

Not Applicable

File name

Update.mum

File version

Not Applicable

File size

2,773

Date (UTC)

20-Sep-2012

Time (UTC)

03:43

Platform

Not Applicable

File name

X86_00d5a42e14961b069c9e9f539b28a064_31bf3856ad364e35_6.1.7601.22114_none_23879a9179dc035d.manifest

File version

Not Applicable

File size

696

Date (UTC)

20-Sep-2012

Time (UTC)

03:43

Platform

Not Applicable

File name

X86_3917bc405db8bedd153324174d09b02c_31bf3856ad364e35_6.1.7600.17126_none_190ddd056cc4a879.manifest

File version

Not Applicable

File size

696

Date (UTC)

20-Sep-2012

Time (UTC)

03:43

Platform

Not Applicable

File name

X86_39b14efa2b6795cb35f8effcf4679339_31bf3856ad364e35_6.1.7601.17956_none_8c3a51678ed6fa58.manifest

File version

Not Applicable

File size

696

Date (UTC)

20-Sep-2012

Time (UTC)

03:43

Platform

Not Applicable

File name

X86_dc65971a0332c8ce3ed87ff905a1d529_31bf3856ad364e35_6.1.7600.21326_none_17d355f16dcace15.manifest

File version

Not Applicable

File size

696

Date (UTC)

20-Sep-2012

Time (UTC)

03:43

Platform

Not Applicable

File name

X86_microsoft-windows-storport_31bf3856ad364e35_6.1.7600.17126_none_27946a0a91510c48.manifest

File version

Not Applicable

File size

14,132

Date (UTC)

14-Sep-2012

Time (UTC)

19:06

Platform

Not Applicable

File name

X86_microsoft-windows-storport_31bf3856ad364e35_6.1.7600.21326_none_281e08bbaa6ea939.manifest

File version

Not Applicable

File size

15,725

Date (UTC)

14-Sep-2012

Time (UTC)

19:04

Platform

Not Applicable

File name

X86_microsoft-windows-storport_31bf3856ad364e35_6.1.7601.17956_none_295a81108e8f95ec.manifest

File version

Not Applicable

File size

15,725

Date (UTC)

19-Sep-2012

Time (UTC)

04:36

Platform

Not Applicable

File name

X86_microsoft-windows-storport_31bf3856ad364e35_6.1.7601.22114_none_2a0d3519a78ec686.manifest

File version

Not Applicable

File size

15,725

Date (UTC)

19-Sep-2012

Time (UTC)

04:40

Platform

Not Applicable

Additional files for all supported x64-based versions of Windows 7 and of Windows Server 2008 R2

File name

Amd64_78cb237bac638445096d758f17ab9839_31bf3856ad364e35_6.1.7600.17126_none_42034a4d46d532ab.manifest

File version

Not Applicable

File size

700

Date (UTC)

20-Sep-2012

Time (UTC)

03:43

Platform

Not Applicable

File name

Amd64_b472eaed264329038c4bda7fd3d64cd3_31bf3856ad364e35_6.1.7601.17956_none_9af5776f8a8f07df.manifest

File version

Not Applicable

File size

700

Date (UTC)

20-Sep-2012

Time (UTC)

03:43

Platform

Not Applicable

File name

Amd64_bb185978bde8cbeef56e1898068ab400_31bf3856ad364e35_6.1.7600.21326_none_bb1357f19317a14a.manifest

File version

Not Applicable

File size

700

Date (UTC)

20-Sep-2012

Time (UTC)

03:43

Platform

Not Applicable

File name

Amd64_c3d912f109e2f378fe79f3387b69d1c6_31bf3856ad364e35_6.1.7601.22114_none_d3962885051389e6.manifest

File version

Not Applicable

File size

700

Date (UTC)

20-Sep-2012

Time (UTC)

03:43

Platform

Not Applicable

File name

Amd64_microsoft-windows-storport_31bf3856ad364e35_6.1.7600.17126_none_83b3058e49ae7d7e.manifest

File version

Not Applicable

File size

14,134

Date (UTC)

14-Sep-2012

Time (UTC)

20:36

Platform

Not Applicable

File name

Amd64_microsoft-windows-storport_31bf3856ad364e35_6.1.7600.21326_none_843ca43f62cc1a6f.manifest

File version

Not Applicable

File size

15,727

Date (UTC)

14-Sep-2012

Time (UTC)

20:38

Platform

Not Applicable

File name

Amd64_microsoft-windows-storport_31bf3856ad364e35_6.1.7601.17956_none_85791c9446ed0722.manifest

File version

Not Applicable

File size

15,727

Date (UTC)

19-Sep-2012

Time (UTC)

05:25

Platform

Not Applicable

File name

Amd64_microsoft-windows-storport_31bf3856ad364e35_6.1.7601.22114_none_862bd09d5fec37bc.manifest

File version

Not Applicable

File size

15,727

Date (UTC)

19-Sep-2012

Time (UTC)

06:20

Platform

Not Applicable

File name

Update-bf.mum

File version

Not Applicable

File size

3,153

Date (UTC)

20-Sep-2012

Time (UTC)

03:43

Platform

Not Applicable

File name

Update.mum

File version

Not Applicable

File size

3,215

Date (UTC)

20-Sep-2012

Time (UTC)

03:43

Platform

Not Applicable

Additional files for all supported IA-64-based versions of Windows Server 2008 R2

File name

Ia64_adc69c65939efb8a1219fdd46b03ff98_31bf3856ad364e35_6.1.7601.17956_none_8846ee9f4fac0ef7.manifest

File version

Not Applicable

File size

698

Date (UTC)

20-Sep-2012

Time (UTC)

03:43

Platform

Not Applicable

File name

Ia64_bf417d4949553ac1c2a24f6f2b528df9_31bf3856ad364e35_6.1.7601.22114_none_863eb5239c0fb53e.manifest

File version

Not Applicable

File size

698

Date (UTC)

20-Sep-2012

Time (UTC)

03:43

Platform

Not Applicable

File name

Ia64_c030417ab2bb03fd2ea2748db2c47b86_31bf3856ad364e35_6.1.7600.21326_none_4c44e24e44125a10.manifest

File version

Not Applicable

File size

698

Date (UTC)

20-Sep-2012

Time (UTC)

03:43

Platform

Not Applicable

File name

Ia64_f6231baaedc5f740de5b74b3a74507b7_31bf3856ad364e35_6.1.7600.17126_none_18419d88295dacc5.manifest

File version

Not Applicable

File size

698

Date (UTC)

20-Sep-2012

Time (UTC)

03:43

Platform

Not Applicable

File name

Ia64_microsoft-windows-storport_31bf3856ad364e35_6.1.7600.17126_none_27960e00914f1544.manifest

File version

Not Applicable

File size

14,133

Date (UTC)

14-Sep-2012

Time (UTC)

20:32

Platform

Not Applicable

File name

Ia64_microsoft-windows-storport_31bf3856ad364e35_6.1.7600.21326_none_281facb1aa6cb235.manifest

File version

Not Applicable

File size

15,726

Date (UTC)

14-Sep-2012

Time (UTC)

20:34

Platform

Not Applicable

File name

Ia64_microsoft-windows-storport_31bf3856ad364e35_6.1.7601.17956_none_295c25068e8d9ee8.manifest

File version

Not Applicable

File size

15,726

Date (UTC)

19-Sep-2012

Time (UTC)

05:25

Platform

Not Applicable

File name

Ia64_microsoft-windows-storport_31bf3856ad364e35_6.1.7601.22114_none_2a0ed90fa78ccf82.manifest

File version

Not Applicable

File size

15,726

Date (UTC)

19-Sep-2012

Time (UTC)

05:31

Platform

Not Applicable

File name

Update-bf.mum

File version

Not Applicable

File size

1,909

Date (UTC)

20-Sep-2012

Time (UTC)

03:43

Platform

Not Applicable

File name

Update.mum

File version

Not Applicable

File size

1,947

Date (UTC)

20-Sep-2012

Time (UTC)

03:43

Platform

Not Applicable

Need more help?

Expand your skills
Explore Training
Get new features first
Join Microsoft Insiders

Was this information helpful?

What affected your experience?

Any additional feedback? (Optional)

Thank you for your feedback!

×