Skip to content
Memory corruption Advisory Advanced CVE-2026-11086

Insufficient validation of untrusted input in Dawn (CVE-2026-11086)

Dawn's texture view validation only checks the base texture's public usage, ignoring internal usage flags that the view inherits. A compromised renderer can create a view with an SRGB format and hidden storage usage, causing the Vulkan driver to receive an invalid image view configuration and potentially crash or corrupt memory.

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 compromised renderer can use DawnTextureInternalUsageDescriptor to bypass texture view validation in Dawn. This allows the creation of Vulkan image views with incompatible formats and usage flags, such as SRGB formats with storage usage. This violates Vulkan specifications and can cause undefined behavior in the GPU process.

Affected files:

  • third_party/dawn/src/dawn/native/Texture.cpp
  • third_party/dawn/src/dawn/native/vulkan/TextureVk.cpp
  • gpu/command_buffer/service/webgpu_decoder_impl.cc

Estimated timestamp from git blame: 2025-11-11

Background

In Dawn, textures and texture views possess both public and internal usages. Public usages are defined through the standard WebGPU API, while internal usages are utilized for implementation-specific optimizations and interop. The DawnTextureInternalUsageDescriptor allows specifying internal usages directly. In Chrome, the DawnInternalUsages feature is enabled by default in the GPU process for all web contexts (via gpu/command_buffer/service/webgpu_decoder_impl.cc), and this descriptor is wire-serializable, meaning a compromised renderer can send it over IPC.

Vulnerability

There is a critical divergence between how a TextureView's usage is validated and how it is ultimately constructed:

  1. Validation: When a texture view is created with a requested usage of None (0), it inherits its usage from the base texture. The validation function ValidateTextureViewUsage calculates this by calling GetTextureViewUsage(texture->GetUsage(), usage). Crucially, this only fetches the base texture's public usage and ignores its internal usage.
  2. Construction: During object construction, the TextureViewBase constructor initializes the view's internal usage by calling GetTextureViewUsage(texture->GetInternalUsage(), descriptor->usage). This populates the view with all internal flags from the base texture.

If a texture is created with a public usage of TextureBinding and an internal usage of StorageBinding, creating a view with None usage and an SRGB format (like RGBA8UnormSrgb) will pass validation. ValidateTextureViewUsage only sees TextureBinding (which is compatible with SRGB formats). However, the resulting view object inherits the internal StorageBinding flag.

Impact

When the Vulkan backend initializes the view (TextureView::Initialize in TextureVk.cpp), it translates the view's internal usages to Vulkan flags. The hidden StorageBinding is translated to VK_IMAGE_USAGE_STORAGE_BIT.

The backend then calls vkCreateImageView with VK_FORMAT_R8G8B8A8_SRGB and VK_IMAGE_USAGE_STORAGE_BIT. This violates Vulkan specification VUID-VkImageViewCreateInfo-usage-02275, which strictly requires that any image view with a storage usage bit must have a format that supports VK_FORMAT_FEATURE_STORAGE_IMAGE_BIT. Since SRGB formats universally lack this feature, the graphics driver is forced into undefined behavior. This can lead to driver crashes, memory corruption, or potential sandbox escapes from the GPU process.

Suggested Reproduction Steps

Note: These are potential steps as our tooling agent cannot execute arbitrary code.

  1. From a compromised renderer process, send a DeviceCreateTexture IPC command to create a texture with:
    • format: wgpu::TextureFormat::RGBA8Unorm
    • usage: wgpu::TextureUsage::TextureBinding
    • viewFormats: [wgpu::TextureFormat::RGBA8UnormSrgb]
    • nextInChain: A DawnTextureInternalUsageDescriptor with internalUsage set to wgpu::TextureUsage::StorageBinding.
  2. Send a TextureCreateView IPC command for the new texture, specifying:
    • format: wgpu::TextureFormat::RGBA8UnormSrgb
    • usage: wgpu::TextureUsage::None (0).
  3. Observe that ValidateTextureViewUsage passes because it only checks TextureBinding against RGBA8UnormSrgb.
  4. The view is constructed with an internal usage that includes StorageBinding.
  5. In the GPU process's Vulkan backend, vkCreateImageView is executed with an SRGB format and VK_IMAGE_USAGE_STORAGE_BIT, triggering the VUID violation.

Suggested Fix

ValidateTextureViewUsage in third_party/dawn/src/dawn/native/Texture.cpp must be updated to validate the internal usages that the texture view will actually inherit.

Instead of only checking GetTextureViewUsage(texture->GetUsage(), usage), the validation logic should compute the inherited internal usage (GetTextureViewUsage(texture->GetInternalUsage(), usage)) and ensure that these combined usage flags are compatible with the requested view format before allowing the view to be created.

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 validation function for texture view usage only considered the base texture's public usage, while the view construction inherited the base texture's internal usage, creating a mismatch that allowed an incompatible format and usage combination.

Impact

This can lead to driver crashes, memory corruption, or potential sandbox escapes from the GPU process, though the report notes these are potential consequences and the reproduction steps were not executed.

What the attacker needed

Compromised renderer process; DawnInternalUsages feature enabled

The fix

The validation function should be updated to compute and check the internal usage that the view will inherit, ensuring compatibility with the requested format before allowing view creation.

How it was found

  1. From a compromised renderer, send an IPC command to create a texture with a public usage of TextureBinding, an internal usage of StorageBinding, and an SRGB view format.
  2. Send an IPC command to create a view for that texture with usage None and an SRGB format.
  3. Observe that validation passes because it only checks the public TextureBinding usage against the SRGB format.
  4. The view is constructed with an internal usage that includes StorageBinding.
  5. In the GPU process, the Vulkan backend calls vkCreateImageView with an SRGB format and storage usage, violating the Vulkan specification.

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 texture is an image stored on the graphics card. A texture view is a way to look at that image with a different format or purpose. The code checked only the public purpose of the texture when deciding if a view was allowed, but the view also silently inherited a hidden internal purpose. That mismatch let a malicious program ask the graphics driver to do something it does not support, which can crash the driver or worse.

What is Memory corruption?

Native code reads or writes memory it should not: overflows, use-after-free, type confusion. The core of browser, kernel and parser bugs.

More from Google Chrome

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Memory corruption

The lesson behind this report.

Native code reads or writes memory it should not: overflows, use-after-free, type confusion. The core of browser, kernel and parser bugs.