Key points
- CVE-2026-99362 (dubbed NFS2ROOT), CVSS 9.8: a heap buffer overflow in the Linux kernel’s NFS server (nfsd), affecting systems running NFSv4.1 or NFSv4.2 when TCP port 2049 is open to an untrusted network.
- The attacker needs no login and no mount: sending a crafted NFS packet to port 2049 is enough to corrupt kernel memory and take root.
- Found independently by two parties: Jérémy Jean (ANSSI, France) submitted a fix in August, merged into mainline on Sep 14; OpenSec found it with an AI-powered security testing harness and submitted a full root exploit with its patch in late September.
- Fixed in 8 stable kernel branches: 5.10.275, 5.15.226, 6.1.193, 6.6.163, 6.12.117, 6.18.61, 7.3.2 and 7.4-rc1. The CVE was published on Nov 19; OpenSec published the technical details on Nov 25.
- No reported real-world exploitation; OpenSec’s exploit code is not public; the flaw was not in CISA’s Known Exploited Vulnerabilities catalogue as of Nov 26.
- How to fix it: update to the latest kernel and reboot; if patching is not possible yet, firewall port 2049 to trusted hosts only, or turn off the nfs-server service if it is not used.
The exploit chain works like this: each NFSv4.1 session has “slots” holding a copy of the most recent reply, and the client is allowed to negotiate the size of that buffer — including choosing 0 bytes. A malicious packet makes the server believe the reply has succeeded, then copies the entire reply into the 0-byte buffer, writing 61 bytes past the heap object, about 40 of them chosen by the attacker. From that single overflow, the attacker leaks kernel memory to defeat KASLR (the layer that hides kernel memory addresses), plants a callback, and when the connection closes, the kernel executes code with root privileges. According to the KASAN report in the fix, this is a “write primitive” in the kernel — and in the kernel, the ability to write is everything.
What makes the flaw frightening is the exposure. Port 2049 sits open on file servers, NAS appliances, build farms and Kubernetes storage nodes — and containers sharing a directory use the host’s nfsd module, so a shared folder can quietly turn the host into a target. OpenSec put it bluntly in its advisory: “Port 2049 sits open on file servers, NAS appliances, build farms and Kubernetes storage nodes. Since 2014, the Linux kernel listening on it has let anyone who can reach it write into kernel memory before logging in… Kernel hardening does not remove the overflow. Patch every host.”
It is also a milestone for how security bugs are found: one of the two parties that found NFS2ROOT used an automated AI-powered testing system, and OpenSec says that same system built the full exploit. BleepingComputer lists NFS2ROOT in a long run of Linux privilege-escalation flaws disclosed in 2026 — RefluXFS, CIFSwitch, Dirty Frag, Fragnesia, PinTheft, Copy Fail, Pack2TheRoot and DirtyDecrypt/DirtyCBC — showing the Linux kernel is being scrutinised more closely than ever, by people and by machines.
Why it matters
This is the rarest and most dangerous kind of flaw in cybersecurity: remote, no user interaction, low complexity, the highest privilege — and it sat quietly in the kernel of millions of servers for 12 years. The good news is that fixes are available on every stable branch and there is no sign of real-world exploitation; the bad news is that every unpatched NFS server with port 2049 open to the Internet is exposed, and now that the fix is public, attackers also know where to look.
