Linus slams AI-generated kernel patches: "stop thinking you — or AI — never add bugs"

wavefnx · x · 2026-11-26

The attached email shows Linus Torvalds angrily replying to Theodore Ts'o, who merged a huge -rc5 update with 41,197 insertions of KUnit tests meant to make AI-generated patches safer to validate. Linus blasts the "anything that is a fix goes in -rc" logic, warns "STOP THINKING THAT YOU — OR AI — NEVER ADD BUGS WHEN YOU FIX SOMETHING," notes that fixes for subtle bugs AI never detected are themselves possibly buggy, and demands AI development and test cases go on a separate branch for the merge window.

The poster's point: even a Linux kernel veteran trips up with agent workflows, while JavaScript drop-shipping bros tell you not to look at the code because agents "get it."

Related event: Linus Torvalds Slams 41,000-Line AI-Generated Kernel Patch(3 posts)→

Original post →

More from coding & agent

coding & agent channel →