Home Technology Microsoft fixes 5-year-old Windows Defender bug that was killing Firefox performance

Microsoft fixes 5-year-old Windows Defender bug that was killing Firefox performance

0
Microsoft fixes 5-year-old Windows Defender bug that was killing Firefox performance

[ad_1]

Why it matters: Microsoft has released a crucial bug-fixing update to its Windows Defender antimalware application. Its arrival means that some unlucky Firefox users should now get a much smoother and better-performing experience while browsing the web.

For more than five years, the troublesome security protection provided by Microsoft Defender was negatively affecting Firefox users during their web browsing sessions. The Antimalware Service Executable component of Defender (MsMpEng.exe) was acting strange, showing a high CPU usage when Firefox was running at the same time.

Users were complaining that Defender was stressing the CPU while the Mozilla browser became laggy and unresponsive. The issue was first reported 5 years ago, and it was seemingly a Firefox exclusive as it was sparing Edge and other third-party browsers like Chrome.

In March 2023, Mozilla developers were able to finally discover the source of the issue: while Firefox was running, MsMpEng.exe was executing a very high number of calls to the OS kernel’s VirtualProtect function while tracing Windows events (ETW). VirtualProtect is a function to change the “protection on a region of committed pages in the virtual address space of the calling process,” Microsoft explains, and Defender was doing a lot of “useless computations” upon each event while Firefox was generating a lot of ETW events.

This was an “explosive” combination that was using five times the CPU power with Firefox compared to other browsers, the Mozilla developers said. The open-source foundation worked with Microsoft to solve the issue for good, and Redmond finally delivered with a recent update for Defender’s antimalware engine (1.1.20200.2).

After testing the bugfix for a while, the solution was delivered to the stable channel with updated Defender antimalware definitions on April 4 (mpengine.dll version 1.1.20200.4) and the bug was finally closed. Mozilla developers said that the Defender update would provide a massive ~75% improvement in CPU usage while browsing the web with Firefox.

Microsoft is also bringing the update to the now obsolete Windows 7 and Windows 8.1 systems, as Firefox will keep supporting the two operating systems “at least” until 2024. Furthermore, Mozilla engineers said that the “latest discoveries” made while analyzing the weird Defender bug would help Firefox “go even further down in CPU usage,” with all the other antivirus software and not just Defender this time.

[ad_2]

LEAVE A REPLY

Please enter your comment!
Please enter your name here