Uninitialized resource in GPU (CVE-2026-79007)
A logic error in CompoundImageBacking marks a newly created GPU backing as cleared before shared memory content is copied into it, and a failed copy is only logged rather than reported. A renderer with code execution could then read uninitialised GPU memory, potentially leaking pixel data from other tabs or applications.
Google Chrome
Originally disclosed on Chrome VRP
- Fix shipped in 5 months
Project Fortify, an experimental security project, has identified the following potential security issue.
Overview: A logic error in CompoundImageBacking can potentially expose uninitialized GPU memory to the renderer process. If synchronization from a shared memory backing to a newly allocated GPU backing fails, the error is swallowed, and the uninitialized backing is read because it was prematurely marked as cleared.
Affected files:
gpu/command_buffer/service/shared_image/compound_image_backing.ccgpu/command_buffer/service/shared_image/shared_image_representation.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: 2026-02-18
Description
There is a potential vulnerability in CompoundImageBacking that allows for the exposure of uninitialized GPU memory (VRAM) to a renderer process. The issue arises from a failure to properly handle and propagate errors when synchronizing content from a Shared Memory (SHM) backing to a GPU backing, combined with prematurely marking the GPU backing as cleared.
CompoundImageBacking is used to manage multiple underlying representations of a SharedImage, typically bridging a CPU-accessible shared memory buffer with GPU-accessible textures. When a GPU read access is requested for a representation that does not yet contain the latest content, the backing attempts to copy the data from the SHM buffer to the GPU texture.
However, there are two interacting flaws in gpu/command_buffer/service/shared_image/compound_image_backing.cc:
-
Premature
SetCleared()Call: When a GPU backing is lazily created viaCompoundImageBacking::CreateBackingFromBackingFactory, it is unconditionally marked as cleared if the compound backing has a SHM backing:C++ // gpu/command_buffer/service/shared_image/compound_image_backing.cc:1753 if (has_shm_backing_) { backing->SetCleared(); }This bypasses security checks (like
IsCleared()) in the representation layer that normally prevent reading from uninitialized textures. -
Swallowed Synchronization Errors: When the wrapper representation (e.g.,
WrappedGLTextureCompoundImageRepresentation) callsBeginAccess, it first callscompound_backing()->NotifyBeginAccess(...)to trigger the sync. If the copy fails (e.g., due to memory exhaustion preventing the allocation of staging buffers in Skia), the error is merely logged, andNotifyBeginAccessreturnsvoidwithout signaling an error state to the caller:C++ // gpu/command_buffer/service/shared_image/compound_image_backing.cc:1034 copy_succeeded = copy_manager_->CopyImage( /*src_backing=*/latest_content_element->GetBacking(), /*dst_backing=*/access_element->GetBacking()); if (copy_succeeded) { // ... } else { LOG(ERROR) << "Failed to copy from " << latest_content_element->GetBacking()->GetName() << " to " << access_element->GetBacking()->GetName() << ". Backing can be using stale data"; } // Function returns void, caller assumes success or safe stale data.
Because NotifyBeginAccess does not indicate failure, WrappedGLTextureCompoundImageRepresentation::BeginAccess unconditionally proceeds to call wrapped_->BeginAccess(mode).
Since the texture was marked cleared at creation, the IsCleared() check passes. The renderer is then granted read access to a newly allocated Skia backend texture that failed to receive the SHM data, meaning the texture contains raw, uninitialized VRAM.
Impact
An attacker with renderer execution privileges could potentially induce a cross-origin data leak. Uninitialized VRAM frequently contains sensitive pixel data from other browser tabs, the OS desktop, or other applications. By reading this memory, the attacker violates cross-origin and cross-process boundaries (High Severity / S1).
Potential Attacker Steps
(Note: These are theoretical steps as this agent does not have the ability to run live exploit code to verify the precise memory pressure threshold required.)
- Gain code execution in a renderer process.
- Allocate a
SharedImagebacked by a shared memory buffer by sending themojom::CreateSharedImageWithBufferIPC to the GPU process, requesting both CPU and GPU read/write usage flags. - The GPU process instantiates a
CompoundImageBackingfor this SharedImage, wrapping the SHM buffer and preparing a lazy-instantiated GPU factory. - Apply targeted memory pressure in the GPU process. The attacker might spray allocations or exhaust specific resource pools such that basic VRAM texture allocation succeeds, but subsequent allocations for staging/upload buffers (used by
UploadFromMemory/ Skia'supdateBackendTexture) fail. - Issue a read command via a GPU API (e.g., binding the SharedImage to a WebGL texture and calling
readPixels). - The read access triggers the lazy creation of the GPU backing (e.g.,
WrappedSkImageBacking). It allocates a backend texture (uninitialized) and is immediately marked as cleared byCreateBackingFromBackingFactory. NotifyBeginAccessattempts to sync the SHM data to the GPU backing. Due to the induced memory pressure,copy_manager_->CopyImagefails.- The error is logged but swallowed. The access continues, and the renderer successfully reads the uninitialized VRAM content.
Evaluated with Chrome root at commit: 0eb4855bda702feaaa8b899336664f97e3df88b8
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. Please feel free to reach out to me if you have concerns or feedback.
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 a design flaw where the GPU backing is unconditionally marked cleared at creation and the synchronisation function returns void, so a failed copy from shared memory is logged but never propagated to the caller.
Impact
An attacker with renderer execution could potentially leak cross-origin pixel data from other tabs, the desktop or other applications, though the report notes the steps are theoretical and unverified.
What the attacker needed
Code execution in a renderer process; ability to induce GPU memory pressure
The fix
The backing should only be marked cleared after a successful copy, and the synchronisation path should return an error so the caller can refuse the access.
How it was found
- Gain code execution in a renderer process.
- Request a SharedImage backed by shared memory with both CPU and GPU usage flags.
- Apply memory pressure in the GPU process so staging buffer allocation fails.
- Trigger a read via a GPU API such as binding to a WebGL texture and reading pixels.
- The lazy GPU backing is created and marked cleared, the copy fails silently, and uninitialised VRAM is read.
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 browser keeps some image data in ordinary memory and some in graphics card memory. When it moves data between the two, a copy can fail, and here the browser ignored that failure and told the rest of the program the graphics memory was ready and safe to read. That means a page could read leftover graphics memory that was never written, which may still hold pictures from other tabs or programs.
What is Info disclosure?
Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.