• fruitcantfly@programming.dev
    link
    fedilink
    arrow-up
    37
    arrow-down
    1
    ·
    29 days ago

    For anyone curious about the number of bugs introduced in each kernel release, LWN.net has a plot of Bugs fixed and introduced in each kernel release.

    However, it has the obvious limitation that recent releases will appear to have fewer commits introducing bugs, simply because kernel developers haven’t had as much time to find and fix the bugs introduced in those releases. So it’ll be a while before we can actually see the consequences (positive or negative) of more widespread LLM usage by kernel developers

    • PotatoesFall@discuss.tchncs.de
      link
      fedilink
      arrow-up
      22
      arrow-down
      2
      ·
      29 days ago

      As somebody who is quite critical of AI, I will say, it is a fantastic tool for finding bugs early. I advise getting all your changes reviewed by a decent LLM before you push them. It often finds edge cases I forgot in my testing

    • yes_this_time@lemmy.world
      link
      fedilink
      arrow-up
      4
      arrow-down
      1
      ·
      29 days ago

      That’s a pretty big limitation! They shouldnt have bothered plotting that, it’s basically just a plot of time.

  • ShutUpWesley@piefed.zip
    link
    fedilink
    English
    arrow-up
    36
    arrow-down
    2
    ·
    29 days ago

    It will be fascinating when the data is available, to see a graph showing the number of security vulnerabilities added to the kernel with each commit, obviously they’ll have to be found and patched before that can be determined.

      • Avicenna@programming.dev
        link
        fedilink
        arrow-up
        2
        ·
        28 days ago

        I think dusk means it would also be difficult for hackers to find these bugs without AI, which probably is true (given how long some of them seem to have existed). Hard to say how it balances out in the end though.

  • thingsiplay@lemmy.ml
    link
    fedilink
    arrow-up
    6
    arrow-down
    2
    ·
    29 days ago

    Some people think its bad that so many CVEs are fixed. Because they think without Ai we wouldn’t have so many CVEs in the first place… go figure (not my opinion, but I saw such type of comments).

    • 🌞 Alexander Daychilde 🌞@lemmy.world
      link
      fedilink
      English
      arrow-up
      2
      ·
      29 days ago

      It’s natural to think that way if you don’t think the implications through - like the infamous WWII plane showing holes in the fusilage and the implications on which parts of the aircraft needed reinforcement. :)

  • Possibly linux@lemmy.zip
    link
    fedilink
    English
    arrow-up
    2
    arrow-down
    1
    ·
    29 days ago

    Some of it is due to AI but much of it is people finally paying attention to security. For a long time no one thought about security vulnerabilities. These days many bugs in Linux are considered a security issue and thus gets there own CVE

    • Cypher@aussie.zone
      link
      fedilink
      arrow-up
      18
      arrow-down
      2
      ·
      29 days ago

      If you checked the commits you would see that some of the bugs in Linux being found with AI tooling have been present for many years.

      I encourage everyone to go have a read for themselves.

      Linux hasn’t become some slop treadmill like you’re implying.

      • shalafi@lemmy.world
        link
        fedilink
        English
        arrow-up
        7
        arrow-down
        3
        ·
        29 days ago

        Been away for almost a year and came back to many here thinking they’re smarter than Torvalds. It’s stunning. Goes with what I’ve been saying about broad DC hate, it’s going to cause friendly fire.

    • Ek-Hou-Van-Braai@piefed.socialOP
      link
      fedilink
      English
      arrow-up
      10
      arrow-down
      7
      ·
      29 days ago

      Such a lemmy moment, unable to admit AI is capable of anything that might be considered useful.

      Yes AI is good at writing bugs, it’s also good at finding exploits.

  • NathanRanch@lemmy.zip
    link
    fedilink
    arrow-up
    3
    arrow-down
    8
    ·
    29 days ago

    This was never an issue before, so it just appears as tho it’s adding bugs to be fixed later. Unless all these updates are strategically going somewhere.

    • StabbingSky@lemmy.zip
      link
      fedilink
      arrow-up
      12
      arrow-down
      1
      ·
      29 days ago

      Many of the bugs have been present for years. This is about finding bugs that humans didn’t, then humans fixing the bugs.

    • Ephera@lemmy.ml
      link
      fedilink
      arrow-up
      6
      arrow-down
      1
      ·
      29 days ago

      These were not a problem, because no one found them, but they were still there. Now they are being found, if not by the folks patching them, then by those looking to exploit them. There is no way to navigate this than to patch whatever is found.

      • Ek-Hou-Van-Braai@piefed.socialOP
        link
        fedilink
        English
        arrow-up
        5
        arrow-down
        2
        ·
        29 days ago

        Many governments and secret groups sit on Zero day exploits for years until they need to use them.

        Average people are finding them easier now using AI, which is a good thing. Instead of 3 letter organizations sitting on them.