Return to Threats

Testing race conditions with memory access tracing and stack-based delay injection

googleprojectzero.blogspot.com 2026-09-08 AI supply chain Medium

Executive Summary

Project Zero describes testing race conditions using memory access tracing and stack-based delay injection.

What Happened

Many security bugs are race conditions, where multi-threaded execution has to occur with the right interleaving for a negative effect to appear. This creates challenges for several use cases: Confirming bug candidates that have been discovered manually or through static analysis. Regression tests: After fixing a race condition bug, there is often no good way to write a regression test that reliably triggers the bug as part of a test suite. Automatic bug discovery, such as fuzzing: It is hard for a fuzzer to exercise all interesting interleavings of concurrent operations, or reach code paths that are only exercised when operations are racing.

Vulnerability / Attack Technique

Not applicable (research technique)

Technical Mechanism

Testing methodology.

AI Security Category

Not AI-specific

RealGround Analysis

Research methodology.

Recommended Controls

  • No action required

Related RealGround Service

AI Agent SBOM and LLM Mapping · or start with the free AI Agent Security Scanner.

Sources

googleprojectzero.blogspot.com: https://projectzero.google/2026/09/maccconc-race-condition.html

Summary and analysis written by RealGround from the source above; last updated 2026-10-18.

Talk to AI CISO