Linux kernel now allows AI-generated code, as long as you take "full responsibility" for any bugs

PC Guide
Linux kernel now accepts AI-generated code with human review and full submitter responsibility for bugs.

Summary

The Linux kernel has updated its guidelines to permit the inclusion of AI-generated code, provided it undergoes thorough human review and certification. Submitters are required to take "full responsibility" for any bugs or issues arising from this code. While AI coding assistants can be used, they are explicitly forbidden from adding "Signed-off-by" tags, as only humans can legally certify the Developer Certificate of Origin (DCO). The human submitter must review the AI code, ensure licensing compliance, add their own "Signed-off-by" tag, and take ultimate accountability. Submissions should also include an "Assisted-by" tag to identify AI-generated content, specifying the AI agent name and model version, and potentially the specialized tools used. This development coincides with the release of Linux 7.0, which, according to Linus Torvalds, has also benefited from AI tools in identifying bugs and corner cases, suggesting this may become a common practice.

(Source:PC Guide)