Insufficient validation of untrusted input in GPU (CVE-2026-11098)
A compromised renderer can use the same SharedImage as both a render target and a source in a raster operation, bypassing access synchronisation. On tile-based GPUs, this can cause the GPU to read stale tile-cache memory, potentially leaking cross-origin pixel data.
Google Chrome
Originally disclosed on Chrome VRP
- Fix shipped in 57 days
Project Fortify, 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 without the security team.
Overview: A potential vulnerability exists where a compromised renderer can create a self-texturing feedback loop by using the same SharedImage for both reading and writing during a raster operation. This occurs due to a lack of backing-level access coordination in certain SharedImage backings and missing validation in SharedImageProviderImpl. On tile-based GPUs, this feedback loop can cause the GPU to sample stale tile-cache memory, potentially leaking cross-origin pixel data.
Affected files:
gpu/command_buffer/service/raster_decoder.ccgpu/command_buffer/service/shared_image/wrapped_sk_image_backing.ccgpu/command_buffer/service/shared_image/wrapped_graphite_texture_backing.cc
Estimated timestamp from git blame: 2025-04-03
Summary
A potential vulnerability in the Chrome GPU process allows a compromised renderer to bypass SharedImage access synchronization. By referencing the output mailbox of a BeginRasterCHROMIUM command as a source image within a subsequent RasterCHROMIUM command, an attacker can trick the graphics pipeline into using the same underlying GPU texture as both a render target and a sampler. On Tile-Based Deferred Rendering (TBDR) architectures, this undefined behavior can cause the GPU to read stale data from the tile cache, leading to an exploitable cross-origin pixel data leak.
Technical Details
The issue stems from two interconnected structural flaws:
- Missing Context in
SharedImageProviderImpl: Ingpu/command_buffer/service/raster_decoder.cc, theSharedImageProviderImplis instantiated duringDoBeginRasterCHROMIUMwithout knowledge of the active write mailbox. Consequently, itsOpenSharedImageForReadmethod lacks the context required to reject read requests for the mailbox currently bound for writing. - Representation-Level Access Tracking: Certain backings, such as
WrappedSkImageBackingandWrappedGraphiteTextureBacking, do not track access state at the global backing level (unlikeD3DImageBackingwhich tracksin_write_access_). Instead, they rely on localized state within the representation objects (e.g.,SkiaImageRepresentationImpl::write_surfaces_). CallingProduceSkiatwice on the same mailbox returns two independent representations. The read representation (R2) successfully callsBeginReadAccessbecause its localwrite_surfaces_list is empty, entirely ignoring the active write occurring on the first representation (R1).
Potential Steps to Trigger
(Note: These are suggested steps based on code analysis; our tooling agent does not yet have the ability to run code to provide a working proof of concept.)
- A compromised renderer creates a
SharedImagewithRASTER_READ | RASTER_WRITEusage and receives itsMailbox. - The renderer issues a
BeginRasterCHROMIUMIPC command, passing theMailboxto bind it as the output render target (creating a write representationR1). - The renderer issues a
RasterCHROMIUMIPC command. Within the serialized paint operations, it embeds aDrawImageOpwhere the source image is aPaintImageof typekMailboxreferencing the EXACT SAMEMailbox. - During deserialization,
SharedImageProviderImpl::OpenSharedImageForReadattempts to resolve the mailbox. It creates a second, independent read representation (R2) which successfully acquires read access becauseWrappedSkImageBackinglacks global access tracking. - Skia is instructed to execute the draw operation, wrapping the same GPU texture as both the active render target and the source sampler, causing an OpenGL/Vulkan feedback loop.
- On TBDR GPUs (common on mobile), this forces the tile-cache into an undefined state, causing it to read uninitialized or stale memory containing cross-origin pixel data from previous render passes.
- The renderer issues
EndRasterCHROMIUMand usesReadbackImagePixelsto exfiltrate the leaked data.
Suggested Fix
- Decoder-Level Protection: Update the
SharedImageProviderImplconstructor ingpu/command_buffer/service/raster_decoder.ccto accept theMailboxcurrently bound for rasterization. InOpenSharedImageForRead, immediately reject and return an error if the requested mailbox matches the active output mailbox. - Backing-Level Protection: Implement global access tracking directly within
WrappedSkImageBackingandWrappedGraphiteTextureBacking. Add state members (e.g.,in_write_access_andnum_readers_) at the backing level to ensure that an active write access strictly prevents the creation or initialization of concurrent read representations, similar to theValidateBeginAccessimplementation inD3DImageBacking.
Evaluated with Chrome root at commit: f200f57a19490707ff8bc7aa5de3cbc443a3afad
Results so far have been promising, but there can be wrong deductions. If this proves to be a false positive, please close as WAI; 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.
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 SharedImageProviderImpl lacks knowledge of the active write mailbox, and certain backings track access only per representation rather than globally, so a second read representation can be created while a write is active.
Impact
On tile-based GPUs, this could leak cross-origin pixel data; the report notes the steps are based on code analysis and no working proof of concept was run.
What the attacker needed
Compromised renderer; tile-based GPU
The fix
The report suggests adding the active output mailbox to SharedImageProviderImpl so it can reject reads of that mailbox, and adding global access tracking to the affected backings.
How it was found
- A compromised renderer creates a SharedImage with read and write usage and obtains its mailbox.
- The renderer issues a BeginRasterCHROMIUM command, binding that mailbox as the output render target.
- The renderer issues a RasterCHROMIUM command that includes a draw operation referencing the same mailbox as the source image.
- During deserialisation, a second read representation is created and acquires read access because the backing lacks global access tracking.
- Skia executes the draw, using the same GPU texture as both render target and sampler, causing a feedback loop.
- On tile-based GPUs, the tile cache enters an undefined state and may return stale cross-origin pixel data, which the renderer then reads back.
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 renderer is the part of the browser that draws web pages. It is supposed to be isolated so that if it is compromised, it cannot read data from other websites. This report describes a way for a compromised renderer to trick the graphics system into mixing up its own drawing with data from other pages, potentially leaking pixels from other sites.
What is Info disclosure?
Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.