Skip to content
Info disclosure Advisory Advanced CVE-2026-17802

Side-channel information leakage in GPU (CVE-2026-17802)

A logic flaw in GL context virtualisation fails to pause active hardware queries when switching to an uninitialised context, allowing an attacker to orphan a WebGL query. This could let the attacker measure cross-origin rendering activity via a side channel.

Google Chrome

Originally disclosed on Chrome VRP

  • Fix shipped in 2 months

Flapjack, an experimental security project, has identified the following potential security issue. If you're a feature owner CC-ed on this bug, please do your best to review these reports. Please see https://chromium.googlesource.com/chromium/src/+/main/docs/security/ai-generated-security-bugs-faq.md for more information.

Overview: A logic flaw in GL context virtualization fails to pause active hardware queries when switching to an uninitialized context. An attacker can use this to orphan a WebGL query, keeping it active while cross-origin or browser contexts render on the GPU. This allows precise cross-origin side-channel leaks of pixel counts or render times.

Affected files:

  • ui/gl/gl_context.cc

Estimated timestamp from git blame: Unknown (Google3 checkout)

Description

A potential logic error exists in GLContext::MakeVirtuallyCurrent (ui/gl/gl_context.cc) regarding the handling of virtual GL context switches. When switching from an initialized context to a newly created, uninitialized virtual context, the code explicitly pauses Transform Feedback but neglects to pause active hardware queries.

In GLContext::MakeVirtuallyCurrent, the following block handles uninitialized target contexts:

C++
    if (current_state &&
        !virtual_context->GetGLStateRestorer()->IsInitialized()) {
      current_state->PauseTransformFeedback();
      // MISSING: current_state->PauseQueries();
    }

Because the subsequent block that performs standard state restoration (which normally pauses and resumes queries) is gated behind if (virtual_context->GetGLStateRestorer()->IsInitialized()), standard query pausing is bypassed entirely.

As a result, a hardware query (such as an occlusion or timer query) started in an attacker's WebGL context can remain actively running on the GPU while a victim cross-origin context executes. This allows the attacker to accurately measure cross-origin rendering activity.

Potential Attack Scenario

Note: These are suggested steps based on static code analysis; a working proof-of-concept has not yet been executed by the tooling agent.

  1. An attacker page creates a WebGL context (Context A) and begins a hardware query (e.g., glBeginQuery(GL_ANY_SAMPLES_PASSED)).
  2. The attacker triggers the creation of a second, new WebGL context (Context C) on the same GPU channel.
  3. The GPU process calls MakeVirtuallyCurrent to switch from Context A to Context C for initialization. Because Context C is uninitialized, PauseQueries() is skipped. Context A's query remains active on the GPU hardware, and its internal state manager still considers it "Active" (not paused).
  4. The browser schedules a cross-origin iframe or the browser compositor (Context B) to render. The GPU process switches to Context B. It correctly pauses Context C's queries (which are empty), completely ignoring Context A's orphaned hardware query.
  5. Context B renders. Its drawn pixels or execution time are accumulated into Context A's running hardware query.
  6. The GPU process eventually switches back to Context A. ResumeQueries() is called, but it acts as a no-op because Context A's query was never internally marked as paused in Step 3.
  7. The attacker calls glEndQuery in Context A, reads the result, and accurately extracts the cross-origin rendering data.

Suggested Fix

Update GLContext::MakeVirtuallyCurrent in ui/gl/gl_context.cc to ensure queries are also paused when switching to an uninitialized context:

C++
    if (current_state &&
        !virtual_context->GetGLStateRestorer()->IsInitialized()) {
      current_state->PauseTransformFeedback();
      current_state->PauseQueries(); // Add this line to prevent orphaned queries
    }

Evaluated with Chrome root at commit: b7d0c4d810da1b31400f198c70d9720fc8f0e5a0


Results so far have been promising, but there can be wrong deductions. Feel free to adjust as follows:

  • If you are familiar with the severity guidelines, you may adjust the severity.
  • If this is a false positive, and there's no work to be done, please close as WAI.
  • If there is work to do here but not a vulnerability, please change the issue type to Task/Bug/FR.

Data from false positives will be used to improve accuracy over time. And please feel free to reach out to me directly if you have concerns or feedback on the project.

The original report as published on the Chromium issue tracker. 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 code path for switching to an uninitialised virtual GL context pauses transform feedback but omits pausing active hardware queries, and the normal query-pausing logic is skipped because it is gated behind an initialisation check.

Impact

An attacker could use this side channel to leak precise cross-origin pixel counts or render times, though no working proof-of-concept has been executed.

What the attacker needed

Victim visits attacker page; attacker page runs WebGL; cross-origin content renders on same GPU

The fix

The code should be updated to also pause queries when switching to an uninitialised context.

How it was found

  1. An attacker page creates a WebGL context and starts a hardware query.
  2. The attacker triggers creation of a second, new WebGL context on the same GPU channel.
  3. The GPU process switches from the first context to the uninitialised second context, skipping query pausing.
  4. A cross-origin iframe or the browser compositor renders, and its activity is accumulated into the attacker's still-running query.
  5. The GPU process switches back to the attacker's context; resuming queries is a no-op because the query was never marked paused.
  6. The attacker ends the query, reads the result, and extracts cross-origin rendering data.

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.

WebGL lets web pages draw 3D graphics using the graphics card (GPU). The browser shares the GPU between different websites, and it is supposed to stop one site's measurements while another site is drawing. Here, a missing pause step means one site's measurement can keep running while another site draws, leaking information about what the other site is doing.

What is Info disclosure?

Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.

More from Google Chrome

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Information disclosure

The lesson behind this report.

Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.