Impresiv, AutomationImpresiv
DocumentationCommunityBlogPricingMCP
Sign in
    BlogDeveloper News

    Developer News

    Linus Torvalds slams an AI-heavy ext4 pull: 41,197 added lines, mostly tests, landed mid-release, and he warns AI fixes can add new bugs

    Kernel maintainer Theodore Ts'o sent a pull request with a huge number of mostly AI-generated fixes and 41,197 insertions. Linus Torvalds merged it with 'serious reservations' and a public warning.

    IImpresiv Team
    November 28, 2026 4 min read Updated November 29, 2026
    Linus Torvalds and Jim Zemlin speaking on stage at LinuxCon North America in Toronto in 2016. Archive photo by the Linux Foundation, CC BY 2.0, not from this week's events

    A routine pull request for the Linux kernel's ext4 file system turned into a public warning about AI-written fixes. On November 24, maintainer Theodore Ts'o sent Linus Torvalds the ext4 updates for 7.4-rc5. According to the pull request text, the diffstat showed 68 files changed, 41,197 insertions and 621 deletions. Ts'o wrote that the bulk of the new lines were KUnit tests, "which makes it safer to validate AI generated patches," and that the request included "a huge number of bug fixes, most of which were AI generated."

    What was in the pull

    The request listed fixes for fast-commit replay, for checking the result of cache-flush calls in ext4 and jbd2, for the EXT4_IOC_MIGRATE ioctl (including data loss for some long contiguous ranges), for out-of-bounds reads and writes on corrupted file systems, and for several use-after-free and deadlock bugs. It also included three modest performance changes and a long list of new tests for files across fs/ext4. These details come from Ts'o's own description in the pull request text. We have not independently verified which fixes were produced with AI tools, and the request does not say which tools were used.

    Torvalds' reply

    In the Linux kernel mailing list thread, Torvalds wrote that he did not think the pull was "appropriate for this stage," and that the new tests should have stayed on a separate branch for the next merge window. He called the idea that "anything that is a fix goes in -rc" bogus. He said he took the pull "despite serious reservations" and some bad conflicts, and that next time he would "just ignore it."

    His sharpest point was about AI. He wrote, in capitals, "STOP THINKING THAT YOU - OR AI - NEVER ADD BUGS WHEN YOU FIX SOMETHING." His reasoning, in his words: if bugs were subtle things that had gone undetected for a while, then fixing them means touching something subtle and rare, "and that makes the fixes possibly buggy." He also asked Ts'o to tell his "AI companion" to put new development and test cases on a separate branch so they can be merged during the merge window. The message also contained strong language that we are not repeating here.

    Ts'o answers, and the merge stands

    Ts'o replied that the tests were already on a separate branch and that he had put them at the end of the request on purpose, so he could drop them easily if Torvalds objected. He offered to send a revised pull without the tests and save them for the merge window. Torvalds answered that he did "kind of object," but that he had already done the merge and did not think it was worth undoing. He asked Ts'o to check that he had resolved the conflicts correctly, adding that the test resolutions looked obviously correct to him but that he had not run any of them. The kernel's pull-request tracker bot recorded the merge on November 25.

    The wider debate

    The episode is already circulating in developer circles. The EveryDev.ai weekly digest says the batch included "many AI-generated fixes," that thousands of the added lines were tests, and that the real question for reviewers is whether it is the right time to take a change at all. The same digest cites a LeadDev survey of 377 engineers in which 68% said they do not always know which changes need a closer look, and a working paper estimating that time from submission to merge grew 56.1% after firms adopted coding agents. Those figures come from the digest's summary of other studies, and we have not checked the originals.

    What to watch next

    Watch whether the ext4 changes cause regressions before 7.4 ships, whether other maintainers adopt a separate branch rule for AI-assisted work, and whether the kernel community writes down a formal policy for AI-generated patches. Also watch whether the test suite is run in earnest during the coming weeks, since Torvalds said he had not run it himself.

    Why it matters

    Linux runs most of the world's servers, phones and cloud infrastructure, so how it handles AI-written code sets an example for every software team. The lesson from the maintainer in charge is not that AI fixes are bad. It is that a fix is still a change, and a change needs time to be tested. Teams that let coding agents open large batches of patches should expect the same question about timing and review. This article summarizes public mailing-list messages and a third-party digest, and it is not engineering or security advice.

    Cover image: Linus Torvalds speaking with Jim Zemlin at LinuxCon North America in Toronto, 2016, photo by the Linux Foundation, CC BY 2.0, via Wikimedia Commons. Archive photo, not from this week's events.

    linux
    linux-kernel
    linus-torvalds
    ext4
    ai-generated-code
    code-review
    open-source
    Share this article

    Stay ahead

    Ship less glue code with Impresiv.

    Wire APIs, webhooks and AI agents together visually — and skip the boilerplate.

    Start building free See pricing

    On this page

    17%
    • What was in the pull
    • Torvalds' reply
    • Ts'o answers, and the merge stands
    • The wider debate
    • What to watch next
    • Why it matters
    Impresiv, AutomationImpresiv

    Less repetitive. More Impresiv.

    Get the mobile app

    Download on theApp StoreGet it onGoogle Play

    Product

    • Documentation
    • Pricing
    • MCP
    • Blog
    • Community

    Compare

    • n8n vs Impresiv
    • Zapier vs Impresiv
    • Make vs Impresiv

    Contact

    • support@impresivai.com
    • +6285136538145
    • Schedule a call

    Legal

    • Privacy
    • Terms
    • Refund

    © 2026 Impresiv. All rights reserved.

    Indonesia

    Impresiv