Linux Kernel Maintainer Linus Torvalds Rebukes EXT4 Pull Request for Merging 41,000 Lines of AI-Generated Fixes During Release Candidate Phase
Linus Torvalds publicly criticized the merging of a massive pull request containing AI-generated fixes and tests during the Linux 7.4 release candidate phase, emphasizing that such changes violate stability rules.
Linus Torvalds, the creator of the Linux kernel, has publicly rebuked a large EXT4 file-system pull request intended for the Linux 7.4-rc5 kernel. The pull request contained over 41,000 lines of new code, primarily consisting of AI-generated bug fixes and expanded KUnit test coverage designed to validate future AI contributions. Torvalds expressed serious reservations about accepting this volume of changes during the release candidate (RC) phase, which is traditionally reserved for stabilizing the kernel rather than introducing significant new code or extensive testing infrastructure.
In his remarks on the kernel mailing list, Torvalds stated, "Honestly, I don't think this was appropriate for this stage. You should have kept your tests in a separate branch for your testing, and done this huge update for the next merge window." He challenged the notion that any change labeled as a "fix" automatically qualifies for inclusion during the RC period. Torvalds argued that if bugs are subtle enough to remain undetected by existing tools until now, the fixes themselves carry a high risk of introducing new problems. He emphasized that the presence of release candidates exists precisely to calm down development and ensure stability, not to accommodate large-scale automated updates.
The incident highlights growing tensions in open-source governance regarding the influx of AI-generated code. While previous discussions focused on the sheer volume of AI patches overwhelming maintainer review capacity, this case illustrates a specific conflict between AI-driven contribution speed and established kernel development protocols. Torvalds warned maintainers to "STOP THINKING THAT YOU - OR AI - NEVER ADD BUGS WHEN YOU FIX SOMETHING," and instructed them to keep new development and test cases on separate branches until the official merge window opens. Although he ultimately merged the pull request despite these objections, he issued a stern warning that future similar submissions may be ignored.