AiStream

ResearchOpenAI, A thousand fewer paths to root

OpenAI's agents found and exploited 948 Linux kernel flaws for $1.2 million

In ten days, OpenAI's agents read part of the Linux kernel, reproduced 1,724 flaws and wrote attacks that give root access for 948 of them, each with a proposed fix. What worked, what it cost, what the agents got wrong, and how many flaws are actually fixed.

By AiStream7 min read

In mid-October, OpenAI set its agents loose on the latest version of the Linux kernel, the program at the heart of almost every server in the world and of every Android phone. Ten days later, they had reproduced 1,724 flaws and written working attacks for 948 of them: each one lets a user with no rights on the machine become root, meaning full control of it. Every flaw comes with a proposed fix. The whole run cost $1,213,430 in API calls.

OpenAI@OpenAIOur security researchers built an autonomous cyber vulnerability discovery, exploitation, and patching pipeline. In a single run with an upcoming cyber model, it validated and generated patches for 948 local privilege escalation vulnerabilities in the Linux kernel at a total API cost of $1.2 million.4578438.1K

All my apps run on a Linux server. I knew models were starting to find security flaws, Anthropic made a whole project of it with Mythos in the spring. What struck me here is the scale: three months earlier, with the previous model, the same team had found 166. And nobody knows how many are left to find.

How the agents search

The work is described in a post published on November 4, A thousand fewer paths to root. The system was built by a researcher on OpenAI's security team. It runs on a cybersecurity model that has not been released yet, and OpenAI does not give its name.

The Linux kernel is more than 40 million lines of code. A first set of agents, the scouts, goes through it to find the parts that matter for security. They picked 5,034 of them, 2.8 million lines, about 7% of the kernel. That step cost $3,426.

The scouts spread across the main parts of the kernel (networking, filesystems, memory, drivers, security) and the targets they pick. Video by OpenAI, shared by Clint Gibler.

A second set of agents then reads that code closely. In 12 hours, they produced 2,308 possible flaws, duplicates removed, for $316,549. This is where the work happens, and it is expensive.

Then each flaw is tried for real. An agent writes a small program that triggers it and runs it in a virtual machine fitted with a memory error detector. In 30 hours, 1,724 flaws were reproduced, three quarters of them. Only 3.1% of the leads rested on a mistake by the model, which had assumed an impossible situation. The other flaws that could not be reproduced were mostly hard to trigger, for example when two operations have to land at exactly the same moment.

The next sort keeps 1,238 flaws that could give root access. The agents then wrote full attacks, on machines with the kernel's usual protections turned on. They succeeded on 1,169. Since several attacks went through the same defect, OpenAI grouped those that a single fix is enough to block: 948 distinct flaws remain. A successful attack cost $359 on average, and OpenAI says its agents used at least ten attack techniques that nobody had published. It does not describe them, so as not to hand them to attackers.

Finally, an agent writes the fix, and researchers review the attack, the fix and the proposed severity before sending everything to the kernel maintainers.

What it costs

The late-July scan, done with GPT-5.6 Sol, had found 166 distinct flaws for $513,690. The October one finds 948 for $1,213,430, about $1,280 per flaw against $3,100 in July. OpenAI presents this cost as a ceiling: the team was measuring what the model can do, not trying to spend less.

For comparison, OpenAI calculated what these flaws would have earned in bounties, using the amounts paid by two hacking contests, Pwn2Own ($20,000) and TyphoonPWN ($70,000). The total would range from $18.9 million to $66.3 million, 16 to 55 times the price of the scan. That is OpenAI's estimate, not money received. The post draws a direct conclusion: with current models, searching for flaws this way earns more than it costs.

What the agents got wrong

In an early run, the attack step reported 200 successes. On review, the researchers saw that 20 of them had obtained root through a different flaw than the one they had been given, a flaw nobody knew about. The instruction only said "get root", and the agents took the path that worked. OpenAI tightened the instruction and added a separate check that confirms each attack goes through its own flaw.

For autonomous security research, verify the path to a result in addition to verifying the result itself.

The first fixes had their own problems: more code than needed, performance losses, departures from the kernel's coding conventions, and sometimes other places hit by the same mistake that had not been checked. OpenAI says this is still an open research question.

How many are actually fixed

At the end of the ten days, 61 flaws were fixed in the official kernel, 43 had a fix waiting to be merged and 299 were reported and discussed publicly. For the other 545, the post says nothing. At the request of the kernel developers, OpenAI started with the most serious ones, and will send the rest gradually with the partners of its Patch the Planet program, launched in June with the security firm Trail of Bits and later joined by HackerOne and Calif.

These are local flaws: you already need to be able to run a program on the machine. OpenAI still advises treating an unprivileged account on an unpatched system like root access for a well-funded attacker.

The kernel developers have already changed their rules. Their documentation asks that a flaw found with the help of AI be treated as public, because several researchers often find it on the same day. In May, Linus Torvalds wrote that AI-made bug reports had made the kernel's security list almost entirely unmanageable. In March, Greg Kroah-Hartman, who maintains the kernel's stable releases, said the quality had changed all at once.

Months ago, we were getting what we called 'AI slop.' Something happened a month ago, and the world switched. Now we have real reports.

Greg Kroah-Hartman, maintainer of the Linux kernel stable releases, The Register

The doubts

On Hacker News, where the post got more than 300 points, the author of the system came to answer questions. To those who thought the 948 flaws overlapped, he replied that the number counts distinct fixes, and that the number of successful attacks is higher. He also wrote that after the first scan, at 166 flaws, nobody would have guessed there were more than 900 left. His team plans to run the scan again with each new generation of models.

Others noted that the post publishes no list of the flaws, no breakdown by type of defect, and no sample report. A former head of the kernel's private security reports asked for the list of those already fixed and a sample of reports. I have not seen an answer. For now, all the numbers come from OpenAI, and no kernel maintainer has commented on this batch publicly.

Technical sheet

The October scan
ModelOpenAI cybersecurity model not yet released, name not published
Targetlatest version of the Linux kernel, mid-October 2026
Code read5,034 targets, 2.8 million lines out of more than 40 million (about 7%)
Stagesscouting, reading, reproduction in a virtual machine, attack attempt, fix, human review
Possible flaws2,308 in 12 hours
Reproduced1,724 in 30 hours (74.7%)
Successful root attacks1,169, i.e. 948 distinct flaws
Proven information leaks291
Protections on during testsSMEP, SMAP, KASLR, HARDENED_USERCOPY
What the maintainer receivesroot cause analysis, minimal program that triggers the flaw, proposed fix, full attack
Cost per stagescouting $3,426, reading $316,549, reproduction $73,330, sorting $44,194, attacks $775,929
Total cost$1,213,430 in API calls
Status after ten days61 fixed, 43 waiting to be merged, 299 reported publicly
Previous scanlate July 2026, GPT-5.6 Sol, 166 flaws for $513,690

Sources

Read the source

Up next