Linux kernel now allows AI-generated code, as long as you take “full responsibility” for any bugs
Table of Contents
Recently updated guidelines for the Linux kernel tell us that AI-generated code is now being accepted into the open-source project, provided it is properly reviewed and certified by a human. This means the submitter takes full responsibility for the content – if it’s causing problems, then you may expect some backlash coming your way, and rightfully so.
Programming is one area of artificial intelligence that is continually advancing, and AI code is increasingly commonplace these days. Like with any other use of AI, though, it remains controversial and is something that can waste the time of code reviewers, as we found out recently following complaints from maintainers of the Godot game engine, who labeled some commits “AI slop”.
Guidelines on AI coding assistants for the Linux kernel
AI agents MUST NOT add Signed-off-by tags. Only humans can legally certify the Developer Certificate of Origin (DCO). The human submitter is responsible for:
Source: The Linux Kernel documentation
- Reviewing all AI-generated code
- Ensuring compliance with licensing requirements
- Adding their own Signed-off-by tag to certify the DCO
- Taking full responsibility for the contribution
To us, this sounds like common sense. The fact that it is written in black and white just makes it clear. Humans must sign off on the code, and submitters “should include” an Assisted-by tag to clearly identify when AI-generated code is being submitted to the kernel. Attribution guidelines state that the agent name (AI or framework) and model version must be stated within the submission. On top of that, users may want to specify the exact “specialized analysis tools” used for generating the code.
Latest tech deals.
- AMD Ryzenâ„¢ 9 9900X 12-Core - was $499 now $328
- CORSAIR 4000D PC Case - was $124.99 now $75.99
- Hisense 65" Class E6SR - was $549 now $377.99
- Apple 2026 MacBook Air - was $1,999 now $1,799
- Skytech Gaming PC Desktop (9850X3d) - was $4,299 now $3,799
- Apple Magic Mouse - was $79 now $59
- MSI Prestige 16 Flip - was $2,149 now $1,899
- Kotin 9700X Gaming PC - was $2,399 now $2,199
Prices correct as of October 9th, 2026.
Linux 7.0 has also been released by Linus Torvalds, with help from AI
These changes to the AI code guidelines were spotted not long before the release of Linux 7.0. The new version release is hardly a groundbreaking update in terms of its content, but obviously a notable one as we move on from the previous 6.19 kernel. Linux 7.0 promotes Rust support to stable, introduces performance optimizations, and adds early support for AMD Zen 6 and Intel Nova Lake. It also ships with improved security and a self-healing XFS filesystem.
In any case, in the official release announcement for Linux 7.0, over on the Linux Kernel Mailing List, Linus Torvalds (creator and lead developer of the Linux kernel) also touches on the use of AI tools for contributions. Referring to “lots of small fixes” in the release, he notes that AI tools are being used to identify bugs.
I suspect it’s a lot of AI tool use that will keep finding corner cases for us for a while, so this may be the “new normal” at least for a while. Only time will tell.
Anyway, this last week was a little bit of everything: networking (core and drivers), arch fixes, tooling and selftests, and various random fixes all over the place.
Linus Torvalds, via LKML.org