A handle leak occurs when an .exe file is called by the CreateProcess function after a file system filter driver denies the execution of the .exe file in Windows 7 or in Windows Server 2008 R2

Velja za: Windows 7Windows Server 2008 R2

Symptoms


Consider the following scenario:
  • You have a file system filter driver installed on a computer that is running Windows 7 or Windows Server 2008 R2. The filter driver monitors the execution of .exe files and denies any suspect execution of an .exe file.
  • The execution of an .exe file is denied, and an "Access Denied" status is returned to the file in the PreAcquireForSectionSynchronization callback.
  • A process calls the CreateProcess function to run the .exe file.
In this scenario, the .exe file leaks one file handle every time that the CreateProcess function is called.

For example, the file system filter driver denies the execution of an .exe file. When you try to run the file later, the file does not start as expected. If you check the Explorer.exe process in the Process Explorer utility, you find that the .exe file leaks a handle in the Explorer.exe process.

Resolution


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 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 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.

Prerequisites

There are no prerequisites to apply this hotfix.

Registry information

To use the hotfix in this package, you do not have to make any changes to the registry.

Restart requirement

You may have to 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 MANIFEST files (.manifest) that are installed for each environment are listed separately in the "Additional file information for Windows Server 2008 R2 and for Windows 7" section. MANIFEST files and the associated security catalog (.cat) files, are extremely important to maintain the state of the updated components. 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 nameFile versionFile sizeDateTimePlatform
Kernel32.dll6.1.7600.20778857,08813-Aug-201004:35x86
Kernelbase.dll6.1.7600.20778288,25613-Aug-201004:35x86
For all supported x64-based versions of Windows 7 and of Windows Server 2008 R2
File nameFile versionFile sizeDateTimePlatform
Kernel32.dll6.1.7600.207781,163,26413-Aug-201005:16x64
Kernelbase.dll6.1.7600.20778420,35213-Aug-201005:16x64
Kernel32.dll6.1.7600.20778837,12013-Aug-201004:32x86
Kernelbase.dll6.1.7600.20778269,82413-Aug-201004:32x86
For all supported IA-64-based versions of Windows Server 2008 R2
File nameFile versionFile sizeDateTimePlatform
Kernel32.dll6.1.7600.207782,137,08813-Aug-201004:15IA-64
Kernelbase.dll6.1.7600.20778717,82413-Aug-201004:15IA-64
Kernel32.dll6.1.7600.20778837,12013-Aug-201004:32x86
Kernelbase.dll6.1.7600.20778269,82413-Aug-201004:32x86

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 the FsRtlRegisterFileSystemFilterCallbacksroutine, visit the following Microsoft website:For more information about the CreateProcess function, visit the following Microsoft website: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

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 nameX86_c6a84b1d5cdcf7ed1652d4f977a75eb0_31bf3856ad364e35_6.1.7600.20778_none_9687fb38f635b462.manifest
File versionNot applicable
File size696
Date (UTC)13-Aug-2010
Time (UTC)19:53
PlatformNot applicable

File nameX86_d417eebe514522b8f08c5f6e65108327_31bf3856ad364e35_6.1.7600.20778_none_0cdfbf3b61c3311a.manifest
File versionNot applicable
File size698
Date (UTC)13-Aug-2010
Time (UTC)19:53
PlatformNot applicable

File nameX86_microsoft-windows-kernel32_31bf3856ad364e35_6.1.7600.20778_none_942baeabd0b1e572.manifest
File versionNot applicable
File size4,912
Date (UTC)13-Aug-2010
Time (UTC)05:09
PlatformNot applicable

File nameX86_microsoft-windows-kernelbase_31bf3856ad364e35_6.1.7600.20778_none_277041be2efa6d5e.manifest
File versionNot applicable
File size2,734
Date (UTC)13-Aug-2010
Time (UTC)05:08
PlatformNot applicable
Additional files for all supported x64-based versions of Windows 7 and of Windows Server 2008 R2
File nameAmd64_1745f92888f23955263378d830dae959_31bf3856ad364e35_6.1.7600.20778_none_986b25a91b9d5990.manifest
File versionNot applicable
File size702
Date (UTC)13-Aug-2010
Time (UTC)19:53
PlatformNot applicable

File nameAmd64_68f117ccf04eb50e93eda736721e7fed_31bf3856ad364e35_6.1.7600.20778_none_b5b32ab556809cba.manifest
File versionNot applicable
File size1,046
Date (UTC)13-Aug-2010
Time (UTC)19:53
PlatformNot applicable

File nameAmd64_8111d6c2cd79e5f3ab437cba1d12757a_31bf3856ad364e35_6.1.7600.20778_none_9e1402376f960e1e.manifest
File versionNot applicable
File size700
Date (UTC)13-Aug-2010
Time (UTC)19:53
PlatformNot applicable

File nameAmd64_8e8322ce93938c9d30246789a661daed_31bf3856ad364e35_6.1.7600.20778_none_fb2c64bd86752a48.manifest
File versionNot applicable
File size702
Date (UTC)13-Aug-2010
Time (UTC)19:53
PlatformNot applicable

File nameAmd64_c5f411b4c835cbe1210895e65b362e8f_31bf3856ad364e35_6.1.7600.20778_none_62b33af4401f4492.manifest
File versionNot applicable
File size1,042
Date (UTC)13-Aug-2010
Time (UTC)19:53
PlatformNot applicable

File nameAmd64_cec2cf4b06fc945df4790397e9285570_31bf3856ad364e35_6.1.7600.20778_none_c6dd368e87f247cc.manifest
File versionNot applicable
File size700
Date (UTC)13-Aug-2010
Time (UTC)19:53
PlatformNot applicable

File nameAmd64_microsoft-windows-kernel32_31bf3856ad364e35_6.1.7600.20778_none_f04a4a2f890f56a8.manifest
File versionNot applicable
File size4,916
Date (UTC)13-Aug-2010
Time (UTC)05:53
PlatformNot applicable

File nameAmd64_microsoft-windows-kernelbase_31bf3856ad364e35_6.1.7600.20778_none_838edd41e757de94.manifest
File versionNot applicable
File size2,738
Date (UTC)13-Aug-2010
Time (UTC)05:52
PlatformNot applicable

File nameWow64_microsoft-windows-kernel32_31bf3856ad364e35_6.1.7600.20778_none_fa9ef481bd7018a3.manifest
File versionNot applicable
File size4,653
Date (UTC)13-Aug-2010
Time (UTC)05:01
PlatformNot applicable

File nameWow64_microsoft-windows-kernelbase_31bf3856ad364e35_6.1.7600.20778_none_8de387941bb8a08f.manifest
File versionNot applicable
File size2,746
Date (UTC)13-Aug-2010
Time (UTC)05:02
PlatformNot applicable
Additional files for all supported IA-64-based versions of Windows Server 2008 R2
File nameIa64_1745f92888f23955263378d830dae959_31bf3856ad364e35_6.1.7600.20778_none_3c4e2e1b633df156.manifest
File versionNot applicable
File size701
Date (UTC)13-Aug-2010
Time (UTC)19:53
PlatformNot applicable

File nameIa64_6dd0fbbaaa709dcf3c9d8bd600b1f960_31bf3856ad364e35_6.1.7600.20778_none_066d433f32624d30.manifest
File versionNot applicable
File size698
Date (UTC)13-Aug-2010
Time (UTC)19:53
PlatformNot applicable

File nameIa64_8f5a55f37fc6f458ca8e119d5f850062_31bf3856ad364e35_6.1.7600.20778_none_83fe5858eddf2a33.manifest
File versionNot applicable
File size700
Date (UTC)13-Aug-2010
Time (UTC)19:53
PlatformNot applicable

File nameIa64_cec2cf4b06fc945df4790397e9285570_31bf3856ad364e35_6.1.7600.20778_none_6ac03f00cf92df92.manifest
File versionNot applicable
File size699
Date (UTC)13-Aug-2010
Time (UTC)19:53
PlatformNot applicable

File nameIa64_microsoft-windows-kernel32_31bf3856ad364e35_6.1.7600.20778_none_942d52a1d0afee6e.manifest
File versionNot applicable
File size4,914
Date (UTC)13-Aug-2010
Time (UTC)05:55
PlatformNot applicable

File nameIa64_microsoft-windows-kernelbase_31bf3856ad364e35_6.1.7600.20778_none_2771e5b42ef8765a.manifest
File versionNot applicable
File size2,736
Date (UTC)13-Aug-2010
Time (UTC)05:54
PlatformNot applicable

File nameWow64_microsoft-windows-kernel32_31bf3856ad364e35_6.1.7600.20778_none_fa9ef481bd7018a3.manifest
File versionNot applicable
File size4,653
Date (UTC)13-Aug-2010
Time (UTC)05:01
PlatformNot applicable

File nameWow64_microsoft-windows-kernelbase_31bf3856ad364e35_6.1.7600.20778_none_8de387941bb8a08f.manifest
File versionNot applicable
File size2,746
Date (UTC)13-Aug-2010
Time (UTC)05:02
PlatformNot applicable