Have an agent fix a bug in core system code
Linus Torvalds let Claude Code write a fix for part of the Linux system core; The New Stack reports reviewers then found a timing bug in it.
Done with Claude Code
What they did
According to The New Stack, Linus Torvalds, who leads Linux, let Claude Code fix a problem in how Linux keeps file data in memory. The change then went through the usual review by other Linux developers.
How it went
The New Stack reports that reviewers found a timing bug in the fix, where two tasks running at once can clash. The captured page gives no further detail.
Worth knowing
Even with a top expert involved, an agent-written fix to delicate core code had a hidden timing bug that got past first approval. Human review caught it.
Try it yourself with Claude Code
Look at [file or subsystem] in [repo] and propose a fix for [bug description]. Before writing code, explain the concurrency model and which locks protect the data you touch. After the fix, list every possible race or ordering problem you can think of, write tests or stress cases that would expose them, and run them. Show me the diff and your race analysis and wait for my review before committing.
Swap the highlighted [parts] for your own details.
Source: Hacker News · shinjitsu · Oct 15, 2026
Written with AI assistance from the original post and checked against our editorial guidelines. Results are as reported by the source, not independently verified.