8 comments

  • r3tr0 3 hours ago
    yeet can actually patch this via its XDP L7 programmable firewall

    https://github.com/yeet-src/pfw

    Here is the specific rule. I just added and confirmed it. (can see the CI).

    https://github.com/yeet-src/pfw-rules/blob/53f78fc5823354f4a...

    just pull the repo w `pfw pull` then `pfw ls` and apply and you're all set.

    • ranger_danger 50 minutes ago
      Surely this must come with an unacceptable performance hit? I still need to maintain 80% of my 10gb/s link.
      • jrg95 26 minutes ago
        Not too bad. I have benchmarks

        You can try

        `pfw metrics`

        To see.

        We use a ton of clever JIT compilation techniques to lower code directly onto the NIC

        • jrg95 25 minutes ago
          I was measuring sub microsecond decision time
  • superkuh 13 minutes ago
    It really sounds like this is only NFS 4.1 and 4.2 and up(?). So my mitigation for right now (on distros that are out of support re: kernel) is simply to disable 4.1 and 4.2 protocol like the below (turn nfs-server off first),

        $ echo "-4.1 -4.2" | sudo tee /proc/fs/nfsd/versions
    
    I am no security expert but for now this change, which is temporary and reverts on reboot, seems reasonable. Before I did this I checked if my clients used nfs 4.1 or 4.2 at all and only one computer on my network did and it has fine 3/4 support. The vast majority of my nfs traffic is v3.
  • gsich 5 hours ago
    no poc posted
    • snizovtsev 5 hours ago
      Claude is able to generate it in a few minutes if you have CVP. I do linux kernel patching as my day job, poc for this CVE is 106 lines of python code in my collection (1000+ ai-generated pocs since last month).
  • snvzz 4 hours ago
    Each such vuln a reminder that seL4[0] exists, and that Linux's TCB isn't getting smaller anytime soon.

    0. http://sel4.systems/

    • yjftsjthsd-h 2 hours ago
      How much does that help? My impression is that seL4 is great at what it does, but what it does is so limited that to e.g. host NFS on it you're just going to run Linux in a VM at which point... I guess it depends on the details and your threat model, but it feels like a long road back do the same place.
  • Gigachad 5 hours ago
    Thankfully no one assumed NFS secure for the public internet anyway so this should be minimally impactful. Also looks like it was patched upstream months ago.

    Still, just another example of why C code can’t be exposed to the internet.

    • asveikau 5 hours ago
      NFS in particular is an old protocol and authentication was bolted on later in its long history. It's pretty common to configure it in a way that you trust the client when they say they're root. This adds to the perception that nobody would assume it's safe to expose.
      • chasil 4 hours ago
        NFSv3 assumes that uid/gid synchronization is in place, and maps root activity on the shared volume to some kind of nobody (unless the volume is exported nosquash). The username is irrelevant; the uid controls access (AFAIK).

        NFSv4 needs idmapd, which is a different beast altogether.

    • svl7 5 hours ago
      Well... I've seen enough examples in the past years of how trivial it is to get into bigger enterprise networks.Often solely with social engineering. NFS is in use at various places internally in my experience. So this can end up worse than anticipated if taken too lightly imo. Defense in depth...
      • Gigachad 5 hours ago
        I’m not saying ignore this, but it’s not a run around hair on fire situation like php2shell. Just update your servers as normal.
    • davrosthedalek 5 hours ago
      Isn't this CVE-2026-99362? Because pretty much all of ubuntu installs are affected.
      • VorpalWay 5 hours ago
        I assume you mean "all Ubuntu installs of NFS" here. Your statement could be misread by those who don't know as "all Ubuntu installs", but NFS is not installed or turned on by default. I would expect very few installs do overall (but of course all of them will in specific environments).
      • asveikau 5 hours ago
        Most ubuntu installs aren't running NFS servers.

        If someone sets up an NFS server, they know what kind of risk they open themselves up to.

        • loeg 4 hours ago
          > If someone sets up an NFS server, they know what kind of risk they open themselves up to.

          I don't think preauth RCE is an expected risk of setting up NFS, actually.

          • asveikau 3 hours ago
            It's really not the most shocking thing in the world. I've never heard of anyone exposing the NFS port to the public internet intentionally, because people who run NFS servers know this is not expected to be secure.
            • davrosthedalek 2 hours ago
              Not public internet, no, but open to internal networks. For example: University networks. Many installation with NFS shared home. Can people now get root on the server? I'm not sure you need mounting rights on the server (i.e. a /etc/exports entry) to exploit this.
        • chasil 4 hours ago
          The last time that I tried, you had to install the server package to get the client to work on Ubuntu.

          Then, you need to add volumes to /etc/exports with allowed hostnames (with lots of parameters for access control).

          I'm assuming that anything disallowed by /etc/exports is not allowed, this exploit included.

          • davrosthedalek 2 hours ago
            I'm not so sure, it says pre-auth. Does anyone know?
    • anthk 4 hours ago
      More than C, low level code for trivial userland daemons/functions. I remember WAV decoding functions on Win32 back in the day... in the kernel.
    • VladVladikoff 1 hour ago
      Too lazy to check but I would t be surprised if there’s plenty of open ports on the internet for this protocol.
  • xiaoliangliang 31 minutes ago
    [dead]
  • scottchiefbaker 2 hours ago
    This bug was patched several months ago. If you've been patching for all the CVEs that have come out recently you're probably already protected. Per the end of the article here are the patched version of each Kernel branch:

    6.12.117

    6.18.61

    7.3.2

    7.4-rc1

    This is CVE-2026-99362

    • tredre3 8 minutes ago
      Missing from the list is 7.0, which is used by Ubuntu 26.04 and everything downstream. But presumably they've already patched it themselves.

      One has to wonder, however, why Canonical doesn't stick to LTS kernels for their LTS distro. They already offer the HWE kernel for those who need a more up-to-date kernel (whose version is bumped twice a year I think).

      Taking on the burden of backporting patches themselves has to have become quite costly (and reckless) in $CURRENTYEAR.

  • rvz 6 hours ago
    Just wow. How was this achieved? Let's see:

    > Pre-auth heap overflow in the Linux NFS server (nfsd)

    > Set it to the minimum and every slot's buffer is zero bytes. nfsd4_sequence() then shrinks the reply buffer to that limit before it accepts the slot. Pad the request's tag so the buffer fills right after the SEQUENCE opcode, and the encoder quits without flagging an error. The server believes SEQUENCE succeeded and caches the whole reply, headers and tag included, into a buffer with room for nothing.

    Then it causes an out-of-bounds crash:

       >> BUG: KASAN: slab-out-of-bounds in read_bytes_from_xdr_buf+0x1bc/0x390
       >> Write of size 80 at addr ffff888003a549cd
       >> __asan_memcpy+0x38/0x60
       >> read_bytes_from_xdr_buf+0x1bc/0x390
       >> nfsd4_sequence_done+0x5b0/0x810
       >> nfs4svc_encode_compoundres+0x1bf/0x240
    
    So yet another memory corruption issue that gives the attacker control of the execution and its possible to get root on the system and this is in the kernel itself so "hardening" does not remove the bug.

    What a disaster.

    • Bender 5 hours ago
      Not sure why your comment was [dead]. Vouched.