Skip to content
Featured on Startup Fame

Linus Torvalds Rips Into 41,000-Line Linux Update, Blasts AI-Generated Code

Linus Torvalds, the creator of Linux, exploded at a 41,204-line pull request for the Linux 7.4-rc5 kernel, singling out AI-generated code and insisting on proper testing. He merged the update but warned he won’t tolerate a repeat.

Editor, Lazyfounder

Published 3 min read
Linus Torvalds Rips Into 41,000-Line Linux Update, Blasts AI-Generated Code
Image: Screendshot by ZDNET via source

KEY HIGHLIGHTS

  • Linus Torvalds rejected a 94-commit pull request for Linux 7.4-rc5 that added 41,204 lines of code across 68 files.
  • The pull request came from Theodore Ts’o, a veteran ext4 maintainer and Linux kernel developer since 1991.
  • Torvalds merged the request despite his objections but vowed to ignore future incidents of this kind.
  • He demanded that AI-generated code be developed and tested on a separate branch before submission.
  • Ts’o apologized and offered to revise the pull request if Torvalds objected.

What Set Off Torvalds

The pull request landed late in the release cycle for Linux 7.4-rc5. It included 94 commits that added 41,204 lines across 68 files—far too large for a release candidate phase, which Torvalds reserves for bug fixes. He didn’t hold back: "Yes, I’m pissed off. Why the hell people have such a hard time understanding such a simple concept is hard to understand."

Theodore Ts’o, the veteran maintainer of the ext4 file system and a Linux kernel developer since 1991, submitted the update. Torvalds made clear that such bulk changes belong in the merge window, not weeks later.

Why AI Became the Target

Torvalds zeroed in on AI’s role in the pull request. "AI-generated code is like any other—it doesn’t get a free pass," he wrote. "Develop it on a separate branch, test it there, and only then submit it."

He later added, "AI is a tool, just like other tools we use. And it’s clearly a useful one." But he slammed the idea that AI-generated changes could skip the usual vetting process, especially late in the release cycle. His message: AI is no excuse for sloppy development.

The Maintainer’s Response

Ts’o quickly apologized. He acknowledged the pull request was too large for the RC phase and offered to drop the tests if Torvalds objected. "I should have known better," he conceded.

Torvalds accepted the apology but didn’t soften his stance. He merged the request but warned that future violations would be ignored. "STOP THINKING THAT YOU – OR AI – NEVER ADD BUGS WHEN YOU FIX SOMETHING," he wrote, leaving no room for ambiguity.

A Hard Line on AI and Testing

Torvalds himself uses AI to write kernel code, but he draws a firm line: every change, AI-generated or not, must be thoroughly tested before submission. "The problem isn’t AI," he wrote. "The problem is people thinking AI means they can skip testing."

His frustration reflects a broader tension in open-source development. As AI tools become more common, maintainers face a flood of untested or half-baked submissions. Torvalds’ warning is clear—responsible use isn’t optional.

What this means

Lazyfounder analysis — our interpretation, not reported fact.

This clash forces developers to rethink how they use AI in open-source projects. Late, untested pull requests—even from trusted contributors—now carry a real risk of rejection, wasting hours of work. For teams relying on AI, the message is simple: build and test on separate branches, or risk getting shut out.

Key takeaways

  • Late, large pull requests risk outright rejection, no matter who submits them.
  • AI-generated code must be tested on separate branches before submission.
  • Torvalds’ warning signals a crackdown on untested AI submissions in critical projects.

Sources

  1. ZDNET · 2026-11-30
    Linus Torvalds loses it over a 41,000-line Linux kernel ‘fix’ – then merges it anyway

This story is an original summary drafted with AI by Lazyfounder from the reporting listed above and checked by automated validation. Facts are attributed to their original publishers; sections marked as analysis are Lazyfounder's. Where a source is in another language, facts were machine-translated and quotations are reported, not reproduced. Read the original coverage via the links, and see our AI policy and corrections policy.

About the author

Editor, Lazyfounder

Tarun Mottlia edits LazyFounders, covering Indian startups, funding rounds, AI and product launches. Every story on the site is AI-assisted and checked against its cited sources before publication.

More stories by Tarun Mottlia

Get the LazyFounder Brief

Startup, funding and AI news in a five-minute read. Join the early-access list.

Lazy Founder - Powered by Blogy.in

Contact us

Have a story tip, correction or partnership idea?

Write to us at tarun.kumar@blogy.in or talk to the founder directly. We read every message.

Contact us