Chronos reproduces TOCTOU races and finds incomplete chrony and rpm fixes
Original title: Taking Time Out of TOCTOU: From Race Reproduction to Security Discovery
Effect-only checkers made over 800 false-fixed labels on known-vulnerable builds; Chronos made none and later found leftover package issues.
Chronos separates intervention timing from verdict evidence so declared time-of-check-to-time-of-use races can be reproduced for regression testing, commit bisection, and CI. It enforces hold-attack-release ordering with seccomp notifications on stock Linux, and uses ptrace and a KVM guest gate at instruction sites. On known-vulnerable builds it avoided more than 800 false-fixed labels produced by effect-only checkers, and all 27 historical bisections recovered the expected boundaries. The same specifications later uncovered incomplete fixes in chrony and rpm and a Debian rpm package its tracker listed as fixed.
Unconfirmed: The paper does not give CVE identifiers, versions, or exploitation status for the chrony and rpm findings.
- All 17 syscall-held cases and four of six instruction-held cases were labeled both ways.
- Two kernel cases remain one-sided.
- The runc masked-path bisection used seven held trials, including endpoint checks.
- Fixed retry and Git Bayesect took median 475 and 398 natural launches.
Impact: Incomplete TOCTOU fixes remained in chrony, rpm, and Debian rpm.
| Product | Affected |
|---|---|
| chrony | — |
| rpm | — |
| Debian rpm | — |
From the original article
1 min read at arxiv.orgTime-of-check-to-time-of-use (TOCTOU) races are hard to reproduce and lost races can make vulnerable programs look fixed. We present Chronos, a framework that separates intervention timing from verdict evidence and builds reusable one-trial security regression oracles from declared races for deterministic reproduction, commit bisection and CI.
By Hasnain Naeem · arxiv.org
A short excerpt; the article and its images belong to the publisher. Summary, key facts and assessment above are AI-written from the article and can be wrong.