A big EXT4 pull request today intended for the Linux 7.4-rc5 kernel has set off Linus Torvalds. Over 41k lines of new code in this EXT4 pull request going in as “fixes”…. Much of that being new KUnit test coverage to make it safer to validate AI-generated patches. And then a lot of AI generated patches themselves for the EXT4 file-system.

  • flandish@lemmy.world
    link
    fedilink
    arrow-up
    10
    arrow-down
    1
    ·
    5 hours ago

    it’s gonna be “great” when the corps who run the models want to lay claim to the code their models created, and rug pull the licenses of these “open” source projects, in an effort to claim some form of last second profit.

    • ExtremeDullard@piefed.socialOP
      link
      fedilink
      English
      arrow-up
      5
      ·
      3 hours ago

      it’s gonna be “great” when the corps who run the models want to lay claim to the code their models created, and rug pull the licenses of these “open” source projects, in an effort to claim some form of last second profit.

      Exactly this!

      Actually, not exactly: I think you’ll find a plethora of software shop will start claiming their proprietary code, or open-source but not freely redistributable code, made its way into other pieces of software through the clankers, and therefore the code made by the clankers isn’t the clankers’ users’ to slap an open-source license on - or any other license for that matter.

      AI-generated work simply cannot be licensed, because unless you can prove your clanker was trained exclusively on freely redistributable material, it’s likely to contain work and derivatives of work that can’t be used legally in other projects without prior approval. The minute someone sues along that line of thought, whether or not the suit has merits, the entire open-source world that let itself be tainted by AI-generated work will collapse.

      It’s blindingly obvious it’s going to happen sooner or later. How Linus and the FSF’s lawyers don’t realize this, I’ll never know.

      • flandish@lemmy.world
        link
        fedilink
        arrow-up
        1
        ·
        2 hours ago

        never know

        Thing is - like all things related to how humans work - they got their money. they no longer really care. :(

  • EmmaZhouDances@lemmy.ml
    link
    fedilink
    arrow-up
    36
    arrow-down
    5
    ·
    18 hours ago

    So basically the linux kernel is going to be full of hallucinated AI nonsense and is probably now vulnerable to zero day attacks.

  • ExtremeDullard@piefed.socialOP
    link
    fedilink
    English
    arrow-up
    121
    arrow-down
    3
    ·
    22 hours ago

    It never fails to astonish me how fast years- or decades-old, stable, carefully-maintained projects abandon all precautions and start going down the shitter when they adopt AI in earnest. Linux, sadly, is no exception.

    • ByteJunk@lemmy.world
      link
      fedilink
      arrow-up
      11
      arrow-down
      2
      ·
      10 hours ago

      I feel like you’re misrepresenting the reason Linus was angry - it’s not because it’s a huge AI slopfest.

      It’s because, on one hand, the guy’s committing a bunch of tests along with the fixes they’re sending, and the other is because this is a big chunk of new code for a release candidate stage, and Linus is fuming because people seem to disregard that big changes, even if they’re meant to fix a bug, can introduce bugs if their own, which at an RC stage is highly undesirable.

      He’d probably be mostly fine with it if it was split, and submitted earlier in the release cycle.

      Linus:

      You should have kept your tests in a separate branch for your testing, and done this huge update for the next merge window.

      This whole notion of “anything that is a fix goes in -rc” is bogus.

      • ExtremeDullard@piefed.socialOP
        link
        fedilink
        English
        arrow-up
        16
        ·
        10 hours ago

        I feel like you’re misrepresenting the reason Linus was angry - it’s not because it’s a huge AI slopfest.

        I feel you totally miss my point: the problem is precisely that Linus is totally a-okay with the slopfest, and totally not 5-alarm scared at allowing this amount of unvetted shit into a -rc kernel.

        • iocase@lemmy.zip
          link
          fedilink
          arrow-up
          1
          ·
          edit-2
          54 minutes ago

          be me

          want to update my kernel to avoid AI hacking and zero-days

          don’t want to update my kernel due to AI kernel slop

        • ByteJunk@lemmy.world
          link
          fedilink
          arrow-up
          5
          arrow-down
          2
          ·
          9 hours ago

          Ah yes, I did miss your point, my bad.

          A direct reply: it’s not “unvetted shift”, Linus vetted it and merged it. He’s pissed precisely because he had to review and approve this much stuff into an RC. While most of this code won’t be compiled into the kernel, since it’s tests, it’s still a large piece of work.

          I get that this is the “fuck AI” community, but this is exactly the reason that justifies kernel maintainers’ use of AI, and I’ve been keeping tabs on their discussions and conversation on how to make use of AI in a sensible manner.

          The most important point is that maintainers burnout is a huge problem. Things that reduce their workload and their saturation must be explored.

          Another important point is that many AI-driven submissions are actual, real bugs. It’s just that most of them are in remote, old areas of the kernel that are barely relevant (like old device drivers that nobody uses), which is part of why many haven’t been caught yet. But either facts (caught by AI, and being in a remote/little used driver) are not a reason to turn down a patch. These do increase workload, however, so there’s got to be some tradeoff between adopting a technology and the risks it brings.

          • ExtremeDullard@piefed.socialOP
            link
            fedilink
            English
            arrow-up
            8
            arrow-down
            3
            ·
            8 hours ago

            it’s not “unvetted shift”, Linus vetted it

            Yeees… I’m sure he carefully reviewed all 41,197 lines of it.

            Or, more likely, he got his clanker to do it for him.

            • ByteJunk@lemmy.world
              link
              fedilink
              arrow-up
              6
              arrow-down
              1
              ·
              edit-2
              5 hours ago

              I get it that you want to be angry at AI, but let’s be specific about our fears instead of painting broad, misleading scenarios.

              Regarding the commit itself that Linus pulled, that’s roughly 38k lines of tests against about 3.4k lines in actual kernel code files (8%). I couldn’t be bothered to check how many of lines of the actual kernel code were changed, and aren’t just comments, blank lines, #includes, header declarations, stuff that just got moved, and I suspect mostly, changes that set up the tests themselves (stuff like EXPORT_SYMBOL_IF_KUNIT(…)). In practice, actual code that gets compiled is much less.

              Then regarding Linus himself: he doesn’t usually do low level code review.

              The individual changes that make up a pull like this have all gone through “the kernel model”: first they go through a miling list review, patches would have been posted to linux-ext4 and other ext4 developers review them and add ReviewedBy or AckedBy: tags. How thorough this is varies from patch to patch, but there’s a process here.

              It then goes to the maintainer, who applies the patches, and he’s accountable for them. If other subsystems are involved, it goes to them to approve the changes as well (not the case here, I think it all falls under ext4 scope). Then the maintainer runs tests across many configurations with his own tooling.

              Then come linux-next and the bots. The branch is merged into linux-next, and the 0-day kernel test robot, KernelCI and syzbot build and test it across many architectures and configs. This catches build breaks, warnings and some crashes.

              Eventually it gets to Linus, but by then, everything went through a bunch of validation. If you want to see how much scrutiny each individual bit got, something like this should give an idea:

              git log --format='%h %s%n%(trailers:key=Reviewed-by,key=Acked-by,key=Tested-by,valueonly,separator=; )' 7475ea8b..bae28a1b
              

              My point is that doing things haphazardly is always going to produce bad results, but fitting AI into the kernel model with a well defined role and scope isn’t necessarily a bad thing; in fact, I’ll even argue it’s a necessity.

    • newuserwhodis@quokk.au
      link
      fedilink
      English
      arrow-up
      10
      arrow-down
      1
      ·
      12 hours ago

      fuck. you can’t be moderate on this shit. anything less than bullying and abuse of slop-husks is not going to deter them.

    • BenLeMan@lemmy.world
      link
      fedilink
      arrow-up
      16
      ·
      16 hours ago

      The saddest thing is that they are probably no better in terms of security because AI works both sides of the game. I fear it will be impossible for human maintainers to keep up.

  • bigmclargehuge@lemmy.zip
    link
    fedilink
    arrow-up
    76
    arrow-down
    3
    ·
    21 hours ago

    To clarify: Linus wasn’t upset about the PR on its own merits (large + AI-based). He was upset that the maintainer pulled it directly into a release candidate branch. It should have gone through a normal feature branch first. That’s the issue

    • newuserwhodis@quokk.au
      link
      fedilink
      English
      arrow-up
      11
      arrow-down
      1
      ·
      12 hours ago

      slop husks can’t and won’t behave. not purging them will be the death of Linux.

    • [deleted]@piefed.world
      link
      fedilink
      English
      arrow-up
      73
      arrow-down
      1
      ·
      20 hours ago

      Guess what kind of behavior the AI slop approach promotes?

      Rushing things and ignoring best practices

      • cloudy1999@sh.itjust.works
        link
        fedilink
        arrow-up
        39
        arrow-down
        1
        ·
        18 hours ago

        This right here. Every post about this that I’ve seen, people come out of the woodwork to defend AI-assisted coding. IMO, the secondary effects of AI, like deskilling, delusion, and abandonment of standards, ARE the problem.

        • EngineerGaming@lemmy.sdf.org
          link
          fedilink
          arrow-up
          2
          ·
          5 hours ago

          I also feel like even if you try your best, you are still tempted to be less careful. Like, you ask for a large batch of code - “this part looks good, this part looks good…” and then relax and aren’t as strict when there is a part that was, in fact, not good.

  • Turbidity Von Advection Fog@pawb.social
    link
    fedilink
    English
    arrow-up
    16
    ·
    edit-2
    12 hours ago

    Update: Kernel: 6.18.65-1-lts installed without a hitch and my system is a’okay, happy to report that nothing was amiss!

    Ugh, I have to figure out how to use the Ironclad Kernel on a distro that isn’t Gloire. As this move fast and break shit approach for the kernel is absolutely insane. Like, this is why I stay on the stable kernel for as long as possible, because of bullshit like this. Gotta make sure that my distro is on the stable kernel instead of a rolling. Since Linus is making things really scary over in Kernel dev land. 😵‍💫😬

    • ExtremeDullard@piefed.socialOP
      link
      fedilink
      English
      arrow-up
      2
      ·
      14 hours ago

      GNU/Ironclad would be interesting 🙂

      I stay in stable with all the machines I can. But at least one of them - my MNT Reform laptop - is always on unstable, because support for that machine’s hardware requires it. It’s bitten me in the behind more than once…

      • Turbidity Von Advection Fog@pawb.social
        link
        fedilink
        English
        arrow-up
        1
        arrow-down
        1
        ·
        edit-2
        12 hours ago

        Update: Kernel: 6.18.65-1-lts installed without a hitch and my system is a’okay, happy to report that nothing was amiss!

        I prefer stable personally, I will use an unstable or rolling kernel if I am running new hardware. This laptop was on the mainline kernel, as I use an Arch based distro, btw…So, I have switched it back to LTS and will see if that has affected anything!

        Yeah, I only go unstable if the hardware is really fresh, I have been able to go just mainline and be fine…But then the slop is becoming too scary for me! So, I will use the LTS as long as humanly possible and they will have to pry it out of my cold, dead hands.

    • ExtremeDullard@piefed.socialOP
      link
      fedilink
      English
      arrow-up
      12
      ·
      21 hours ago

      I usually do an upgrade each morning

      That was pretty brave even before AI. I’ve never EVER upgraded anything until enough people did it before me and I was certain nothing broke for them - unless of course I had a good reason to upgrade immediately.

      • Duchess@piefed.linenoise.vip
        link
        fedilink
        English
        arrow-up
        8
        ·
        16 hours ago

        I do nightly backups with my daily upgrades, if something breaks (which has never happened in any meaningful way) I know I can just restore a backup. Worth it for ASAP security patches imo

    • raman_klogius@ani.social
      link
      fedilink
      English
      arrow-up
      10
      arrow-down
      1
      ·
      21 hours ago

      You were on the “move fast, break things” train until just now. It’s just going faster from now on.

  • Advanced_Spark@lemmy.world
    link
    fedilink
    arrow-up
    4
    arrow-down
    10
    ·
    17 hours ago

    YTF wouldn’t they just branch it? One AI, one Non-AI. Keep AI out of the Non-AI branch, permanently.

    That’s how you compare things. You keep working on the Non-AI branch. The AI branch costs very little, if working as promised. Then fucking compare them at weekly, monthly, and yearly intervals. Make charts. Do meetings. Publish data.

    That’s how computer scientists work. This guy? Fuck this guy.

    • Feathercrown@lemmy.world
      link
      fedilink
      English
      arrow-up
      18
      arrow-down
      1
      ·
      16 hours ago

      Maintaining two separate diverging branches where one still gets commits from the other is very difficult. You’d basically be asking the maintainers to now make TWO linuxes, which is the opposite of what they need right now.