Linus Torvalds Slams 41K-Line AI Patch: 'Stop thinking you — or AI — never add bugs'

lxfater · x · 2026-11-26

Ahead of Linux 7.4's release, ext4 maintainer Ted Ts'o submitted 41,197 lines of new code, including many AI-generated bug fixes and 30K+ lines of KUnit tests. Linus Torvalds responded with an all-caps rant in the merge request thread.

His core argument: the -rc stage is for stabilizing code, and the notion that 'anything that is a fix goes in -rc' is bogus. Bugs that went undetected for a long time until AI found them are by definition subtle and rare — which means the fixes are also more likely to be buggy, whether written by a human or AI.

Linus merged the pull despite reservations, but warned that next time he'll simply ignore it. He asked for large changes and tests to go into a separate branch for the next merge window. Original email: lore.kernel.org.

Original post →

More from coding & agent

coding & agent channel →