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

Uninitialized Use in Dawn (CVE-2026-11101)

A temporary GPU buffer used for depth/stencil texture-to-buffer copies is not zero-initialized, so padding regions contain stale VRAM. An attacker could read that leaked memory through a mapped WebGPU buffer.

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 in the Dawn D3D12 backend allows leaking uninitialized GPU heap memory. A temporary buffer used as a workaround for depth/stencil texture-to-buffer copies is not zero-initialized before use. Because texture copies only overwrite valid texels, uninitialized VRAM in the padding regions is copied to the user's destination buffer.

Affected files:

  • third_party/dawn/src/dawn/native/d3d12/CommandBufferD3D12.cpp
  • third_party/dawn/src/dawn/native/d3d12/PhysicalDeviceD3D12.cpp
  • third_party/dawn/src/dawn/native/d3d12/BufferD3D12.cpp

Estimated timestamp from git blame: 2026-01-23

Summary

A potential vulnerability in the Dawn D3D12 backend allows an attacker to leak uninitialized GPU heap memory. When the D3D12UseTempBufferInDepthStencilTextureAndBufferCopyWithNonZeroBufferOffset workaround is active, Dawn uses an internal temporary buffer for depth/stencil texture-to-buffer copies. This temporary buffer is allocated from a non-zeroed GPU heap and is not explicitly initialized before being partially filled with texture data and then copied in its entirety to a user-visible buffer. This results in the leakage of stale GPU memory contents, including padding regions between rows and images, which can be read by web content.

Vulnerability Details

On D3D12 hardware lacking programmable sample positions, Dawn natively enables the Toggle::D3D12UseTempBufferInDepthStencilTextureAndBufferCopyWithNonZeroBufferOffset workaround. When a WebGPU copyTextureToBuffer() call is made from a depth/stencil texture to a buffer with an offset that is not a multiple of 512, ShouldCopyUsingTemporaryBuffer() evaluates to true.

The execution routes to RecordBufferTextureCopyWithTemporaryBuffer() (in third_party/dawn/src/dawn/native/d3d12/CommandBufferD3D12.cpp), which exhibits the following flow:

  1. A temporary buffer (tempBuffer) is created. Its size is calculated to accommodate the requested texels plus any row/image padding introduced by the user's bytesPerRow and rowsPerImage arguments.
  2. Because Dawn typically enables the Toggle::D3D12CreateNotZeroedHeap toggle on D3D12, this new buffer is backed by raw, uninitialized GPU memory containing stale data.
  3. The code calls tempBuffer->UseInternal() but critically fails to call tempBuffer->EnsureDataInitialized(). The buffer remains filled with uninitialized VRAM.
  4. A texture-to-buffer copy is recorded (RecordBufferTextureCopy), translating to D3D12's CopyTextureRegion. This operation correctly respects texture layout rules and only writes to the actual texel footprints, leaving the extensive padding regions inside tempBuffer completely untouched.
  5. Finally, commandList->CopyBufferRegion() is used to copy the entire tempBuffer linearly into the user's destination buffer.

Because the destination buffer can be mapped for reading via JavaScript, an attacker can intentionally configure a massive bytesPerRow to create huge uninitialized padding gaps, and then extract cross-origin VRAM data from those gaps.

Suggested Reproduction Steps

Note: Our tooling agent does not have the ability to run code, so these are potential steps based on source code analysis.

  1. Use a Windows system with a D3D12 GPU where ProgrammableSamplePositionsTier == 0 (e.g., an older Intel iGPU).
  2. Using WebGPU, create a depth/stencil GPUTexture and a destination GPUBuffer with MAP_READ | COPY_DST usage.
  3. Encode a copyTextureToBuffer() command from the texture to the buffer.
  4. Set offset to 4 (valid for depth/stencil, but triggers the workaround because it is not a multiple of 512). Set bytesPerRow to a very large value (e.g., 262144) to maximize padding size.
  5. Submit the command and wait for execution.
  6. Map the destination buffer for reading and inspect the bytes in the padding regions between the copied rows. These regions will contain leaked GPU memory data.

Suggested Fix

In third_party/dawn/src/dawn/native/d3d12/CommandBufferD3D12.cpp, modify RecordBufferTextureCopyWithTemporaryBuffer to explicitly ensure the temporary buffer is initialized before it is used as a copy destination. Add DAWN_TRY(tempBuffer->EnsureDataInitializedAsDestination(recordingContext, ...)); or simply DAWN_TRY(tempBuffer->EnsureDataInitialized(recordingContext)); immediately after creating the tempBuffer.

Evaluated with Chrome root at commit: 137d451a126685dd5010e6609db9f6d4a78d8234


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

The temporary buffer is created from a non-zeroed heap and is used without calling EnsureDataInitialized, so padding bytes are never cleared.

Impact

An attacker could read stale GPU memory, potentially including cross-origin VRAM data, but only on D3D12 hardware lacking programmable sample positions and when the workaround is active.

What the attacker needed

Windows with D3D12 GPU; ProgrammableSamplePositionsTier == 0; WebGPU access

The fix

The temporary buffer should be explicitly initialized before use, for example by calling EnsureDataInitialized after creating it.

How it was found

  1. Use a Windows system with a D3D12 GPU where ProgrammableSamplePositionsTier is 0.
  2. Create a depth/stencil GPUTexture and a destination GPUBuffer with MAP_READ | COPY_DST usage.
  3. Encode a copyTextureToBuffer command from the texture to the buffer.
  4. Set offset to 4 and bytesPerRow to a very large value to maximise padding.
  5. Submit the command and wait for execution.
  6. Map the destination buffer and inspect the padding regions for leaked GPU memory.

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 a program copies part of an image into a buffer, the unused gaps between rows can contain old data left in graphics memory. Here those gaps were never cleared, so a web page could read leftover memory from other programs. The fix is to clear the temporary buffer before using it.

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.