{"id":394147,"date":"2026-04-12T02:56:09","date_gmt":"2026-04-12T02:56:09","guid":{"rendered":"https:\/\/www.newsbeep.com\/ie\/394147\/"},"modified":"2026-04-12T02:56:09","modified_gmt":"2026-04-12T02:56:09","slug":"the-linux-kernel-now-allows-ai-written-code-but-youre-on-the-hook-for-it","status":"publish","type":"post","link":"https:\/\/www.newsbeep.com\/ie\/394147\/","title":{"rendered":"The Linux kernel now allows AI-written code, but you&#8217;re on the hook for it"},"content":{"rendered":"<p>                    Summary<\/p>\n<p>                                        Linux allows AI-generated kernel code, but the community will treat it as your own contribution.<\/p>\n<p>                                        AI tools can&#8217;t add signed-off-by tags; you must certify DCO, license, and review all code.<\/p>\n<p>                                        If your AI code breaks the kernel, the blame stops with you; review the code carefully or face the consequences.<\/p>\n<p>In a world where AI code is entrenched within people&#8217;s workflows, developers of all walks of life have had to draw a line somewhere. Some places will outright ban AI code, while others will fully embrace it, and each side has its advantages and disadvantages. Well, it turns out that the world of Linux has finally agreed upon where AI code fits within kernel development. Turns out, it&#8217;s totally fine if you submit AI-generated code to the kernel; however, if something goes wrong with it, it&#8217;s on your head. No pointing the finger at Claude Code this time.<\/p>\n<p>        <img width=\"440\" height=\"364\" loading=\"lazy\" decoding=\"async\" alt=\"These 5 Gnome extensions instantly improved my Linux workflow - featured\" data-img-url=\"https:\/\/www.newsbeep.com\/ie\/wp-content\/uploads\/2026\/04\/these-5-gnome-extensions-instantly-improved-my-linux-workflow-featured.jpeg\" src=\"https:\/\/www.newsbeep.com\/ie\/wp-content\/uploads\/2026\/04\/these-5-gnome-extensions-instantly-improved-my-linux-workflow-featured.jpeg\"\/><\/p>\n<p>                    Related<\/p>\n<p>\t\t<a href=\"https:\/\/www.xda-developers.com\/gnome-cracking-down-ai-generated-code-extensions-guidelines\/\" title=\"GNOME is cracking down on AI-generated code after updating its extensions guidelines\" target=\"_blank\" rel=\"nofollow noopener\"><br \/>\n\t\t\tGNOME is cracking down on AI-generated code after updating its extensions guidelines<br \/>\n\t\t<\/a><\/p>\n<p class=\"display-card-excerpt\">The reviewers have had enough.<\/p>\n<p>                        Linux kernel contributors can use AI-generated code, but with caution<\/p>\n<p>            It&#8217;s essentially treated like it&#8217;s the contributor&#8217;s own code<\/p>\n<p>        <img width=\"1650\" height=\"1104\" loading=\"lazy\" decoding=\"async\" alt=\"A laptop showing the Steam library page for the game Call of Juarez: Gunslinger\" data-img-url=\"https:\/\/www.newsbeep.com\/ie\/wp-content\/uploads\/2026\/04\/1775962569_513_steam-game-on-linux.jpg\" src=\"https:\/\/www.newsbeep.com\/ie\/wp-content\/uploads\/2026\/04\/1775962569_513_steam-game-on-linux.jpg\" class=\"img-brightness-opt-out\"\/><\/p>\n<p>As spotted by the folk over at <a href=\"https:\/\/news.ycombinator.com\/item?id=47721953\" rel=\"noopener noreferrer nofollow\" target=\"_blank\">Hacker News<\/a>, there&#8217;s new documentation over on the <a href=\"https:\/\/github.com\/torvalds\/linux\/blob\/master\/Documentation\/process\/coding-assistants.rst\" rel=\"noopener noreferrer nofollow\" target=\"_blank\">Linux GitHub project for coding assistants<\/a>. The document reveals that people can use AI-generated code, as long as it complies with the guidelines for submitting to the Linux kernel, fits within the license Linux uses, and is attributed to the bot correctly.<\/p>\n<p>So, does that mean you can attach your favorite LLM to the kernel, let it code away, and head out for the day? Well, not quite. While AI agents can now submit code to the kernel, the documentation makes it very clear that, if anything does go wrong, you cannot simply get out of trouble by blaming your assistant:<\/p>\n<p>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:<\/p>\n<p>                                        Reviewing all AI-generated code<\/p>\n<p>                                        Ensuring compliance with licensing requirements<\/p>\n<p>                                        Adding their own Signed-off-by tag to certify the DCO<\/p>\n<p>                                        Taking full responsibility for the contribution<\/p>\n<p>That last bullet point is the real bombshell. You are, essentially, submitting the AI&#8217;s code as if it were your own. If it ends up being a buggy mess and Linus himself gets mad, your head is going on the block. So, feel free to use AI code when contributing to the Linux kernel, but make sure you understand what, exactly, it&#8217;s coding, else you&#8217;ll likely not be contributing to Linux for much longer.<\/p>\n<p>        <img width=\"440\" height=\"364\" loading=\"lazy\" decoding=\"async\" alt=\"Claude code \" data-img-url=\"https:\/\/www.newsbeep.com\/ie\/wp-content\/uploads\/2026\/04\/claude-code.jpg\" src=\"https:\/\/www.newsbeep.com\/ie\/wp-content\/uploads\/2026\/04\/claude-code.jpg\"\/><\/p>\n<p>                    Related<\/p>\n<p>\t\t<a href=\"https:\/\/www.xda-developers.com\/claude-md-helping-your-projects-is-myth\/\" title=\"Stop using CLAUDE.md; here&#039;s what actually works for AI-assisted development\" target=\"_blank\" rel=\"nofollow noopener\"><br \/>\n\t\t\tStop using CLAUDE.md; here&#8217;s what actually works for AI-assisted development<br \/>\n\t\t<\/a><\/p>\n<p class=\"display-card-excerpt\">Do you really need custom context files for every repository?<\/p>\n","protected":false},"excerpt":{"rendered":"Summary Linux allows AI-generated kernel code, but the community will treat it as your own contribution. AI tools&hellip;\n","protected":false},"author":2,"featured_media":394148,"comment_status":"","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6],"tags":[61,60,80],"class_list":{"0":"post-394147","1":"post","2":"type-post","3":"status-publish","4":"format-standard","5":"has-post-thumbnail","7":"category-technology","8":"tag-ie","9":"tag-ireland","10":"tag-technology"},"_links":{"self":[{"href":"https:\/\/www.newsbeep.com\/ie\/wp-json\/wp\/v2\/posts\/394147","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.newsbeep.com\/ie\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.newsbeep.com\/ie\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.newsbeep.com\/ie\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.newsbeep.com\/ie\/wp-json\/wp\/v2\/comments?post=394147"}],"version-history":[{"count":0,"href":"https:\/\/www.newsbeep.com\/ie\/wp-json\/wp\/v2\/posts\/394147\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.newsbeep.com\/ie\/wp-json\/wp\/v2\/media\/394148"}],"wp:attachment":[{"href":"https:\/\/www.newsbeep.com\/ie\/wp-json\/wp\/v2\/media?parent=394147"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.newsbeep.com\/ie\/wp-json\/wp\/v2\/categories?post=394147"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.newsbeep.com\/ie\/wp-json\/wp\/v2\/tags?post=394147"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}