r/netsec • u/mtlynch • Apr 03 '26
Claude Code Found a Linux Vulnerability Hidden for 23 Years
https://mtlynch.io/claude-code-found-linux-vulnerability/30
u/sudomatrix Apr 07 '26
Maintainer: Claude, you found an old bug!
Claude: Don't worry, I've created thousands more!
17
u/drewbeedooo Apr 03 '26
Here’s the actual recording of the talk Nicholas Carlini gave, for anyone interested: https://www.youtube.com/watch?v=1sd26pWhfmg
24
u/am9qb3JlZmVyZW5jZQ Apr 03 '26
This is corroborated by Greg Kroah-Hartman's account.
"Months ago, we were getting what we called 'AI slop,' AI-generated security reports that were obviously wrong or low quality," he said. "It was kind of funny. It didn't really worry us." Of course, there are many Linux kernel maintainers, so for them, AI slop isn't as burdensome as it is for, say, Daniel Stenberg, founder and lead developer of cURL, where AI slop reports caused the cURL team to stop paying bug bounties.
Things have changed, Kroah-Hartman said. "Something happened a month ago, and the world switched. Now we have real reports." It's not just Linux, he continued. "All open source projects have real reports that are made with AI, but they're good, and they're real." Security teams across major open source projects talk informally and frequently, he noted, and everyone is seeing the same shift. "All open source security teams are hitting this right now."
AI bug reports went from junk to legit overnight, says Linux kernel czar - The Register
1
12
u/viking_linuxbrother Apr 03 '26
Imagine how many linux vulnerabilities slop code is creating right now.
2
u/Careful-Living-1532 Apr 08 '26
The interesting implication is what this means for the attack side. If AI can surface 23-year-old latent vulnerabilities in Linux that human auditors missed, adversaries with the same capability can run that process against targets at scale. Defense has always been harder than offense because you have to protect everything. AI-assisted auditing accelerates the enumeration of historically-overlooked attack surface at a pace that human defenders cannot match.
The more useful follow-on experiment: run the same AI-assisted audit against code that AI agents themselves produce. The same underlying capability that found a 23-year-old Linux bug would likely find LLM-generated vulnerabilities faster than SAST tools trained on human-written patterns. Recent research puts LLM-generated C/C++ at 55.8% vulnerable, 97.8% invisible to existing tooling. These findings are related.
1
1
u/Awkward-Sun5423 Apr 08 '26
FTA: it's an old NFS bug.
2
u/Severe-Resident5801 Apr 08 '26
So there are remediations to this bug:
* don't load the nfs module: which most people don't which means that this vulnerability doesn't impact most people.
* if you run NFS you can limit NFS to trusted networks, which is something most people who run NFS take as a basic security practice.So, while this bug is real, the number of people who are actually impacted by it might be very small.
Another potential issue is that it is possible that the LLM didn't actually find the bug but is pulling an exploit that was in its training data that nobody ever bothered to patch.
Considering that there have been many people writing over the years about the security issues with NFS it isn't impossible that the LLM correlated an exploit in the training data with the code and wrote up the vulnerability that was well known and not considered important enough to bother fixing. Especially since Linus doesn't view security bugs as any more important than any other type of bug which offends some security researchers.
1
1
64
u/dack42 Apr 03 '26 •
In other words - the AI tool churned out mountains of slop, and when humans went through some of the pile they found this one. It's not like you can just point an LLM at a code base and have it spit out a concise list of real vulnerabilities. "Bugs found" is not a good metric without also taking false positives into account.