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.
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).
Given the pace of LLMs finding vulnerabilities recently, how do you propose anyone will ever be able to establish a track record in the future without already having access? You're describing a system where it's literally impossible for anyone new to ever enter the field (other than a privileged few who work for these AI companies I guess)
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.
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.
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.
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...
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).
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.
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.
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.
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:
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.
> 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.
On the contrary: he explained why the comment was dead. It's an account posting bot-written comments, which is against the rules, therefore the account has (seemingly) been restricted by the admins. You seem to disagree with the rule, but that doesn't change the fact that it is the rule.
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.
Surely this must come with an unacceptable performance hit? I still need to maintain 80% of my 10gb/s link.
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
I was measuring sub microsecond decision time
I run my NFSv4 server behind spiped, so I think I'm safe here?
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),
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.no poc posted
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).
that's great for the 8 people that have access to that
You can just ask for CVP, same with OpenAI TAC
https://portal.anthropic.com/programs/cvp
https://chatgpt.com/cyber
Presumably "ask" means they can say no? Or else why even require asking at all?
No, first level of CVP (defense) is available to almost everyone who pass KYC identity check and has any track record of security findings.
> has any track record of security findings
Given the pace of LLMs finding vulnerabilities recently, how do you propose anyone will ever be able to establish a track record in the future without already having access? You're describing a system where it's literally impossible for anyone new to ever enter the field (other than a privileged few who work for these AI companies I guess)
Wow, I'm one in 8? Cool!
If he had a name, it's long since been lost. He would have been known only as a servant of evil. One of a number. ... One of nine.
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.
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.
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.
> It's pretty common to configure it in a way that you trust the client when they say they're root
This is how you can tell you’re reading a post from a Real Old Time hacker. Hasn’t been that way for a long time.
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...
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.
Isn't this CVE-2026-99362? Because pretty much all of ubuntu installs are affected.
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).
Yes, should have been more precise.
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.
> 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.
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.
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.
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.
I'm not so sure, it says pre-auth. Does anyone know?
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.
Too lazy to check but I would t be surprised if there’s plenty of open ports on the internet for this protocol.
Each such vuln a reminder that seL4[0] exists, and that Linux's TCB isn't getting smaller anytime soon.
0. http://sel4.systems/
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.
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
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.
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:
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.
Not sure why your comment was [dead]. Vouched.
It is AI written.
That does not invalidate that the vulnerability is real whether if the bug was discovered with or without AI.
So what is your point?
Even if it is, at least it provides an explanation of something meaningful. Your four words don't even reach that bar.
On the contrary: he explained why the comment was dead. It's an account posting bot-written comments, which is against the rules, therefore the account has (seemingly) been restricted by the admins. You seem to disagree with the rule, but that doesn't change the fact that it is the rule.