Google Chrome update fixes this annoying Windows 10 antivirus bug

Surface
(Image credit: Shutterstock)

A bug that enabled antivirus software on computers running Windows 10 to lock newly created files has been fixed in Google Chrome and other Chromium-based browsers.

Now that this bug has been patched, antivirus software running on Windows is no longer able to block new files such as bookmarks generated by the Chrome web browser.

In order to protect users' systems from malware and other viruses, many antivirus programs have the capability to temporarily lock newly created files until they have been scanned to ensure they are not malicious. This feature has led to issues on Windows 10 machines running Chrome as the browser would use ImportantFileWriter to output certain files as explained by Google engineer Bruce Dawson in a recent post on the Chromium Gerrit:

“Anti-virus programs and other scanners may briefly lock new files which can lead to frequent problems with saving bookmarks and other files that use the ImportantFileWriter.”

As a result, Windows 10 users running antivirus software on their systems would experience issues trying to save bookmarks and other files as Chrome would have difficulty creating the corresponding file.

ReplaceFile

In order to resolve this Windows 10 antivirus bug, a fix has been added to Chromium's Google Source codebase that affects all Chromium-based browsers.

The fix itself executes the command ReplaceFile multiple times in order to bypass the possible race condition in which an antivirus program takes control of and locks a file being accessed by Chrome at the same time. There is also a machine learning aspect to the fix as Chrome will teach itself to fine-tune the number of attempts needed to bypass these race conditions over time.

According to Dawson, the bug only impacts Windows systems and this is why the fix was made to ImportantFileWriter as it is specific to Microsoft's operating system.

As the fix was merged into the Chromium repository late last month, it is expected to be included in the next version of Google Chrome when it ships. This is why it is recommended that Windows 10 users running antivirus software promptly update Chrome when future updates become available.

Via BleepingComputer

TOPICS
Anthony Spadafora

After working with the TechRadar Pro team for the last several years, Anthony is now the security and networking editor at Tom’s Guide where he covers everything from data breaches and ransomware gangs to the best way to cover your whole home or business with Wi-Fi. When not writing, you can find him tinkering with PCs and game consoles, managing cables and upgrading his smart home. 

Latest in Security
UK Prime Minister Sir Kier Starmer
The UK releases timeline for migration to post-quantum cryptography
ransomware avast
Ransomware attacks are costing Government offices a month of downtime on average
Lock on Laptop Screen
Data breach at Pennsylvania education union potentially exposes 500,000 victims
Data leak
Top collectibles site leaks personal data of nearly a million users
Spyware
Stalkerware data breach potentially hits over 2 million users, including thousands of Apple devices
An American flag flying outside the US Capitol building against a blue sky
Five Eyes "cannot replace US intel in Ukraine", claims former US Cyber Command Chief
Latest in News
The Samsung Galaxy S21 series of phones lying face down.
Samsung announces One UI 7 is coming to older phones after all, but the launch is still a mess
Using Zipped files and folders in Windows 11
Windows 11 should soon be faster at extracting files from compressed ZIPs – and it’s about time, frankly
The player prepares for a fight in Metal Eden.
I loved the bits of Metal Eden that I played and soon you'll be able to try it too thanks to this upcoming free demo
Apple iPhone 16 Pro HANDS ON
The iPhone 18 might get a major chip upgrade after all
UK Prime Minister Sir Kier Starmer
The UK releases timeline for migration to post-quantum cryptography
Oppo Watch Mini X2 teaser
Oppo Watch X2 Mini teaser could be our first glimpse of the smaller OnePlus Watch 3