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

Uninitialized resource in GPU (CVE-2026-113188)

A GPU memory management function marks a copy as successful even when the underlying copy fails, permanently masking the failure. An attacker could then read uninitialized or stale GPU memory, potentially disclosing cross-origin VRAM.

Google Chrome

Originally disclosed on Chrome VRP

  • Fix shipped in 3 months

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. Please see https://chromium.googlesource.com/chromium/src/+/main/docs/security/ai-generated-security-bugs-faq.md for more information.

Overview: A potential vulnerability in ExternalVkImageBacking::UpdateContent allows unconditional state updates even when internal copy operations fail under GPU memory pressure. This permanently masks the sync failure and allows future reads to access uninitialized or stale GPU memory. This can potentially lead to cross-origin VRAM disclosure from the GPU process to a compromised renderer.

Affected files:

  • gpu/command_buffer/service/shared_image/external_vk_image_backing.cc

Estimated timestamp from git blame: 2019-06-14

Root Cause

In gpu/command_buffer/service/shared_image/external_vk_image_backing.cc, when use_separate_gl_texture() is true, ExternalVkImageBacking maintains two independent physical stores (a VkImage and a separate GL texture) and lazily syncs them on read via UpdateContent.

However, the sync helpers CopyPixelsFromGLTextureToVkImage() and CopyPixelsFromVkImageToGLTexture() are declared void and swallow failures. UpdateContent then unconditionally marks the destination as containing valid data:

C++
// gpu/command_buffer/service/shared_image/external_vk_image_backing.cc
void ExternalVkImageBacking::UpdateContent(uint32_t content_flags) {
  base::AutoReset<bool> auto_reset(&is_updating_content_, true);
  ...
  if (!use_separate_gl_texture())
    return;
  if ((latest_content_ & content_flags) == content_flags)
    return;                                              // fast-path short-circuit

  if (content_flags == kInVkImage) {
    if ((latest_content_ & kInGLTexture)) {
      CopyPixelsFromGLTextureToVkImage();               // void - internal failure discarded
      latest_content_ |= kInVkImage;                    // set REGARDLESS of failure
    }
  } else if (content_flags == kInGLTexture) {
    if (latest_content_ & kInVkImage) {
      CopyPixelsFromVkImageToGLTexture();               // void - internal failure discarded
      latest_content_ |= kInGLTexture;                  // set REGARDLESS of failure
    }
  }
}

The copy helpers have multiple potential failure paths that early-return without updating the destination image, such as context activation failure or staging allocation failure under GPU memory pressure:

C++
void ExternalVkImageBacking::CopyPixelsFromGLTextureToVkImage() {
  ...
  if (!MakeGLContextCurrent()) { return; }
  ...
  if (!gl_textures_[plane]->ReadbackToMemory(pixmaps.back())) {
    DLOG(ERROR) << 'GL readback failed'; return;
  }
  ...
  if (!UploadToVkImage(pixmaps)) { DLOG(ERROR) << '...'; }
}

Because the destination bit is set even on failure, the fast-path at line 1016 short-circuits on subsequent calls, meaning the failure is permanently masked. No future read will retry the copy, leaving the uninitialized or stale VRAM exposed.


Suggested/Potential Trigger Steps

Note: These are potential steps proposed by analysis; our tooling agent does not yet have the ability to run code or verify exploit reliability.

  1. Run Chrome on a configuration with Ganesh-Vulkan compositing where UseSeparateGLTexture() returns true.
  2. From a compromised renderer, request a CreateSharedImage (with usage GLES2_WRITE | RASTER_READ and empty pixel data).
  3. Bind the SharedImage to a GLES2 texture; the command buffer decoder invokes EnsureClear, which zero-fills only the separate GL texture and marks latest_content_ = kInGLTexture.
  4. Induce GPU memory pressure (e.g., by allocating numerous large WebGL textures or SharedImages) to trigger a Skia Vulkan staging allocation failure (updateBackendTexture returning false).
  5. Issue a raster command-buffer readback (e.g., ReadbackImagePixelsINTERNAL). The backing checks IsCleared() (which is true), then runs UpdateContent(kInVkImage).
  6. CopyPixelsFromGLTextureToVkImage fails due to the induced memory pressure, yet latest_content_ |= kInVkImage executes anyway.
  7. Free the memory-pressure allocations.
  8. Issue another readback request on the same SharedImage. UpdateContent fast-path skips the copy; the read proceeds and successfully fetches the raw, uninitialized VkDeviceMemory contents, disclosing cross-origin VRAM.

Suggested Fix

Modify the sync helper functions to return a bool representing whether the operation succeeded. In UpdateContent, only OR the destination flag into latest_content_ if the respective helper returns true.

C++
// Suggested change in external_vk_image_backing.cc:
  if (content_flags == kInVkImage) {
    if ((latest_content_ & kInGLTexture)) {
      if (CopyPixelsFromGLTextureToVkImage()) {
        latest_content_ |= kInVkImage;
      }
    }
  } else if (content_flags == kInGLTexture) {
    if (latest_content_ & kInVkImage) {
      if (CopyPixelsFromVkImageToGLTexture()) {
        latest_content_ |= kInGLTexture;
      }
    }
  }

Evaluated with Chrome root at commit: 84065d9121f6e48f67755f0ae963cc09617e5c85


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

The copy helper functions return void and swallow errors, while UpdateContent unconditionally sets the destination content flag even when the copy fails.

Impact

A compromised renderer could potentially read uninitialized or stale GPU memory, leading to cross-origin VRAM disclosure; the report notes the trigger steps are unverified.

What the attacker needed

Compromised renderer; Ganesh-Vulkan compositing enabled; ability to induce GPU memory pressure

The fix

The sync helper functions should return a bool indicating success, and UpdateContent should only set the destination flag when the helper returns true.

How it was found

  1. Run Chrome with Ganesh-Vulkan compositing where UseSeparateGLTexture() returns true.
  2. From a compromised renderer, request a CreateSharedImage with GLES2_WRITE | RASTER_READ usage and empty pixel data.
  3. Bind the SharedImage to a GLES2 texture; EnsureClear zero-fills only the separate GL texture and marks latest_content_ = kInGLTexture.
  4. Induce GPU memory pressure to trigger a Skia Vulkan staging allocation failure.
  5. Issue a raster command-buffer readback; UpdateContent(kInVkImage) runs and the copy fails, but latest_content_ |= kInVkImage still executes.
  6. Free the memory-pressure allocations and issue another readback; the fast-path skips the copy and returns uninitialized VkDeviceMemory contents.

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.

When two parts of the graphics system need to share an image, one part copies it to the other. This report says the code records that the copy worked even when it actually failed, so later reads get old or uninitialised memory instead of the correct image. That could let one website see another website's graphics data.

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.