There is something deeply unsettling about a bug that sits in the Linux kernel for over a decade, undetected and unbothered, while we all convince ourselves that our storage nodes and Kubernetes clusters are fortresses. We talk about zero trust and advanced persistent threats, but then something like CVE-2026-99362—dubbed NFS2ROOT—comes along and reminds us that a single TCP connection to port 2049 has been enough to own a box since 2014.
I have spent a lot of time looking at kernel exploits, but this one feels particularly nasty because of where it lives. The Network File System (NFS) server, or nfsd, runs right in the kernel space. It is not some isolated user-land process with a restricted sandbox. When you talk to NFS, you are talking directly to the heart of the operating system. If you can break that conversation, you don’t just crash a service; you own the hardware.
The simplicity of the break
The technical reality of this heap overflow is almost embarrassingly simple. It comes down to how NFSv4.1 handles session slots. For the last twelve years, a client could basically tell the server, “Hey, I want my reply cache to be zero bytes,” and the server would just say, “Sure, sounds good.”
When the server then tries to copy a reply into that zero-byte buffer, it doesn’t just stop because there is no room. It keeps writing. Specifically, it writes 61 bytes past the intended object on the kernel heap. In the world of memory corruption, 61 bytes is an eternity. It is enough to overwrite neighboring bookkeeping data, leak kernel pointers, and eventually redirect execution flow.
What makes me lose sleep isn’t just the bug itself, but the fact that it was found and weaponized by an AI harness called Antara. We are entering an era where white-box tools can take a memory corruption bug and autonomously chain it into a root shell with zero human intervention. If the good guys are doing this, you can bet the less-than-savory actors have been doing it for years.
Why this stayed hidden for 12 years
You have to wonder how a 9.8 CVSS bug survives from Linux 3.16 all the way to 7.4-rc1. Part of it is the sheer complexity of the nfsd code. Most developers avoid touching the inner workings of the NFS sequence logic unless they absolutely have to. It is one of those “it just works, don’t touch it” areas of the kernel.
Also, the attack looks like perfectly valid NFS traffic. There are no weird malformed packets that trigger a signature in your standard IDS. It is just a sequence of legitimate requests that happen to manipulate the internal state of the kernel heap in a very specific, malicious way. If you aren’t looking at kernel warnings like nfsd4_check_resp_size, you would never even know someone was poking at you until your server suddenly powered off or started spawning shells.
The Antara factor: A shift in the landscape
The report from OpenSec mentions that their Antara system flagged the path, scored the severity, and built the exploit end-to-end. This is the part that should worry every sysadmin. The barrier to entry for high-end kernel exploitation is dropping. You no longer need a PhD in memory forensics to turn a “maybe” bug into a “definitely” root shell.
When a machine can figure out the KASLR slide and forge a callback pointer by itself, the “patching window” effectively disappears. The moment a bug is committed to a public repo, the race is over.
What you actually need to do
If you are running anything that speaks NFSv4.1 or 4.2—which is basically everyone using modern Linux distributions or NAS appliances—you are probably exposed.
First, check your kernel version. If you aren’t on 6.12.117, 6.18.61, or the latest 7.x branches, you are likely vulnerable. The fix is a kernel update and a reboot. There is no way around the reboot.
If you can’t reboot right now, for the love of everything holy, firewall port 2049. You should not have NFS exposed to anything other than a trusted, isolated storage network anyway. If your NFS port is reachable from the general internet or a wide internal VLAN, you are essentially leaving the keys in the ignition of a running car.
Another temporary fix is disabling the specific versions in /etc/nfs.conf. Turn off vers4.1 and vers4.2. It will break some features like pNFS, but it is better than having your build farm turned into a botnet.
Closing thoughts
NFS2ROOT is a sobering reality check. It proves that “old” code isn’t necessarily “vetted” code. Sometimes it is just “ignored” code. We spend so much time worrying about the latest zero-day in Chrome or Outlook, but the quiet, twelve-year-old bug in the kernel’s network stack is the one that actually brings the house down.
Update your kernels. Watch your logs for KASAN warnings. And maybe reconsider why port 2049 is reachable from that one dev box you forgot about.
