Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Share Post: Reddit Facebook
Google Chrome fixes antivirus 'file locking' bug on Windows 10
#1
https://www.bleepingcomputer.com/news/se...indows-10/      Google Chrome fixes antivirus 'file locking' bug on Windows 10
By Ax Sharma
January 3, 2021 08:00 AM      Google Chrome has fixed a bug that enabled antivirus programs on Windows 10 to lock newly created files.

The patching of the bug means antivirus programs running on Windows would no longer block new files generated by the Chrome web browser, such as bookmarks.

Antivirus programs briefly lock new files
As a safety precaution, oftentimes antivirus programs temporarily lock newly generated files on a system until these can be scanned and ruled out for malicious activity.

On Windows 10 machines, in particular, this created issues for the Google Chrome web browser when it would use `ImportantFileWriter` to output certain files.

"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," explained Bruce Dawson, a Google engineer.

This meant Windows 10 users would experience issues trying to save bookmarks, for example, due to the web browser having difficulty creating the corresponding file.

As first reported by Windows Latest this week, a recent enhancement made by the Chromium project lets the Chrome web browser run smoothly on Windows 10, even when antivirus tools are enabled.

Fix attempts file creation multiple times
The fix published to Chromium's Google Source codebase resolves this bug by retrying the execution of ReplaceFile method multiple times to overcome the possible race condition in which an antivirus program takes control of (and locks) a file being simultaneously accessed by Chrome.

The code change also has a machine learning aspect to it which means, over time Chromium will teach itself to fine-tune the number of attempts needed to bypass such race conditions.

Fix made by Chromium for Windows OS versions to retry new file creations multiple times
Source: Chromium Gerrit
"This change also adds instrumentation to record how many retries are needed, for future tuning," stated Dawson.

The engineer also states this bug only impacts Windows systems which is why the fix made into important_file_writer.cc was specific to Windows OS, as shown in the screenshot above (line 45).

Since the fix has been merged into the repository as of December 30, 2020, it is expected the next version of Google Chrome will come shipped with it.

Chrome users should keep an eye out for any upcoming releases and ensure they update their web browsers promptly.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  It was a bad week for millions of people who rely on Google for apps and Chrome exten mrtrout 0 685 06-03-2023 , 04:09 AM
Last Post: mrtrout
  Google Chrome emergency update fixes first zero-day of 2023 mrtrout 0 484 04-15-2023 , 07:53 PM
Last Post: mrtrout
  Google Chrome emergency update fixes 9th zero-day of the year tarekma7 0 602 12-05-2022 , 04:19 PM
Last Post: tarekma7
  Firefox 98.0.2 fixes a crash on Windows, an add-ons issue, and more Mohammad.Poorya 0 1,563 03-23-2022 , 03:09 PM
Last Post: Mohammad.Poorya
  SharkBot malware hides as Android antivirus in Google Play tarekma7 0 950 03-05-2022 , 05:47 PM
Last Post: tarekma7

Forum Jump:


Users browsing this thread: 1 Guest(s)