Skip to content
agentusehub

Find a Linux vulnerability hidden for 23 years

An account of Claude Code uncovering a long-standing vulnerability in Linux.

Time saved
Not reported
Setup time
Not reported
Running cost
Not reported
Cost range
Not reported

Use case overview

An account of Claude Code uncovering a long-standing vulnerability in Linux.

Reported experience

  1. What they did

    Nicholas Carlini, a research scientist at Anthropic, ran a short script that looped over every file in the Linux kernel source. For each file, it told Claude Code it was in a CTF, hinted the bug was in that file, and asked it to write its most serious finding to an output directory. Humans then had to validate the results.

  2. How it went

    Claude Opus 4.6 found several remotely exploitable kernel bugs, including an NFS heap overflow from 2003. Five fixed or reported vulnerabilities are listed. Older models found only a small fraction of these.

  3. Worth knowing

    Validating the findings by hand is the bottleneck: Carlini has several hundred unreviewed crashes. He won't send maintainers unverified reports, so most findings are still unreported.

Example prompts

Try with Claude Code
In my local checkout of [open-source project or kernel subsystem] at [path], review the code in [directory or module] for memory-safety or logic bugs that could be security vulnerabilities. For each suspected issue, give the file, line, why it's a problem, and how to confirm it safely in a test environment. Finished means a ranked list of findings, and don't make changes or report anything publicly without asking me.
Coding · Advanced
  1. Write migration plan
  2. Agent edits in batches
  3. Tests per batch

Ship a 40-file refactor with a coding agent

Plan, execute and review a cross-cutting refactor in small batches, with Claude Code making the edits and GitHub Copilot reviewing each PR.

Claude Code · GitHub Copilot
Coding · Advanced
  1. Run coverage
  2. Pick 3 riskiest files
  3. Write + run tests

Generate missing unit tests for untested modules

Claude Code reads your coverage report, picks the riskiest untested modules and writes unit tests that pass, one small PR at a time.

Claude Code · GitHub Copilot · Slack