← Lab /Systems

Chronos reproduces TOCTOU races and eliminates false-fixed classifications

Chronos can deterministically reproduce declared TOCTOU races and correctly label vulnerable versus fixed builds without false-fixed errors

Systems arXiv 16 Nov 2026 Method Prototype evidence Threat model

Published as “Taking Time Out of TOCTOU: From Race Reproduction to Security Discovery”

Why it matters

Practitioners can reliably detect and bisect TOCTOU bugs in CI pipelines with a single deterministic test, dramatically reducing the cost of regression testing for container runtimes.

Summary

Chronos turns TOCTOU race reproduction into a deterministic single-trial regression oracle, achieving 100% detection of the vulnerable condition versus only 30% success without it. By freezing time with seccomp user-notification, it holds the use syscall until the attacker’s change completes, making the race window effectively unbounded. The paper demonstrates this on four container-runtime TOCTOU bugs, showing 100/100 vulnerable runs detected and correct fixed labels, while natural runs succeed in only 603/2,000 attempts. Evidence is strong across 1,999 held trials and multiple runtimes, though some cases remain indeterminate or one-sided.

What they found 1

  1. Chronos achieves 100% detection of the vulnerable race condition versus 30% natural success.

    “With the hold, the swap redirected the mount to a canary directory in all 100 runs of the vulnerable version.”

Caveats 3

  • Chronos labeled one vulnerable, with the sanitizer’s report on the held object, and 20 indeterminate, with no matching free observed during the hold.
  • One-sided: the fixed side cannot be labeled
  • Chronos held the declared call in 1,999 runs and labeled 1,937 of them vulnerable or fixed. The remaining 62, case D’s two controls (Table 2) and 60 runs of six stress cases, such as signals and a killed supervisor, were designed to end indeterminate.

What’s new here 4

  • Provides a single-trial oracle for TOCTOU races using a syscall hold engine.
  • Introduces Race Specifications that encode the use, attacker change, and outcome evidence.
  • Enables reliable bisection and CI testing with one held trial per commit.
  • Detects incomplete fixes across multiple container runtimes and distribution packages.

Threat model stated by the source

Adversaryattacker who can perform renameat2(EXCHANGE) or bind-mount swaps against a victim container
Capabilitycan trigger the race but cannot hold the use syscall
Assumesthe test controller can hold the use via seccomp user-notification; the attacker cannot interfere with the held use