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

Inappropriate implementation in Dawn (CVE-2026-11091)

Dawn's Vulkan backend mishandles a valid WebGPU usage where one colour texture is bound both as a sampled texture and a read-only storage texture, causing an invalid Vulkan image layout transition. A malicious web page could force the GPU driver into an undefined state, potentially leading to cross-origin GPU memory disclosure or a GPU sandbox escape.

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: Dawn's Vulkan backend fails to handle color textures bound simultaneously as a sampled texture and a read-only storage texture. This causes an assertion failure that is bypassed in Release builds, leading the driver to transition the color texture into an invalid depth/stencil layout. This layout mismatch can confuse GPU driver compression and caching, potentially allowing cross-origin GPU memory disclosure.

Affected files:

  • third_party/dawn/src/dawn/native/vulkan/TextureVk.cpp

Estimated timestamp from git blame: 2023-10-25

Description

A potential vulnerability exists in Dawn's Vulkan backend where a valid WebGPU resource usage combination causes an invalid Vulkan image layout transition. This issue can be triggered by binding a single color texture view simultaneously as a sampled texture (TextureBinding) and a read-only storage texture (kReadOnlyStorageTexture).

While WebGPU resource tracking correctly identifies this combination as a valid, read-only usage (in PassResourceUsageTracker::AddBindGroup and CommandValidation.cpp), the Vulkan backend's layout selection logic in VulkanImageLayout() (third_party/dawn/src/dawn/native/vulkan/TextureVk.cpp) is not equipped to handle it.

When VulkanImageLayout() receives the multi-bit usage TextureBinding | kReadOnlyStorageTexture, it checks !wgpu::HasZeroOrOneBits(usage). It assumes any multi-bit usage must be a specific depth/stencil read-only combination and asserts this via DAWN_ASSERT.

However, in Chrome Release builds compiled with Clang, DAWN_ASSERT expands to __builtin_assume(). When the assertion fails, __builtin_assume(false) invokes compiler-level undefined behavior without trapping. Execution falls through the depth/stencil specific if-else blocks and hits the final else statement, incorrectly returning VK_IMAGE_LAYOUT_DEPTH_STENCIL_READ_ONLY_OPTIMAL for a standard color texture.

This results in Dawn recording a vkCmdPipelineBarrier that transitions a color texture into a depth/stencil layout (violating Vulkan VUID VUID-VkImageMemoryBarrier-oldLayout-01210). Furthermore, the Bind Group descriptors are populated with conflicting layouts (SHADER_READ_ONLY_OPTIMAL and GENERAL), violating VUID VUID-VkDescriptorImageInfo-imageLayout-00344 during shader execution.

Impact

This issue allows a malicious web page to intentionally cause a severe state mismatch in the Vulkan driver. Because GPU drivers rely on explicit layouts to manage proprietary memory compression (e.g., AMD DCC, ARM AFBC) and cache hierarchies, forcing a color texture into a depth/stencil layout while accessing it via general/shader-read descriptors forces the GPU into an undefined state. This class of layout confusion is a known vector for cross-resource GPU memory disclosure and driver-level memory corruption, potentially leading to a GPU Sandbox Escape.

Potential Reproduction Steps

Note: These are potential steps based on code analysis; a working Proof of Concept has not been fully verified via execution.

  1. On a platform using the Vulkan backend (e.g., Android, Linux, ChromeOS), obtain a WebGPU device.
  2. Create a GPUTexture with a color format (e.g., rgba8unorm) and usage GPUTextureUsage.TEXTURE_BINDING | GPUTextureUsage.STORAGE_BINDING.
  3. Create a GPUBindGroupLayout defining two entries: one as a sampled texture (texture: {sampleType: 'unfilterable-float'}) and one as a read-only storage texture (storageTexture: {access: 'read-only', format: 'rgba8unorm'}).
  4. Create a GPUBindGroup and bind the exact same texture view to both entries.
  5. Create a compute pipeline that reads from both bindings.
  6. Record a command buffer dispatching this pipeline and submit it. The driver will attempt an invalid layout transition.

Suggested Fix

Update VulkanImageLayout() in third_party/dawn/src/dawn/native/vulkan/TextureVk.cpp to properly handle the combination of TextureBinding and kReadOnlyStorageTexture. When this specific multi-bit usage is detected on a color format, the function should return VK_IMAGE_LAYOUT_GENERAL (as it is required for storage operations, even read-only, and is compatible with sampled reads). The DAWN_ASSERT should also be updated to permit this specific subset.

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.

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 Vulkan layout selection function assumes any multi-bit usage must be a depth/stencil read-only combination, and its assertion is compiled away in release builds, so a colour texture bound as both sampled and read-only storage falls through to a depth/stencil layout.

Impact

A malicious web page could force the GPU driver into an undefined state, potentially leading to cross-resource GPU memory disclosure, driver-level memory corruption, or a GPU sandbox escape; the report notes a working proof of concept has not been verified.

What the attacker needed

Vulkan backend platform; WebGPU available in the browser; Victim visits a malicious page

The fix

The layout function should return the general layout for this specific colour-texture combination and the assertion should be relaxed to permit it.

How it was found

  1. Obtain a WebGPU device on a platform using the Vulkan backend.
  2. Create a colour texture with both texture-binding and storage-binding usage.
  3. Define a bind group layout with one sampled texture entry and one read-only storage texture entry.
  4. Bind the same texture view to both entries in a bind group.
  5. Create a compute pipeline that reads from both bindings.
  6. Record and submit a command buffer dispatching the pipeline.

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.

WebGPU lets a web page use the graphics card for computation. Dawn is the part of Chrome that translates WebGPU commands into Vulkan, the low-level graphics API. A texture was allowed to be used in two ways at once, and Dawn picked the wrong internal layout for it, which can confuse the graphics driver and possibly leak memory between web pages.

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.