Home›Project Zero›Article

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

Jann Horn · Sep 8, 2026

AI summary AI-generated, may contain mistakes

The author describes MAccConc, a set of Linux kernel tools for detecting race condition bugs by tracing memory accesses via KCOV/ASAN instrumentation and injecting delays at specific memory accesses (identified by count-augmented stack traces) to force particular execution interleavings. The tooling includes an automatic tester for all A-B-A interleavings of a test case as well as terminal and GUI interfaces for manually exploring possible thread orderings, with the kernel-side mechanism intended to eventually support race condition fuzzing. The approach draws on ideas from prior work like SKI and sockfuzzer, and relies on a new LLVM SanitizerCoverage feature the author contributed.

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.
  • Keep reading

    Out of respect for the author only the opening is shown here. Read the rest on the original site, or in HorizonReader with highlights, notes and AI help.

    More from Project Zero

    VirtualBox Process Hardening on Windows 2026 Edition: What’s a Single Bit Between Friends?

    AI summaryThe author details CVE-2026-87268, a new bypass of Oracle VirtualBox's Windows process hardening that abuses a .NET Framework assembly-loading fallback: when mapping an assembly as an executable image fails with ERROR_BAD_EXE_FORMAT, the CLR loads it instead as a flat, data-only memory section and executes it, evading image-based verification. By compiling a managed-only AnyCPU assembly, an attacker causes VirtualBox's NtCreateSection hook to return STATUS_INVALID_IMAGE_FORMAT (via VERR_LDR_ARCH_MISMATCH from the architecture mismatch), so the hardening checks are never actually applied. The untrusted assembly can then be loaded into the protected process, for example through a COM hijacking registration in the current user's registry hive, enabling arbitrary code execution.

    Policy and Disclosure: 2026 Edition

    AI summaryGoogle Project Zero is replacing its '90 + 30' disclosure policy with a new 'Full X' policy that discloses vulnerabilities a fixed number of days after reporting—starting at 90 days, then tightening to 60 days in February 2027 and 30 days in January 2028. The change is driven by AI/LLM-assisted discovery and exploitation, which makes patch 'soak time' meaningless and makes faster vendor remediation and reduced patch gaps critical. Most special cases like grace periods are removed, with narrow exceptions for actively exploited in-the-wild bugs, already-public vulnerabilities, and vendor requests.

    Fuzzers vs. AI: Comparing Fuzzilli and BigSleep on JavaScript Engines

    AI summaryProject Zero compared Fuzzilli, a generative JavaScript engine fuzzer, with BigSleep, an LLM-based bug finding system, on Chrome's V8 engine, finding that over six months BigSleep reported slightly more actionable vulnerabilities (45 vs. 37) with roughly 25% overlap in the specific bugs reported. A dedicated experiment re-running BigSleep against historic Fuzzilli bugs estimated the theoretical overlap at around 60%, but either way a substantial portion of vulnerabilities were discoverable by only one approach. The authors conclude that fuzzing and LLM-based agentic analysis remain complementary techniques and recommend vendors employ both to maximize vulnerability discovery before bugs impact users.

    How to fix a bug in a fix

    AI summaryThis article from Project Zero explains why patching vulnerabilities quickly is difficult, noting that while triage and development can be expedited in emergencies, testing and delivery stages are the primary bottlenecks for urgent security fixes. It surveys emergency remediation methods used by large vendors—including feature flags, input filtering, alternate update channels like Android's APEX, and hotpatching—along with their benefits and security risks. The goal is to provide a reference for vendors to implement or improve rapid patching capabilities before they face an actively exploited urgent vulnerability.

    Windows Exploitation Techniques: Dangling COM Object Registrations

    AI summaryThe article describes exploiting CVE-2026-66804, a Windows privilege escalation bug caused by a dangling COM registration for the CrossDevice object, whose server DLL path points to a non-existent file in the user-writable C:\ProgramData directory. Since the original exploitation route via InstallService was fixed, the author abuses custom COM marshaling by sending a crafted OBJREF specifying the dangling CLSID to the Shell Create Object Handler—a SYSTEM COM service without custom marshaling mitigations, which can be started by ordinary users via the CreateObjectTask scheduled task—to load a malicious DLL and elevate privileges. The post also includes a PowerShell script using OleViewDotNet and NtObjectManager to discover other dangling COM server registrations.