The Register Home Page

back to article Linus Torvalds says AI-powered bug hunters have made Linux security mailing list ‘almost entirely unmanageable’

Linux kernel boss Linus Torvalds has declared the project’s security mailing list has become “almost entirely unmanageable” due to multiple researchers using AI to find bugs and then filling the list with duplicate reports. Torvalds used his weekly state of the kernel post to deliver release candidate four for Linux 7.1 and …

  1. DS999 Silver badge

    There's an easy solution

    Create a separate Linux kernel mailing list for issues found by AI, and make it very clear that anyone caught posting AI discovered issues on the main list will be banned and all their contributions to all Linux kernel mailing lists will be forwarded to /dev/null

    They'll have a few volunteers/moderators willing to do the legwork to figure out which are new issues, and forwarding them to the main list.

    1. Anonymous Coward
      Anonymous Coward

      Re: There's an easy solution

      Easier solution: the kernel team deploys these tools themselves, making everything they find automatically redundant when filed by outsiders, unless that outsider also brings the patch as Linus suggests.

      Like it or not, the tools won't be going away. The only long-term solution is procedural change.

      1. DrewPH Silver badge

        Re: There's an easy solution

        Better solution: keep anything AI away from the kernel.

        1. Anonymous Coward
          Anonymous Coward

          Re: There's an easy solution

          They won't, so it might as well be done in an orderly fashion.

          The project doesn't need a bunch of duplicate reports and duplicate token spend by people trying to be helpful.

          The project could make much better used of the money being wasted on duplicate bug reports. If people want to be helpful they should a donation.

        2. Roland6 Silver badge

          Re: There's an easy solution

          Much depends on what you mean by “ keep anything AI away from the kernel.”

          From what I’ve seen, definitely all code changes to the kernel need to have been fully scrutinised by a human, but the use of AI to find issues and to provide resolution assistance may be beneficial, which is effectively what Linus is saying.

          1. Groo The Wanderer - A Canuck Silver badge

            Re: There's an easy solution

            Agreed. I don't use Artificial Ignorance to write or modify code, but I do ask questions and explanations of technology details I'm unsure of from the online tools available without giving them access to my code base.

            If I like their approach/suggestion, I implement it, but within the constraints of my existing code base, which is itself maintained by a rule-based fractal model-to-code tool I've worked on for many years. I don't need AI to author code, I just need it to explain how to do things with modern frameworks and technologies that I didn't gain experience with during my working career (I'm retired and coding away 'cause I enjoy it!)

            It also has the advantage of a 0-token fee. :)

        3. sstroud

          Re: There's an easy solution

          That's really not a fix. AI is very good as spotting security issues in code.

          Sticking your head in the sand isn't a fix. It's clear you are threated by AI and don't like change, but let's not pretend AI isn't useful.

          1. Anonymous Coward
            Anonymous Coward

            Re: There's an easy solution

            I love the way you posted something not only factual, but utterly indisputable, and still have a bunch of downvotes.

            1. You aint sin me, roit Silver badge

              Re: There's an easy solution

              The downvotes were because Linus isn't saying "Don't use AI"

              He's saying, "It's OK to use AI to identify bugs, but if you do please don't just spam the list because others running the same tools will have found the same bugs. If you want to contribute, actually come up with a solution."

          2. Enric Martinez

            Re: There's an easy solution

            That's not what the discussion is about.

            Hence, the downvotes.

            HINT: It's about people posting to mailing lists.

        4. Jou (Mxyzptlk) Silver badge

          Re: There's an easy solution

          This is a performance and "need to talk to my special card" question. So it is a kernel module to load when you have the hardware for it. Was probably even the first OS to go that way since, hey, that is one of the strengths of Linux.

        5. Stephen Samuel

          Re: There's an easy solution

          No. If the bug reports are real -- especially if they are security related -- then they need to be responded to. The real problem here is the duplication. 50 versions of the same (valuable) bug report drown people with wasted time.

      2. VoiceOfTruth Silver badge

        Re: There's an easy solution

        Not sure why you were downvoted. I don't like the idea of AI, but people are going to use it. And if it finds actual bugs, why is that a problem?

        Maybe it is time for a procedural change, as you put it. With so many contributors perhaps it is time for a rethink.

        1. An_Old_Dog Silver badge

          Re: There's an easy solution

          The first problem with drive-by AI-generated problem reports is that the submitter did not check their report against the bug database before submitting it (I do not know, but I presume there is a kernel bug database!), and, if the AI-generated problem report is in the bug database, choosing to not submit that report.

          The reasons I see for this drive-by-ism becoming more common are:

          * Researchers, full professors, associate professors, and grad students see drive-by-ism as an easy way to look good to their clueless institutional and/or funding entities' management.

          * The same groups of people panic, thinking that if they do not perform AI-generated bug report drive-bys, they will look bad compared to Dr. Scumbag Smith who submitted over 100 AI-generated bug reports in a single month. These reluctant drive-by-ers are acting out of self-defense.

          * Some people are aiming to be paid bug bounties.

          * Some people are aiming to receive praise for their 'efforts'.

          * Some people are seeking plausible justification for their self-praise and belittlement of others, i.e., "i found a bug in ur kernel code haha you suxors you're phoolz i rule!!"

          The second problem with, really, (so-called) AI-anything is the enormous amount of resources it consumes, which far-outweigh the benefits it brings. Nobody who knows any better uses an O(n^2) sorting algorithm. AI operations are humongously-more inefficient.

    2. Jou (Mxyzptlk) Silver badge

      Re: There's an easy solution

      That won't help, you'd need extra people ONLY for those lists (or Ai to do so?). Linus is right: Put in some work and don't just blindly send in your AI result. He literally says "Don't be an Aihole", just in nicer words.

    3. I Am Spartacus

      Re: There's an easy solution

      Have an AI on the front of the mailing list. Let it check if the same flaw has already been recorded, and if it has just ignore it, or simply update a reported counter.

    4. Guido Esperanto

      Re: There's an easy solution

      Simply

      Us AI to review the mailbox and identify duplicate bugs submitted by AI

      Ai identifies first unique submission and gives a sticker.

      Then AI updates AI with "bug now known" answer

      All duplicates get filed to /trash

      Ai then congratulates AI on a job efficiently done

      AI then fixes buggy code and releases update

      The cycle begins again.

      Linus sits back with a Long Island Ice Tea.

      /s

    5. SCP

      Re: There's an easy solution

      They'll have a few volunteers/moderators willing to do the legwork to figure out which are new issues, and forwarding them to the main list.

      Sounds like a job for an AI - go through the list of AI submissions collating and summarising those that identify the same issue, prioritising those that proffer a fix, then cross check each issue against the register of known issues and eliminate those from the AI list. Forward remaining issues to the human triage team for further assessment.

  2. Fido

    I don't see an inconsistency between what Linus and Greg have noted. The difference is that the people can read the submissions on the public lists and so the same chatbot doesn't keep submitting the same bug.

    I agree the solution would be to make a separate but still private (write only) list for AI-discovered security bugs. But then have another chatbot read that list and make a summary of the commonly-reported bugs so people don't have to deal with the repetition.

    That would leave the original security list for human-generated bug reports which tend to be unique even if people can't read the other reports.

    1. ttlanhil

      No, Linus is correct

      If it's a security bug found by generally available LLMs - that can be assumed to be public knowledge

      Hence there's no need for a private list - it's presumed public, so public lists are fine

      You could /maybe/ have a generic LLM bug report list, but there's not really much benefit - just ensure anyone submitting the bug report properly documents and checks it's a new report and it's all good

      There is one exception - not generally accessible LLMs. New models that do different security analysis, etc., before they're public

      But those are uncommon and run by people who can coordinate a unified set of reports that don't result in overlap - they can be handled like any other security specialist company

  3. Jou (Mxyzptlk) Silver badge

    "send ... with no real understanding"

    Yeah, that applies not only to the kernel. I have coworkers AI-ing a problem with a possible script solution which works in their test environment, and they truly want to be helpful. But the code looks a bit weird, strangely unoptimized and overly complex to the need. Sometimes, as a more recent example, a simple adjustment to the "Get-WinEvent" query speeds up things by more than a factor five, and a few other things reduce memory usage to less than a tenth. And things like a local object-cache hashtable reduces repeated AD-queries, which speeds up again a lot.. And suddenly the PS-script does not need 14 GB RAM until windows nukes the process, or is done with the job in less than ten minutes instead of several hours.

    There are places where AI-ing can take off work, like UI stuff including interactive graphics for your data or script, and that code looks better than the above mentioned examples.

  4. Bebu sa Ware Silver badge
    Windows

    "In 200 words or less…

    describe the bug."

    Whether composed by an AI agent or a clueless human "AIhole" you could probably mechanically filter out the slop purely on syntactic grounds.

    Or just /dev/null the list for six months during which the attention seekers will likely give up and bugger off to shit all over another poor sod's pride and joy.

  5. Pascal Monett Silver badge
    Windows

    So many good things in this article

    Once again, Linus Torvalds swipes the clutter away and gets down to essentials.

    "entirely pointless churn”

    “AI detected bugs are pretty much by definition not secret.”

    “AI tools [..] cause unnecessary pain and pointless make-believe work”

    “If you actually want to add value, read the documentation, create a patch too, and add some real value on *top* of what the AI did.”

    I would have thought that the Linux community would have been immune from AI-induced stupidity, but I was obviously wrong and AI has apparently enough charm to make even supposedly intelligent people fall for it. Humans will always be humans, I guess.

    That said, between Torvalds and anyone else, where Linux is concerned I will always put Torvalds' opinion on the top of the list.

    Also, he appears to be going a bit soft, with age. Where is the volcanic outrage ? I think it would be rather justified here.

    1. Richard 12 Silver badge

      Re: So many good things in this article

      A lot of people want a "quick fix" to their careers, and think that getting mentioned on the Linux kernel mailing list will do that.

      So they burn a few rainforests worth of tokens finding and reporting something that's already been found and reported fifty times, and was resolved two months ago as "not a security issue" - which they'd know if they actually did the legwork.

      Spoiler: Even if it is real and unique, an AI generated report won't help your career. A real patch might - but only if you wrote it.

    2. Anonymous Coward
      Anonymous Coward

      Re: So many good things in this article

      " ... between Torvalds and anyone else, where Linux is concerned I will always put Torvalds' opinion on the top of the list."

      Yes indeed.

      My upvote and 99 more to that.

      " ... appears to be going a bit soft, with age. Where is the volcanic outrage?"

      No.

      Just a bit older and having read the room, wiser.

      Waiting for the next time where he will point to what he wrote and curtly ask: "You assholes can't read?"

      It will be well deserved and unobjectionable.

      .

    3. ttlanhil

      Re: So many good things in this article

      > Also, he appears to be going a bit soft, with age. Where is the volcanic outrage ?

      Linus' rants are mostly limited to people who do the same stupid thing over and over and ignore being told no.

      His rants have gotten headlines often, but when you read past the headline, it's usually something like "on date, you were told this was wrong because of reason X. Then on date you tried again, and were again told that it was wrong because of reason X. Now you're trying a third time to do something that's wrong even though it's been explained multiple times? what's wrong with you?"

      You generally need to have a track record that Linus himself is aware of - and imagine how many people he interacts with (occasionally it's a rant about how stupid the design from a certain company is - that's a different kettle of fish)

  6. T. F. M. Reader Silver badge

    On duplication

    Has anyone estimated the likelihood of AI finding a (security) bug only because it is already known and reported, as opposed to the likelihood of finding a genuinely new problem? Constrained to a project, such as the kernel, with a well-defined public reporting/discussion mechanism?

    Serious question. Counting known AI-generated duplicates vs. genuinely new AI-generated problems reported on the mailing list is probably a proxy for the lower limit, since presumably there are issues found by AI, checked by humans, classified as duplicates, and never reported.

    False positives should also be added into the mix. As a matter of fact, duplicates are a kind of a false positive, if only genuinely new issues are regarded as true positives in the context.

    Point is, the burden of checking should be on the people who use AI to hunt bugs/vulnerabilities. The tools may very well be useful, but the amount of checking effort per report-worthy issue would be nice to know before much effort is invested by many people.

    1. Roland6 Silver badge

      Re: On duplication

      Reading your piece suggests what is needed isn’t just another mailing list for AI discovered bugs,but something more akin to VirusTotal, where someone can upload their discovered bug and have it automatically assessed returning a known/unknown rating, with unknown bugs getting forwarded to humans …

  7. DJV Silver badge

    Well...

    ...that was remarkably restrained when compared to the Linus of old!

  8. Locomotion69

    Now we have the intelligent tools, let's look for a way to intelligently use them....

    1. vtcodger Silver badge

      Intelligent? tools

      We have tools that give the appearance of being intelligent. Whether they are actually useful for much beyond marketing fodder is still, I think, an open issue.

      1. werdsmith Silver badge

        Re: Intelligent? tools

        They are useful and being used effectively. They are not as useful as they are being hyped but objectively they are out there in the wild doing real work supporting people who understand what they are doing.

        1. Wellyboot Silver badge

          Re: Intelligent? tools

          The people creating the AI request or checking the results is the most important part of the process, I have a far better set of chisels than Michelangelo ever saw but I'm 100% sure I'd only be wasting a nice lump of marble if I tried to create a statue.

      2. MatthewSt Silver badge
        Joke

        Re: Intelligent? tools

        I can't tell if you're talking about AI or devs in general...

    2. Alumoi Silver badge

      No, we have the idiot genius.

  9. WSWS

    The obvious solution would be to deploy an AI agent to consolidate the multiple reports, no? That seems like something they are perfectly suited to.

    1. Graham Cobb

      Actually, in the special case of security bugs, that is exactly what we need.

      The problem with security bugs is that they are deliberately kept as secret as possible until they are fixed. That is a necessary, and good, thing. But it means reporters have no idea whether they are reporting a duplicate or not.

      While AI has many limitations, presumably it can be configured to keep things confidential. So an AI reviewing reports, collecting what it considers duplicates together, and telling the submitter that it believes that the report is a duplicate and is being worked on, would be valuable.

      1. An_Old_Dog Silver badge

        Please Read the Tech News re AI

        While AI has many limitations, presumably it can be configured to keep things confidential.

        Ha-ha-ha-ha!

  10. Anonymous Coward
    Anonymous Coward

    It's happening in the corporate world as well

    It's the Jevons paradox all over again.

    This con was supposed to make the "work" more efficient. Getting to the solution more quickly, so you'd need less developers. The opposite is slowly becoming apparent. You have more work to do, because all these automated "tools" detect more issues/vulnerabilities (regardless of how practical they would be to exploit). There is becoming also a nere constant hum of cve's you have to patch (even when you don't use that libraries particular functionality). And the standard just getting things done 'work' consists of an endless stream of bloated AI gen MR pull requests, which look all right on the surface, and hey all the tests pass, and yeah sure I checked it out in dev/qa. And you merge it because the suits pile on the pressure to deliver, because hey you have AI now so you can do it in half the time with half the people. No one has time to actually think. But deep down there will be some subtle assumption the model has made on your behalf that is wrong. You won't spot it till prod is on fire and you'll spend all of the next few weeks sorting it out.

    The junior devs have also completely outsourced their minds. Im getting buzzed constantly how should this work how should that work, IDKN jc draw a state diagram, decision tree or truth table and work it out like we used to. You can even use an llm to help with that. It's like this magic spell came along and everyone forgot the basics.

    I'm telling you we're all fd. Any of these nitwits doing 300pull requests a day or whatever have basically just given up all hope on understanding what a system is doing. It's all just black box. Nothing is probably the test suit could be fudged by the bot. And you won't know. And this, all on financial and critical systems. You think the horizon scandal was bad or any of the other old school IT f ups. Just wait for what's coming.

    /Rant over

    1. Anonymous Coward
      Anonymous Coward

      Re: It's happening in the corporate world as well

      So, its just like real people, only much faster and more naive?

  11. Anonymous Coward
    Anonymous Coward

    Just needs an AI agent...

    To triage and categorise the reports.

    Seems to me he's only complaining that his management tools are currently not fit for purpose.

    Maybe he can talk with AI to find a way forward.

  12. Bryan W

    Truth

    People using AI are not software engineers. People who think using AI enhances software engineering are lazy shits you need to remove from your payroll before they cost you a shit ton of money in wasted effort and sloppy code.

    The end.

    1. Graham Cobb

      Re: Truth

      Whether that is true or not (and it is deliberately exaggerated, so I didn't upvote) the problem isn't software engineers using AI - it is bad guys using AI and finding security bugs faster than the software engineers can fix them.

  13. Random as if ! Bronze badge

    It's not x but y

    It's not useful, but useful.

    Depends who is subsidising you, fancy a cool menthol Laramie cigarette for your health?

    1. Joe W Silver badge

      Re: It's not x but y

      Nine out of ten doctors say smoking is good for you!

      Oh, and radiation is so great! Buy our radium blankets to keep you warm :)

  14. This post has been deleted by its author

  15. Enric Martinez

    I don't see the “contrast” here:

    “Torvalds' remarks contrast with recent comments from fellow kernel maintainer Greg Kroah-Hartman, who recently told The Register that AI has become an increasingly useful tool for the FOSS community”

    One is talking about the mailing list and its users' behaviour, and the other about whether AI is useful (or not).

POST COMMENT House rules

Not a member of The Register? Create a new account here.

  • Enter your comment

  • Add an icon

Anonymous cowards cannot choose their icon