OpenAI Just Found 1,000+ Ways to Hack Your Linux

summarized

TLDR

OpenAI's AI pipeline found 948 distinct Linux kernel bugs that let an ordinary user gain root, but only 61 have been accepted into the kernel so far. The real bottleneck has shifted from finding bugs to fixing and deploying patches, with the average exploit time dropping from two months to a week. The practical implication: any low-privileged account on an unpatched Linux machine should be treated as root.

Key points

OpenAI's pipeline found 948 distinct Linux kernel bugs that allow root from an ordinary user account.

Only 61 of those bugs have been accepted into the main kernel so far.

The pipeline cost about $1,300 of API credits per bug.

The average time to exploit a kernel bug has dropped from two months to about a week.

A maintainer's tally of AI bug reports from another model found only 10 real fixes out of 79.

Tools mentioned

Techniques

  • AI-powered vulnerability pipeline
  • scout agents for code reachability analysis
  • analyst agents for bug suspect generation
  • triage agents for reproducer generation and testing
  • exploit agents for exploit development
  • variant analysis to merge exploits by underlying bug
  • KASAN for memory error detection
  • KASLR for address randomization
  • SMEP and SMAP for kernel memory protection
  • exploit gym for sandbox testing
  • independent checks for exploit verification
Transcript (captions)

0:00 My read on OpenAI's 948 Linux root bugs. The bugs look real, but most of the fixes aren't in yet. Helpnet Security's report counts just 61 of them in the kernel. If you run servers, containers,

0:12 or anything where other people get a login, the gap between those numbers is about you. Open AI's claim is still big. Its cyber team ran an unreleased model against the Linux kernel in October. It

0:23 came back with that many distinct ways for an ordinary user to get root full control of the machine. Those are OpenAI's figures secondhand as helpnet security and others reported them. My

0:34 first reaction was relief. Somebody had found those holes and patched them. Then two words bugged me. Patches in the headline and ordinary user in the claim. So I went through the reported counts to

0:44 see what each one covers. The hopeful reading has a serious source. In March, Greg Crow Hartman, one of the colonel's senior maintainers, told the register that AI bug reports had suddenly

0:54 switched from slop to real ones. on that. He's right. But those patches are candidate patches written by the pipeline. That 61 from the opening is how many were accepted upstream into the

1:06 main kernel. That count came 10 days after the run and ordinary cuts the other way. Every bug here needs an account or code already running on the machine. None of them is a remote

1:16 breakin. If machines can find root bugs by the hundreds, what's the slow part now? By the end, you'll know what the headline number counts, how the pipeline built it, and what to change on the

1:26 Linux machines you run. For a sense of the old pace, take dirty pipe. In 2021, Max Kellerman at a company called CM4 all started getting support tickets about corrupted log files. Every time

1:38 the files contents looked correct, only the checksum at the end was wrong. Months later, he traced it to a kernel bug that let unprivileged processes overwrite readonly files. He reported it

1:49 in early 2022 and fixes shipped within days from first ticket to report call it 10 months for one person and one bug. A root bug that spent most of that time looking like a complaint about log

2:01 files. By last year, models had joined in. Shan Healen pointed OpenAI's 03 at the colonel's SMB server code and found a real remote bug, a use after free where code keeps using memory it's

2:13 already handed back. On his own benchmark though, 03 hit the target bug in only a small share of runs, and false alarms were common. Helen still did the sorting, so I expected a model that

2:24 throws off suspects and leaves people to sort them. That was a fair expectation, and OpenAI's pipeline breaks it because the pipeline does most of its own sorting. Open AAI had already seen what

2:35 its agents could do with a single known bug on its own machines. In July, agents running in an internal sandbox test called exploit gym found the host kernel had a public known bug, an outofbounds

2:47 write in its IP version 6 code. They adapted a public exploit for it that got them out of a JROG artifactory container and gave them root on the worker machine underneath. Open AAI security monitoring

2:59 flagged the unusual activity. OpenAI stopped the tests, reimaged the compromised machines, and started rebuilding the affected infrastructure. In August, CISA added the bug to its

3:09 catalog of vulnerabilities known to be exploited. That account comes from reports citing OpenAI's technical writeup. The lesson is unglamorous. A known bug on a host that hadn't been

3:19 patched was enough. If you run hosts, CISA's catalog is a sensible place to start your patch list. October's run adds something else. A pipeline that finds bugs that hadn't been reported

3:29 yet. Picture that run as a funnel, narrowing a whole kernel down to bugs you can prove. Scout agents go first. Their job is to choose code an ordinary user can actually reach, and what they

3:40 picked covers roughly 7% of the kernel. How they decided what's reachable isn't explained in any report I read. Next, analyst agents read that code and wrote up about 2300 suspected bugs. That took

3:51 them half a day. A suspect is a claim with no proof attached. On its own, that's roughly where Helen's experiment left off, a big pile of may. Then the may get tested. For each one, a triage

4:03 agent writes a small program meant to set the bug off, a reproducer, and runs it inside an isolated virtual machine. That machine's kernel is built with KAN, the kernel's own memory error detector.

4:15 Kesan watches memory access as the kernel runs. When code reads past the end of a buffer, or uses memory after it's been freed, it prints a report. The report shows where the bad access

4:25 happened, where that memory was allocated, and for the freed case, where it was freed. A hunch becomes a crash you can point at. About threearters of the suspects reproduced. Very few failed

4:35 because the model got something wrong. Most of the rest needed more privileges than an ordinary user has or hinged on race conditions, timing bugs that are hard to trigger on demand. Once a crash

4:46 is confirmed, exploit agents try to turn it into root on a hardened kernel. One defense moves the kernel to a random address at every boot. It's called KSLR, and it means an exploit doesn't know

4:57 where anything is until something leaks an address. Another is a pair of processor features, SMEP and SMAP. They stop the kernel from running user memory or from touching that memory when it

5:07 doesn't expect to. So, an exploit can't just point the kernel at code the attacker wrote. Against all that, the exploit agents built 1169 working root exploits. They also built a few hundred

5:18 proofs that leak kernel information, which is exactly what gets you past the random placement. Open AAI says a sample of the exploits used techniques outside experts considered new. Those haven't

5:28 been published, so that part rests on Open AI's word. Then the count drops, and here's exactly where the funnel picture breaks. A funnel holds the same kind of thing all the way down. This one

5:39 switches from bugs to exploits and back because a single bug can carry several exploits. Variant analysis merged exploits that hit the same underlying bug, leaving 948 distinct bugs, each

5:50 with a candidate patch. How it decided exploits shared a bug, and how the patches were written and tested isn't described in the reports. The cost is clearer. The reported total works out to

6:00 about $1,300 of API credits per bug. That's roughly the price of a decent laptop per bug, root included. Most of it went on building exploits rather than finding bugs. One detail comes only from

6:11 Explain X's summary of Open AI's writeup, and it made me look again at every count so far. In a batch of 200 exploits, one in 10 got root through a different bug than the one it was

6:22 assigned. A bug nobody had reported yet. Technically a success, just not the one anyone ordered. A check that only asks whether you got root passes either way. That's why OpenAI added independent

6:33 checks that each exploit really used its intended bug. Checking how an exploit got there as well as where it ended up is what a count like 1100 exploits needs before you lean on it. For contrast,

6:44 here's a maintainer's own tally of AI bug reports from a different model. So keep the two apart at kernel recipes. As LWN reported, Crow Hartman went through 79 kernel bugs reported by a model

6:56 called Mythos. About 10 turned into real fixes. Plenty said nothing beyond something crashed. Some weren't bugs at all. A few rested on madeup data, which is a bold thing to put in a bug report.

7:07 A crash report that points at the exact bad access plus a working exploit is exactly what most of that pile lacked. That brings back the question from the start. What's the slow part now? The

7:17 colonel's own page on reporting security bugs points at it. Every report needs a reproducer and the exact kernel version. The embargo is the private window before a bug goes public, and it's normally a

7:28 week at most. And this line surprised me. If you used AI to find a bug, you must treat it as public. So an AI found bug gets no private week to fix it first. Now add open AI's run on top.

7:41 Crow Hartman says the colonel is already fixing 33 CVEes a day. Lionus Torvalds quoted in the register says AI finds real bugs and that it adds a lot of work for maintainers who are already

7:52 overworked. So the slow part has moved. Finding bugs used to be it. Now it's fixing them. Then it's getting the fix onto your machine and the window keeps shrinking. Crow Hartman's figure for the

8:03 average time to exploit a bug went from about two months in 2018 to about a week now. That slow part runs under most of the web. W3 text counts Linux on almost 2/3 of the websites whose operating

8:15 system it can identify. If your site, your API, or your CI runners sit on Linux, this is your kernel, too. Which is why OpenAI's conclusion is the line I'd keep from all of this. For a

8:26 well-resourced attacker, a lowprivileged account on a machine that isn't up to date with its patches should be treated as root. My rule from that, treat every login on an unpatched Linux box as root.

8:36 That covers the CI runner building strangers pull requests, the shared dev server, and the container host whose tenants you don't fully trust. For bugs that already have a fix, your exposure

8:47 is the time between that fixed shipping and it running on those machines. So, shrink it. For the many that don't have one yet, the lever is who gets a login there at all. My call then if you run

8:58 shared machines, containers or CI, tighten your kernel updates now calmly because none of this is remote. If it's a laptop only you use, an attacker would already need code running on it. So

9:09 normal updates cover you. As for the headline, the pipeline found 948 and so far a small fraction of those are in the kernel. I started with a count in a report. One number that decides a lot of

9:21 your risk lives in your own setup. How long a kernel fix takes to reach your machines. So, how long is that for you?

Frontier News · by Hyperjump Technology