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

Use after free in Dawn (CVE-2026-93374)

A race condition in the ARM Mali GPU userspace driver lets a webpage destroy a fence mutex while the driver's event thread is still signalling it, crashing Chrome's GPU process. Because the GPU fault is not isolated per process, it can also crash system_server and reboot the whole Android device.

Florian Schweitzer Follow

Originally disclosed on Chrome VRP

Critical View original
  • Fix shipped in 5 months

Use-after-destroy race condition in the ARM Mali GPU driver reachable from JavaScript via WebGPU

VULNERABILITY DETAILS

Use-after-destroy race condition in the ARM Mali GPU driver (libGLES_mali.so) reachable from JavaScript via WebGPU. Concurrent WebGPU device creation/destruction triggers a race between the Mali event thread (mali-event-hand) and device teardown, where fence_internal::signal_internal() calls pthread_mutex_lock on a mutex that was already destroyed by a concurrent cleanup path. This crashes Chrome's GPU process (privileged_process0) with SIGABRT.

The GPU fault then propagates through the shared Mali GPU to every process using Vulkan rendering (HWUI), including system_server, causing a full Android device reboot. A second variant (v36) demonstrates that the race also produces CS_INHERIT_FAULT exceptions where the GPU command stream accesses unmapped virtual addresses, indicating stale GPU memory references survive into command execution.

The root cause is missing synchronization in the Mali driver between fence destruction during vkDestroyDevice and asynchronous fence signaling in the event thread. Chrome's WebGPU API provides the attack surface: untrusted JavaScript can create many concurrent GPU devices, trigger GPU faults via long-running compute shaders, and force rapid device teardown cycles that widen the race window.

Primary bug: Memory corruption (use-after-destroy) in Chrome's GPU process, triggered from visiting a webpage.

Secondary impact: GPU fault propagation to system_server causing device reboot (no GPU fault isolation between processes).

VERSION

Chrome Version: 146.0.7680.177 (Trichrome library 768017733) stable Operating System: Android 16 (CP1A.260305.018), Kernel 6.1.145-android14-11, Google Pixel (tokay)

REPRODUCTION CASE

Attached files:

  • gpu-reset-poc-v33.html Primary PoC (self-contained, auto-starts on page load)
  • gpu-reset-poc-v36.html Variant with device churning (produces CS_INHERIT_FAULT)

Prerequisites:

  • Chrome stable with WebGPU (enabled by default since Chrome 113)
  • ARM Mali GPU (tested on Google Pixel / tokay with Android 16)
  • No flags, permissions, or additional user interaction required

Steps:

  1. Serve gpu-reset-poc-v33.html via HTTP: python3 -m http.server 8000
  2. Open the page in Chrome on the Pixel
  3. Wait 20-25 seconds
  4. Chrome GPU process crashes (FORTIFY: destroyed mutex in Mali driver)
  5. GPU fault propagates to system UI processes
  6. system_server crashes, device reboots

Reproduction rate: GPU process crash occurs on every run. Full device reboot occurs on ~50% of runs (depends on whether system_server is actively rendering when the GPU fault propagates).

PoC design: The page spawns 3 hidden iframes of itself. Each context runs 4 WebGPU devices with 8 compute pipelines executing long-running shaders (8000 iterations). Total: 4 contexts x 4 devices = 16 concurrent GPU contexts. When devices are lost, they recover with a 1.5s cooldown and re-stress the GPU. The rapid concurrent teardown/recreation cycle races the Mali driver's event thread against device cleanup.

CRASH INFORMATION

Type of crash: GPU process crash (SIGABRT), cascading to system_server crash and device reboot.

Crash 1: Mali mutex use-after-destroy (primary bug)

Process: com.android.chrome:privileged_process0 (pid 11648)
Thread:  mali-event-hand (tid 11708)
Signal:  6 (SIGABRT), code -1 (SI_QUEUE)
Abort:   FORTIFY: pthread_mutex_lock called on a destroyed mutex (0xb400007ae0eca904)

backtrace:
  #00 pc 0x07baf4  libc.so           (__fortify_fatal+228)
  #01 pc 0x08c0d0  libc.so           (HandleUsingDestroyedMutex+64)
  #02 pc 0x08bf2c  libc.so           (pthread_mutex_lock+140)
  #03 pc 0x1b446d8 libGLES_mali.so   (hal::halp::fence_internal::signal_internal+24)
  #04 pc 0x1b4bae4 libGLES_mali.so   (hal::halp::signal_fence_cb+36)
  #05 pc 0x1c5f2b4 libGLES_mali.so   (basep_cpu_queue_process+356)
  #06 pc 0x1c5d0c4 libGLES_mali.so   (basep_process_command_queues+148)
  #07 pc 0x1c5b1dc libGLES_mali.so   (basep_event_thread+236)
  #08 pc 0x08a714  libc.so           (__pthread_start+180)
  #09 pc 0x07b3b4  libc.so           (__start_thread+68)

Mali driver: libGLES_mali.so BuildId: 7881438741eeeb5f10dc4d10ccb2f1f88d94c26d

The race: Thread A (device teardown after VK_ERROR_DEVICE_LOST) destroys the fence mutex. Thread B (mali-event-hand) processes the GPU fault event queue and calls fence_internal::signal_internal(), which tries to lock the already-destroyed mutex. FORTIFY catches this before the lock proceeds. Without FORTIFY, this would be an undetected use of freed memory (the fence object is freed after mutex destroy).

Crash 2: system_server crash (causes reboot)

Process: system_server (pid 1542, uid 1000)
Thread:  RenderThread (tid 12470)
Signal:  6 (SIGABRT)
Abort:   VK_ERROR_DEVICE_LOST (RenderThread, 1 vendor info (65537:0)):
         Exception type 0x10001: GPU fault.

backtrace:
  #04 pc 0x72a658  libhwui.so    (onVkDeviceFault+1048)
  #05 pc 0x72a1dc  libhwui.so    (deviceLostProcRenderThread+76)
  #07 pc 0x20fe70  libhwui.so    (GrVkResourceProvider::checkCommandBuffers+1760)

The GPU fault from Chrome's WebGPU workload propagates through the shared Mali GPU to system_server's HWUI Vulkan context. There is no process-level GPU fault isolation. A fault caused by one process's GPU work kills every process sharing the GPU. When system_server crashes, Android reboots.

Crash 3: CS_INHERIT_FAULT — GPU accessing unmapped VA (v36 variant)

Process: com.android.chrome (pid 749)
Abort:   VK_ERROR_DEVICE_LOST:
  Exception type 0x4b: CS_INHERIT_FAULT. VA: 0x5ffffc5ff8. Group 0.
  5 address info (0:412316622840:4096 x5)

With device churning (v36), the GPU command stream accesses virtual address 0x5ffffc5ff8 whose backing pages were unmapped. The GPU hit this stale VA 5 times. This indicates GPU memory references survive into command execution after the backing memory is freed during device teardown.

Full crash cascade (v33, from logcat + bugreport)

  • 19 tombstones in 64 seconds
  • 7 ANR events
  • Processes crashed: Chrome (GPU + renderer), Nexus Launcher, SystemUI, system_server, Keyboard, Google Tips
  • Full device reboot after system_server crash

With v36 variant: 32 tombstones, 5 distinct Mali fault types, 2,074 system impact events, 7 different processes crashed.

ANALYSIS

Affected component: The bug is in ARM Mali's userspace driver (libGLES_mali.so), not in Chrome/Dawn code. However, Chrome's WebGPU API is the attack surface that makes it reachable from untrusted web content without any flags or permissions.

Why WebGPU enables this: WebGPU allows JavaScript to create multiple GPU devices, submit long-running compute work that triggers GPU timeouts, and rapidly recreate devices after loss. This create-stress-destroy cycle is what races the Mali driver's event thread against cleanup. The standard WebGPU API provides all the primitives needed. --enable-unsafe-webgpu or other flags are NOT required.

Exploitability assessment: The FORTIFY check catches the destroyed mutex before pthread_mutex_lock proceeds. Without FORTIFY, the lock would operate on freed (potentially reallocated) memory. The fence object likely contains function pointers for signal callbacks — if an attacker can reclaim the freed fence slot with controlled data, signal_internal() would call an attacker-controlled function pointer. (This would give code execution in Chrome's GPU process. We have not demonstrated this)

macOS cross-platform note: The same v33 PoC on macOS/M1 causes a CDM Kill timeout in the AGX GPU driver, leading to a SoC watchdog hardware reset (dbg_rst) with boot failure. This is a separate bug (Apple GPU driver, not Mali) but the same attack surface.

ATTACHED EVIDENCE

  1. gpu-reset-poc-v33.html Primary PoC
  2. gpu-reset-poc-v36.html CS_INHERIT_FAULT variant
  3. logcat_v33.txt Full logcat showing mutex UAD + reboot chain (85,531 lines)
  4. logcat_v36.txt v36 logcat with 5 fault types (23,226 lines)
  5. tombstone_07 Mali mutex UAD backtrace (from bugreport)
  6. tombstone_02 CS_INHERIT_FAULT at VA 0x5ffffc5ff8 (from bugreport)
  7. tombstone_09 system_server crash (from bugreport)

Android bugreports available on request (46MB each).

CREDIT INFORMATION

Reporter credit: Florian Schweitzer

The original report as published on the Chromium issue tracker, by Florian Schweitzer. 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 missing synchronisation in the Mali driver between fence destruction during device teardown and asynchronous fence signalling in the event thread.

Impact

The GPU process crashes on every run and the full device reboots on about half of runs; the reporter suggests code execution in the GPU process could follow if the freed fence were reclaimed, but this was not demonstrated.

What the attacker needed

Chrome with WebGPU enabled; ARM Mali GPU device; victim opens a crafted page; no flags or permissions needed

How it was found

  1. Serve the proof-of-concept page over local HTTP.
  2. Open the page in Chrome on the affected Pixel device.
  3. Wait roughly 20 to 25 seconds while the page stresses the GPU.
  4. The Chrome GPU process aborts on a destroyed mutex.
  5. The GPU fault spreads to system UI processes.
  6. system_server crashes and the device reboots.

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 graphics driver keeps shared bookkeeping objects, such as a lock used to coordinate threads. The page makes the browser create and throw away graphics devices very quickly, so one part of the driver frees a lock while another part is still trying to use it. That crashes the graphics process, and on this phone the crash can spread to a core system process and restart the device.

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.