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.

  • Turbidity Von Advection Fog@pawb.social
    link
    fedilink
    English
    arrow-up
    16
    ·
    edit-2
    5 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
      ·
      8 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
        5 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.

  • EmmaZhouDances@lemmy.ml
    link
    fedilink
    arrow-up
    23
    arrow-down
    3
    ·
    12 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
    102
    arrow-down
    2
    ·
    16 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
      5
      arrow-down
      1
      ·
      4 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
        6
        ·
        4 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.

        • ByteJunk@lemmy.world
          link
          fedilink
          arrow-up
          2
          arrow-down
          1
          ·
          3 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
            3
            arrow-down
            1
            ·
            2 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.

    • newuserwhodis@quokk.au
      link
      fedilink
      English
      arrow-up
      6
      arrow-down
      1
      ·
      6 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
      11
      ·
      10 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
    66
    arrow-down
    3
    ·
    15 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

    • ExtremeDullard@piefed.socialOP
      link
      fedilink
      English
      arrow-up
      11
      ·
      15 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
        7
        ·
        10 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
      ·
      15 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
    8
    ·
    11 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
      14
      arrow-down
      1
      ·
      10 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.