• ozymandias117@lemmy.world
    link
    fedilink
    English
    arrow-up
    10
    ·
    edit-2
    11 hours ago

    Check uname -r

    If you’re on 6.19.12 or newer (7.0.1 if they’ve already bumped to 7) you’re definitely safe

    If you don’t have a safe kernel, A better solution referenced below than a module blacklist is to set initcall_blacklist=algif_aead_init in your kernel boot parameters. There is not a generic way to do this across distros, so you will need to look it up for your case

    ~~If you don’t have the updated kernel, you can echo "install algif_aead /bin/false" > /etc/modprobe.d/disable-algif.conf and reboot.

    That ensures the buggy module cannot be loaded until you have an updated kernel~~

    • StripedMonkey@lemmy.zip
      link
      fedilink
      English
      arrow-up
      5
      ·
      14 hours ago

      I continue to protest against this claim. Blacklisting the kernel module does not work for a bunch of distributions including Alma, Rocky, RHEL and others because they have this module built into the kernel. There’s no module to remove. You must use a syscall blacklist or similar mechanism to disable this.

      • ozymandias117@lemmy.world
        link
        fedilink
        English
        arrow-up
        4
        ·
        edit-2
        13 hours ago

        I’m working off the knowledge that OP is using a rolling release, so is likely fixed by that for them. (Arch based, Cachy, and OpenSUSE Tumbleweed all have it as a module, and are the most commonly suggested. Fedora fixed it 2 weeks ago since they follow mainline, so I’d expect Bazzite to have it too. If they’re using Debian Sid/Testing, it’s both fixed and a module)

        If you’re using something else, this eBPF filter is probably your best bet https://github.com/Dabbleam/CVE-2026-31431-mitigation

        • StripedMonkey@lemmy.zip
          link
          fedilink
          English
          arrow-up
          4
          ·
          13 hours ago

          My personal suggestion would be to add initcall_blacklist=algif_aead_init to your kernel arguments. Ebpf is cool, but not a very trivial solution.

          I understand the suggestion might apply to a random, unspecified distro but I disapprove of both the exploit authors and the general Internet suggesting fixes that don’t apply to every distro (including copy.fail’s AI slop RHEL distro that doesn’t exist) without caveating it.

          The kernel module blacklist won’t work for every situation, if you’re not being specific in telling people where it applies, it’s best to suggest a solution that actually works regardless of distro or explain how to validate when it applies but nobody is doing that.

          • ozymandias117@lemmy.world
            link
            fedilink
            English
            arrow-up
            2
            ·
            13 hours ago

            Giving a better solution is certainly useful.

            I’d used initcall_debug before, but not initcall_blacklist

      • ozymandias117@lemmy.world
        link
        fedilink
        English
        arrow-up
        9
        ·
        11 hours ago

        They aren’t available on all releases - the people that found the issue didn’t really follow responsible disclosure, so distros didn’t have time to fix it

        They will fix it over the next couple days, but if you need a fix now, those are the ways to protect yourself until security updates make it out

        • Possibly linux@lemmy.zip
          link
          fedilink
          English
          arrow-up
          2
          ·
          10 hours ago

          All major distros have been patched as of writing this (you are welcome to correct me if I’m wrong)

          • ozymandias117@lemmy.world
            link
            fedilink
            English
            arrow-up
            2
            ·
            edit-2
            10 hours ago

            The ones I was watching look like there’s an update as of an hour ago, but there wasn’t at the time of the post

            Need to check Raspbian still, being on self hosting