Forgot your password?
typodupeerror
AI Programming Linux

Linux Maintainers Can Now Submit AI-Generated Code Without Declaring It (xda-developers.com) 86

Linux maintainers "have ruled that people no longer have to declare their LLM usage," reports XDA Developers, "as Torvalds himself calls a ban on AI 'utterly stupid.'" The first part of this story comes via a message sent to the Linux mailing list. It announces one of the major changes decided during the Maintainers Summit on October 8, 2026, in Prague, Czechia, where submissions to the kernel no longer need to use the "Assisted-by" tag... meaning that people can submit AI-generated code without needing to declare it as such.

In some correspondence regarding concern about this new disclosure removal, the creator of Linux, Linus Torvalds, made his thoughts known... [Torvalds] compares an AI ban to getting rid of text editors, as doing so would prove that someone could write a good commit message without making any mistakes. He then rounds off his argument by asking, "Do you not see how UTTERLY STUPID those kinds of rules would be?" and stating that he simply expects the people working on the Linux kernel to "understand what they are doing."

Here's the last line of Torvalds' post. "Quite honestly, in my experience, the people I respect and call intelligent are not the ones that shy away from using new and interesting tools."

In a related story, Torvalds says he's used AI to help him understand patches that were hard to follow. And this week Torvalds even posted an LLM-assisted patch, reports Tom's Hardware: The development branch purports to fix an old issue with massive cache contention when many CPUs are reading the same file — a scenario potentially encountered when using shared libraries, databases, and web servers. Several developers had already made attempts over the years at fixing the issue, all with varied results, none quite ideal as an all-encompassing solution... He's now posted his solution in a development branch, and claims that he's seen a 23x performance improvement in a dedicated synthetic benchmark, though he notes that actual real-world impact will be far less significant, as "no real load" will witness those figures.
Torvalds used Anthropic's Claude Code, reports The New Stack, and "said the assistant wrote the implementation, tests, and initial documentation, and reviewed the code under his direction. He ran the benchmarks himself, despite having previously criticized developers for claiming AI writes 99% of their code." Tuesday Torvalds submitted a 10-patch series.

"Reviewers have since identified a race condition and raised concerns about memory reclamation," adds The New Stack. "Torvalds has handed further development to Kiryl Shutsemau, a Linux kernel developer who previously worked on the same bottleneck."

Linux Maintainers Can Now Submit AI-Generated Code Without Declaring It

Comments Filter:
  • I'm sure a chainsaw is interesting but you wouldnt use it to slice your bread. It has to be the right tool and while current AI can write code it often has subtle bugs which the AI user wont have a clue about but might have avoided if writing the code himself.

    • Wizards have been using generative AI assistance since the mid 2000s. Finance professionals have been automating work since the 1960s. Folks have been using compilers instead of writing machine code for decades.

      Outsourcing the non-value adding parts of the work to automation wonâ(TM)t hurt the folks who put time into learning and knowing what theyâ(TM)re doing. Where this could be impactful is for folks who donâ(TM)t know what theyâ(TM)re doing and are unwilling to put in the effort to g

      • by dfghjk ( 711126 )

        "Outsourcing the non-value adding parts of the work to automation wonâ(TM)t hurt the folks who put time into learning and knowing what theyâ(TM)re doing."
        What parts of coding are "non-balue adding parts"?

        "Where this could be impactful is for folks who donâ(TM)t know what theyâ(TM)re doing and are unwilling to put in the effort to get good."
        Like you as reflected in this post?

        • In my experience, most of the value in good software development is creates before a line or code is written. Itâ(TM)s in the specifications, getting the business logic right, asking the right questions, designing a good architecture, etc. which AI is not even close to becoming good at.

          Even modestly competent developers should not be threatened by AI. But even the best coders are replaceable as has been seen in the past few years.

      • Generative ai didnt exist outside of theory books in the mid 2000s. HTH

    • You would if you were a tyrannosaurus Rex, https://www.youtube.com/watch?... [youtube.com]
    • I am not happy with the death of coding as a occupation and hobby. But using a decent model it can write some pretty hardy tests into a reusable harness and often delivers better than average code when it comes to maintainability. Having a comprehensive test suite is like a few lines of prompting. Do that over the next 100 commits and there are a lot few bugs and the AI itself flails around less making changes on your sturdy foundation.

  • Banning AI, especially in source code, would be a nightmare to track.

    There's no way to see if a file in ascii was written by AI, or written by a human.

    There's going to be a lot of people condemning him for this, but there's a world of difference between using AI to help your work, research and do the tedious stuff, and using AI to vibe code without knowing what you're doing.

    The best use for AI is doing drudge work and finding needles in haystacks.

    The genie isn't going back in the bottle no matter how much a

  • Its not the same torvalds using an LLM than silly me with my 99 IQ calling myself kernel vibecoder, gatekeeper slayer....

    • His LLM code ended up sucking even though he tried to test it, so it might actually level the playing field.

      Not in the way most people would hope for, but still.

  • by gunnarstahl ( 95240 ) on Saturday October 17, 2026 @03:49PM (#66380102) Homepage

    Decades after inventing one of the most influental and important operating systems he destroys it within a couple oft days. Like burning rome to the ground.

    AI is about to destroy society as we know it. Not in a good way, like disrupting things for the better, which is sometimes necessary.

    No, people already start giving away their independence and their ability to learn new things and 'lets simply ask ChatGPT'. The very thing that made us go forward, the curiosity to learn new things, the will to endure the frustration to fail until you finally get it (whatever 'it' is) is not slowly but within months erased. 'Just ASK ChatGPT' is the new mantra. Don't know how to code? Use Claude. Give decision making to an AI and everything will be fine. Great.

    My first distro was SuSE Linux 4.4.1, the last one I used despite my Raspis was Devuan (since I am pretty skeptical ofe systemD, yes I know the Raspis use it). So today marks a sad day.

    • by dfghjk ( 711126 )

      Torvolds did not invent linux, he copied it from existing work. And linux would be nothing without AT&T and their lawsuits, linux succeeded by accident. Kids these days.

      "No, people already start giving away their independence and their ability to learn new things and 'lets simply ask ChatGPT'. "
      Never ONCE heard someone say that, no doubt someone has but I deal with people post-puberty.

      • And here I thought Linux isn't Unix. But now the grognards tell me it is just a copy that didn't contribute anything new on its own.

        I would like to go on record that operating systems existed before Unix. Many of them had file handles and process isolation too. Most of them were much more complicated than the first three versions of Unix. Designed for nicer and more profitable hardware.

        • by PCM2 ( 4486 )

          And here I thought Linux isn't Unix. But now the grognards tell me it is just a copy that didn't contribute anything new on its own.

          Well, it wasn't Unix. But it was inspired by Minix, a widely-taught teaching operating system that Torvalds decided to make into a thing you could use every day.

    • In seeing posts from other people saying they the code they have written is above average in quality. With the amount of code generated most people are not reading it, and to truly understand it you often have to piece it together yourself.

      Most projects nowadays people are not really reading the code, and I have a hard time not thinking that it won't happen to Linux development.

      Models like deep seek most likely have Chinese backdoors. The kind where specific phrases trigger the black logic. The US models

  • by Grady Martin ( 4197307 ) on Saturday October 17, 2026 @04:05PM (#66380118)

    As usual, Torvalds' philosophy is pragmatic. I more or less agree with the gist: Look at the code, not where it came from.

    Also as usual, certain details have been swept under the rug—chiefly that Torvalds' only significant vibe-coded contribution to the kernel thusfar was a ten-patch modification to page-caching that was promptly rescinded when other maintainers pointed out a race condition hidden in Claude Code's verbose output. [thenewstack.io] Torvalds ultimately dumped the mess onto human coder Kiryl Shutsemau's lap.

    This raises an important, obvious question.

    • If you listen to what Torvalds says he actually doesn't make AI sound all that impressive. Like he goes down about that guitar pedal software he had it make but points out that it wasn't any better than what he did himself maybe even worse. But if you ignore the results he seems to think it's the bee's knees.
      • by Jeremi ( 14640 )

        But if you ignore the results he seems to think it's the bee's knees.

        As they say, what's remarkable isn't that the dog plays a good game of poker; it's that the dog is able to play poker at all.

      • by AmiMoJo ( 196126 )

        The AI code I've seen and generated isn't nearly as good as human code, but that doesn't mean it is worthless. If I'm creating a script or little app for hobby stuff, to do one very specific task, I can either spend my own time on it and probably over-engineer the thing, or I can get AI to crap out something that basically works. So I decide based on if I think I will enjoy writing the code, or if I just want to get on with the other parts of the hobby and remove one manual process that is a slog.

        Companies

      • > If you listen to what Torvalds says ..

        Linus Torvalds [thenewstack.io]: “AI is a great new tool, but it’s a tool, and when I see people saying, ‘Hey, 99% of our code is written by AI,’ I literally get angry, because those same people — I can pretty much guarantee — that 100% of their code is written by compilers. But they never say that.”
    • Since there is no way to reliably identify code that was generated by AI, this is really the only pragmatic solution.
    • by dfghjk ( 711126 )

      How dare you identify the failure being claimed as success!

    • > .. certain details have been swept under the rug—chiefly that Torvalds' only significant vibe-coded contribution to the kernel thusfar was a ten-patch modification to page-caching that was promptly rescinded when other maintainers pointed out a race condition hidden in Claude Code's verbose output. [thenewstack.io] Torvalds ultimately dumped the mess onto human coder Kiryl Shutsemau's lap.

      Perish the thought that the lead kernel maintainer would collaborate with other developers /s
      --

      “
  • I can't wait to see the comments on this. The few are already posted are providing good entertainment.

  • As much as I dislike Megacorp-powered AI for coding... these declarations of usage are either unenforceable, or they will create too much friction and witch hunts (in already a ... temperamental community). So, it's a pragmatic decision, the way I see it. But the contribution volume needs to be seriously controlled, otherwise they'll validate Antropic's Scion approach.

    • I agree with your conclusion, but the problem isn't that the community is "temperamental." It's that programmers are generally emotionally immature and have low general intelligence. Including Linus. Absolutely a software genius, but every time he tries to argue a controversial point he makes an apples to oranges comparison and then uses it as a straw man, while thumping the table, calling people stupid, and declaring absolute unquestionable victory.

      There's just no way for any of them to be good at enforcin

  • Copyright (Score:5, Interesting)

    by LainTouko ( 926420 ) on Saturday October 17, 2026 @04:24PM (#66380140)
    Isn't the biggest problem here that you have no idea whether what comes out of an LLM is or contains a copy of something from the training material that you didn't want to be including a copy of, at least according to some legal systems? It's possible to get around that, for example here by having a LLM which is only trained on GPLv2-compatible code, but I doubt that describes "Claude".
    • by dfghjk ( 711126 )

      No, that's not the biggest problem if it is a problem at all.

      "... but I doubt that describes "Claude"."

      Or even a viable LLM.

    • Re:Copyright (Score:4, Interesting)

      by Tailhook ( 98486 ) on Saturday October 17, 2026 @06:07PM (#66380228)

      Indeed. LLMs are like a cryptocurrency tumbler for intellectual property. It is a metaphysical certitude that, sooner or later, a major legal challenge is going to happen with Linux and/or other open source software collections from some rent seeking copyright holder(s) due to AI contributions. Linus is taking a real risk here.

      May you live in interesting times. Whatever outcome emerges from the forthcoming years long legal processes will set profound precedents.

      I predict this won't actually start with Linux, however. It will be Adobe. There is a cottage industry of Photoshop clones being created with LLMs. Adobe is going to take someone to court over this.

    • by Meneth ( 872868 )
      Not a problem for Torvalds; he doesn't care about copyright or software freedom.
    • by allo ( 1728082 )

      The "problem" is that the output may be public domain. But if you add public domain code to "viral" GPL code you end up with a GPL product. So who cares?

      • You certainly can't rely on it being public domain with 100% confidence, since it's possible to use a language model to make an exact copy of any electronic file you want. Unless copyright is completely dead. And Linux is used in many countries. Do you expect them all to have the same idea? I'm not sure if even the concept of a "public domain" is universal.
        • by allo ( 1728082 )

          I see your argument for someone "one-shotting" a tetris game as benchmark (even though this shows much diversity for most models). But if you load a Linux file and then ask the LLM to check all memory allocation and let it implement the suggested safeguards you can be pretty sure that this code never existed before. Its the different between asking for "Write me a story", asking for a story by explaining in two strong paragraphs what it should be about, and asking an LLM to help you to refine your story so

    • Yes. The question whether people are allowed to use AI for every aspect of kernel development is different to the question of transparently declaring use of outside material (the model). I understand the reasoning for deciding on the former, but not for the latter. Now we will no way to tell.

      The comparison to compilers, checkers and editors is not a good one for copyright and intellectual attribution.

    • by gweihir ( 88907 )

      Exactly. Linus is creating a potentially catastrophic legal problem here. And he does so after the GCC folks have clearly explained the problem. Stupid. Or maybe he is getting old and does not care that much anymore.

  • till he gets flooded with slop pull requests..

  • I agree, nonetheless I value my YouTube AI blocker extension very dearly.

  • (a) What's the harm in labeling AI generated code as such, and
    (b) How difficult is it to do so, especially as the code is generated?

    Knowing who and/or what created/edited the code can probably be helpful later.

    • Re:Counter point (Score:4, Insightful)

      by martin-boundary ( 547041 ) on Saturday October 17, 2026 @06:17PM (#66380230)
      Even Google is desperately developing fingerprinting tech to try and label AI slop from non-AI content before training. Why would they do that? Because they know model collapse is a real issue for them.
    • by allo ( 1728082 )

      Think about it down the road after ten more patches. Can you really say the line is AI code, when much code around it was human changed? If the line would not have been there the human would have added it as human line. So why label it AI, when there is no "fair" label whose line it is? Git blame is a tool, but no good source of truth for copyright or attribution.

    • it has been decided I think that tagging language that is not unique to the instance is counterproductive. the argument that AI agents copy code will be killed forever, and by the way if they do or not is irrelevant since most people do in my opinion, once the argument is killed the only people left to oppose it are the people using it and telling others not to.

  • Linus has a radical stance on these things. Just like he says "No special treatment for security bugs, because we fix ALL bugs", he now says "No special treatment for AI commits, we scrutinize ALL commits". Who cares if your commit is slop because the AI is stupid or because you are stupid? It is merged, when it is good code, and Torvalds shouts at you if it is bad code.

    • by gweihir ( 88907 )

      The problem is not with code quality. The problem is with copyright and license. They are currently falling into a potentially deadly trap, same as anybody that accepts LLM generated code.

  • There's no reason to trust unreviewed code.
  • by hadleyburg ( 823868 ) on Saturday October 17, 2026 @08:29PM (#66380350)

    Caution is required, as it is with any submission to the Linux kernel, but I think it's sensible for Linus to be open to the idea (albeit with his guns-ablazing turn of phrase).

    At the other extreme, we need to be careful of the knee-jerk reaction of writing off all AI generated code as "slop". Sometimes this can be no more than a sort of "signalling". If I label code as "slop" I am really just letting you know that I am a programmer at a level that can discern such things... even if I am not. (Since feeling I need to let you know betrays an insecurity).

    In my limited experience, AI can generate good code, particularly for small, well defined cases. And even when the first draft is not good enough, you can refine the requirements and get it to improve the code. Just as you might with a human.

    • At very best the LLM output is not actually copyrightable but it is being distributed as if it were GPLv2 and it's fraudulent to distribute on that basis. At worst it actually carries copyright from contributors and it will have to be removed and replaced later. Any project allowing AI code contributions is creating a minefield. It is just an absolute dogshit plan to accept them for this reason alone and I absolutely hate that this is happening to Linux.

      • by gweihir ( 88907 )

        Exactly. If you allow LLM generated code in your project, you may lose it completely. Suddenly it may be under a different license, or, worse, several different ones. And your ownership and original license may be gone. The GCC folks understand that catastrophic risk. It looks like Linus does not or does not want to deal with it. That does not work and is an exceptionally bad idea.

        The absolutely very least and lowest level of caution would be mandatory tagging of all LLM written code. Because with that you

      • At very best the LLM output is not actually copyrightable but it is being distributed as if it were GPLv2 and it's fraudulent to distribute on that basis. At worst it actually carries copyright from contributors and it will have to be removed and replaced later. Any project allowing AI code contributions is creating a minefield. It is just an absolute dogshit plan to accept them for this reason alone and I absolutely hate that this is happening to Linux.

        That's an interesting point. I can see how companies might register this as a risk, and avoid it on that basis, even if the legal conclusions have not yet arrived.

        To clarify, when you describe LLM output as copyrightable, are you implying the copyright holder is the LLM provider, or the owners of the original training data?

        In discussions of copyright on this topic, the theme is usually a complaint about LLMs being trained on data created by humans, without the permission of those humans. They might have a c

        • "To clarify, when you describe LLM output as copyrightable, are you implying the copyright holder is the LLM provider, or the owners of the original training data?"

          To clarify, nobody knows yet! But I do mean the owners of the original data. It's not actually been decided whether their copyright can apply to code produced by LLM which was trained on it, and until it has been, at the VERY MINIMUM the AI code should be required to be labeled. Not doing so is willfully pretending this is not an unsettled legal

  • AI has patterns of growing pull requests. While it would be nice if Linux can buck the trend, I do not believe you can force human beings to verify code they have not written. Part of the iterative process of coding is verifying things work the way you think they do as you add it.

    There is also the niceness of knowing what you are looking at before getting into a a PR. When you know you are possibly looking at slop before looking at it, the pain if being stabbed in the back is much better. Though I guess

  • This story makes no sense. They decided people no longer have to declare they're using AI, and then justify it by saying banning AI would be stupid? What do those have to do with each other? Banning AI is totally different from requiring people to say they've used it. Objecting to the first has nothing to do with objecting to the second.

    Yes, I read the original story. It's just as confused as the summary. Does someone know what actually happened?

  • by ndykman ( 659315 ) on Saturday October 17, 2026 @11:17PM (#66380476)

    This makes little sense to me. It's not a huge burden to declare you used LLM tools. It is a acknowledgement that the code was generated from tools that have used sources that are not attributed nor provide primary sources for the derivative works they create.

    My bias is that all the major LLMs have abused the notion of fair use to an completely unreasonable degree. It's a stretch from allowing academic teaching and research to exist to making all the monies for some tech startups.

    It would be different if these tools were indeed freely available for non-commercial and research purposes, but that's literally too expensive to do.

    Linux, a project whose success is directly tied to the GPL-2 license and the protections it afforded is now just shrugging it's shoulders and saying why even bother just noting that code came from a tool that inhaled everything out there, because it's useful?

    That's just lazy.

  • It was good for as long as it lasted.

    No good can come from using AI on such a big code base as the Linux kernel.

  • I'll steer clear of the code attribution/copyright questions. That's too complex for my brain. I'll also steer clear of the fact that one should understand the code they submit. That's obvious, surely.

    What I'm primarily confounded by is Linus's "AI is a programming tool like a compiler is" analogy. I first heard him make it here [youtu.be] (the video starts where his remark does). His recent mailing list email seems to be an extension of that line of thought of his, together with the "editors are programming tools too

    • by gweihir ( 88907 )

      An LLM is not a compiler or a valid step between specification and code, unless you put a lot of safeguards and extra effort in place. First, an LLM comes without specification of what it will do. The Language specification a compiler is based on is critical for it to be useful at all. Otherwise you have no reliable idea what the compiler will do with some input and things may change without warning. For an LLM, this is even worse: Things may change between one run and the next and things may change an enti

  • Not because of patch quality, the quality gates on the kernel are fine. It is a really bad idea because of copyright. Depending on how the copyright battle in the courts goes, this may seriously taint the kernel and removal of the tag may make cleanup impossible.

    Shows that Linux, unfortunately, does not understand the legal angle.

Don't compare floating point numbers solely for equality.

Working...