Skip to content
Memory corruption Advisory Intermediate CVE-2024-6997

Use after free in Tabs (CVE-2024-6997)

A use-after-free flaw in Chrome's tab organisation feature causes the whole browser to crash when a user drags duplicate tabs out while the feature is scanning for duplicates. The report does not claim any attacker capability beyond triggering a crash.

Sven Dysthe -dys) Follow

Originally disclosed on Chrome VRP

Bounty$3,000 Medium View original
  • Fix shipped in 5 months

Steps to reproduce the problem

  1. Create multiple tabs that are the same e.g. 2 google.com tabs
  2. Open the menu to start the "Organize tabs" function.
  3. Click "Start Now"
  4. Click and drag the 2 google.com tabs out while the "Organize Tabs" function tries to find duplicate tabs. <= Crash

Problem Description

Crash

Additional Comments

See video for replication. I can't replicate in ASan, as this feature doesn't work there?

If any googler could tell me why, that'd be very helpful.

Summary

Chrome crashes when dragging tab out during initiation of "Organize Tabs" function

Custom Questions

How much crashed?

The whole browser

Is it a problem with a plugin?

No - It's the browser itself

Additional Data

Category: Crashes
Chrome Channel: Canary
Regression: N/A

The original report as published on the Chromium issue tracker, by Sven Dysthe (@svn-dys). Images and videos are our own copies; raw HTML is shown as text. View it on Chromium issue tracker.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely the tab-organisation routine holds references to tabs that are removed while it is still running, leading to a use-after-free.

Impact

The whole browser crashes, but the report does not show any further exploitation such as code execution.

What the attacker needed

Chrome Canary; User opens Organize Tabs; User drags duplicate tabs out

How it was found

  1. Create multiple identical tabs, such as two tabs for the same site.
  2. Open the menu and start the Organize tabs function.
  3. Click Start Now.
  4. While the feature searches for duplicate tabs, drag the two identical tabs out of the window.

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

A use-after-free is a memory bug where a program keeps using a piece of memory after it has been freed. Here, the tab-organising feature seems to still refer to tabs that the user has just dragged away, so the browser crashes. The report only shows a crash, not a way for an attacker to run code.

What is Memory corruption?

Native code reads or writes memory it should not: overflows, use-after-free, type confusion. The core of browser, kernel and parser bugs.

More by Sven Dysthe -dys)

View all

6 more disclosed reports, best first.

More from Google Chrome

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Memory corruption

The lesson behind this report.

Native code reads or writes memory it should not: overflows, use-after-free, type confusion. The core of browser, kernel and parser bugs.