Linux creator is “pissed off” over AI bug fixes, says AI companions should get their act together
Linus Torvalds says AI bug fixes can introduce new problems.

Image by Krd via Wikipedia/Illustration by Cybernews
- Linus Torvalds criticized a Linux pull request containing over 41,000 lines of mostly AI-generated fixes.
- He warned that bug fixes can introduce new problems, especially when added late in development.
- Torvalds said AI-assisted development and tests should happen on a separate branch before merging.
- He remains open to AI tools for learning and small projects but rejects careless code submissions.
Key Takeaways by nexos.ai, reviewed by Cybernews staff.
A big EXT4 pull request for the Linux 7.4-rc5 kernel prompted its creator, Linus Torvalds, to voice his concerns about AI-generated code.
The pull request included over 41,000 lines of code presented as fixes and was made in the second part of the Linux 7.4 cycle.
However, the vast majority of the code in this pull request was AI-generated bug fixes. Although Torvalds accepted and merged it, he expressed his irritation on the kernel mailing list.
Torvalds said he didn’t think it was appropriate at the current stage to write the bulk of the new lines by adding KUnit tests, which, according to the veteran developer Theodore Ts’o, makes it safer to validate AI-generated patches.
Stay updated with our latest stories and follow us on social media
Be the first to discover new stories, ideas, and updates from our team.
The Linux creator said he accepted the changes “despite serious reservations and some bad conflicts,” but would ignore it the next time.
“Stop thinking that you – or AI – never add bugs when you fix something,” he wrote.
Torvalds said he was “pissed off,” bashing the developer for thinking that thousands of insertions cannot introduce new problems.
If the bugs were subtle things that have been around for a while without being detected by AI, the fixes by definition are fixing something subtle and rare that nobody has noticed until now,Linus Torvalds, creator of Linux
The Linux creator urged the developer to stop “this kind of idiocy.”
Torvalds’ response reads, “And tell your AI companion to get its act together, and do any new development and test cases ON A SEPARATE DAMN BRANCH, so that it can be merged during the MERGE WINDOW.”
“AI as a gateway drug”
Torvalds, a veteran software engineer behind the Linux operating system and Git, version control system, is well known for his strong opinions about writing code and AI.
Initially a generative AI skeptic, describing the industry as “90% marketing and 10% reality” in October 2024, Torvalds said a year later that he became "fairly positive" about vibe coding, but only for people learning to code.
In early 2026, Torvalds insisted that LLMs are just tools, and that the risks of slop code won’t be solved by documentation.
Curious what others think about this story? Contribute your thoughts to the debate below.
“Because the AI slop people aren’t going to document their patches as such. That’s such an obvious truism that I don't understand why anybody even brings up AI slop,” he wrote in a thread.
Later that year, speaking at the Open Source Summit Europe, Torvalds described vibe coding as “a wonderful way to find joy in programming” because it allows new developers to do things they would otherwise find difficult.
He spoke about “the concept of AI as a gateway drug,” adding that he uses the technology for his own toy projects.