# Google Project Zero's MAccConc tool automatically tests race conditions in the Linux kernel

Original title: Testing race conditions with mem access tracing and stack-based delay injection

> Hacker News story 49620760 · language: en · submitted 2026-09-09
> Web version: https://zeli.app/story/49620760
> About this feed: https://zeli.app/llms.txt · Agent guide: https://zeli.app/skill.md

▲ 18 · by [mfrw](<https://news.ycombinator.com/user?id=mfrw>) · 💬 1
[original](<https://projectzero.google/2026/09/maccconc-race-condition.html>) · [HN discussion](<https://news.ycombinator.com/item?id=49620760>)

## Summary

Google Project Zero released MAccConc, a toolset for exploring interleavings of multi-threaded Linux kernel test cases. It traces memory accesses via KCOV and ASAN instrumentation, identifies them with count-augmented stack traces, and injects delays through a new ioctl to force specific orderings. The package includes an automatic A-B-A tester, a terminal UI, and a GUI. A demo shows it discovering a surprising dup(5) result when racing dup and close.

## Key quote

> Many security bugs are race conditions, where multi-threaded execution has to occur with the right interleaving for a negative effect to appear.

---

## Cite

- Page: https://zeli.app/story/49620760
- Date: 2026-09-09
- Source: projectzero.google (https://projectzero.google/2026/09/maccconc-race-condition.html)
- Hacker News: https://news.ycombinator.com/item?id=49620760

## Other languages

- zh: https://zeli.app/zh/story/49620760 · markdown: https://zeli.app/zh/story/49620760.md
- ja: https://zeli.app/ja/story/49620760 · markdown: https://zeli.app/ja/story/49620760.md
- ko: https://zeli.app/ko/story/49620760 · markdown: https://zeli.app/ko/story/49620760.md
- de: https://zeli.app/de/story/49620760 · markdown: https://zeli.app/de/story/49620760.md
- es: https://zeli.app/es/story/49620760 · markdown: https://zeli.app/es/story/49620760.md
- ru: https://zeli.app/ru/story/49620760 · markdown: https://zeli.app/ru/story/49620760.md
