brave-browser: Google Project Zero website causes high Brave CPU usage

Description

When visiting the Google Project Zero website, it causes high Brave CPU usage (in both Brave Stable and Nightly).

The issue occurs on a clean Brave install, with default browser settings and no third-party extensions installed.

Closing the browser window does not make the CPU usage return to normal – Brave needs to be forcibly closed from the Windows Task Manager.

In Edge and Chrome, the CPU usage is normal.

In a Brave “Private Window”, the CPU usage is normal.

Steps to Reproduce

1) Open Brave.

2) Go to the below link:

https://googleprojectzero.blogspot.com/2023/03/multiple-internet-to-baseband-remote-rce.html

3) Observe the CPU usage in Windows Task Manager. (High)

4) Close Brave.

5) Observe the CPU usage in Windows Task Manager. (Still high)

6) Close Brave (End Task) via the Windows Task Manager.

7) Observe the CPU usage in Windows Task Manager. (Back to normal)

Actual result:

The Brave CPU usage is too high (around 50%).

Screenshots:

Brave Stable – before opening Project Zero link (OK): Screenshot A

Brave Stable – after opening Project Zero link (Not OK): Screenshot B

Brave Nightly – after opening Project Zero link (Not OK): Screenshot C

Chrome – after opening Project Zero link (OK): Screenshot D

Edge – after opening Project Zero link (OK): Screenshot E

Expected result:

The Brave CPU usage should be normal (<5%).

Screenshot:

Brave Stable (in Private Window) – after opening Project Zero link (OK): Screenshot F

Reproduces how often:

Easily reproduced

Brave version (brave://version info)

Brave:    1.49.120 Chromium: 111.0.5563.64 (Official Build) (64-bit) 
Revision: c710e93d5b63b7095afe8c2c17df34408078439d-refs/branch-heads/5563@{#995}
OS:       Windows 10 Version 22H2 (Build 19045.2728)
Brave:    1.51.39 Chromium: 111.0.5563.64 (Official Build) nightly (64-bit) 
Revision: c710e93d5b63b7095afe8c2c17df34408078439d-refs/branch-heads/5563@{#995}
OS:       Windows 10 Version 2004 (Build 19041.2728)

Version/Channel Information:

  • Can you reproduce this issue with the current release? Yes
  • Can you reproduce this issue with the beta channel? Not tried
  • Can you reproduce this issue with the nightly channel? Yes

Other Additional Information:

  • Does the issue resolve itself when disabling Brave Shields? No
  • Does the issue resolve itself when disabling Brave Rewards? No
  • Is the issue reproducible on the latest version of Chrome? No

About this issue

  • Original URL
  • State: closed
  • Created a year ago
  • Reactions: 2
  • Comments: 17 (3 by maintainers)

Most upvoted comments

This is STILL not fixed in 1.50.114 Chromium: 112.0.5615.49 (Official Build) (arm64) 😕/

Simply visiting https://googleprojectzero.blogspot.com/ causes the bug, too. Come on guys, it’s not like that is some esoteric website that noone ever surfs to …

Still reproduces immediately on 1.51.110 Chromium: 113.0.5672.77 (Official Build) (x86_64).

Looks good on 1.53.85 Chromium: 114.0.5735.110 (Official Build) beta (x86_64). Thank you!

This should be fixed with https://github.com/brave/brave-core/pull/17923 which merged on April 26 and is currently in beta. It will hit release with 1.53, but we’ll look to uplift to the next 1.52 release now that we see there’s a large impact.

I’d make a rather unfriendly comment on this but at this point it seems obvious that the devs are not reading this anyway.

Can somebody from Brave please look into this? It’s very easy to reproduce even on the latest version (1.50.119 Chromium: 112.0.5615.121) and affects other sites too.

/cc @arthuredelstein @tmancey @DJAndries @cypt4