Researchers have disclosed NFS2ROOT, tracked as CVE-2026-99362 (CVSS 3.1 9.8). It’s a pre-authentication out-of-bounds write in the Linux kernel’s in-kernel NFS server, nfsd. Any Linux host that serves NFSv4.1 or NFSv4.2 on TCP 2049 is exposed. That includes general-purpose file servers, Linux-based NAS appliances, and Kubernetes storage nodes that export volumes over NFS. An attacker needs only network reach to that port. No credentials or valid export are required.
The kernel.org CNA published the CVE record on November 19. Public write-ups and distro tracking followed over the past few days. The bug is credited to Jérémy Jean of ANSSI, who submitted a fix in August, and to the OpenSec team, who sent the NFSD maintainers a full exploit chain and patch in late September. The flaw dates to commit 47ee52986472, which landed in kernel 3.16 (2014), so roughly twelve years of kernels are affected.
Technical details
The bug is in nfsd’s handling of the NFSv4.1 SEQUENCE operation and its per-session reply cache. When a client creates a session, it negotiates the maximum cached response size for each slot. A client can request the minimum value. That leaves each slot with an effectively zero-length cache buffer. nfsd then writes a full SEQUENCE reply into that buffer anyway, past the end of the slab object.
Public accounts disagree on the overflow size. OpenSec describes 61 bytes written past a kernel heap object over one TCP connection. Other analyses say about 80 bytes. Either way, it’s an attacker-triggered slab out-of-bounds write.
What makes this bug dangerous is where it sits. SEQUENCE, EXCHANGE_ID and CREATE_SESSION all run before any file-handle or export check. An attacker doesn’t need to know an export path or be listed in /etc/exports. They only need to complete the NFSv4.1 session setup. NFS authentication (AUTH_SYS, or Kerberos via RPCSEC_GSS) doesn’t protect this path in practice, because the session setup happens before it.
OpenSec says it chained the overflow into a kernel heap address leak, a KASLR bypass, an arbitrary free and finally a root shell. The researchers haven’t released the exploit. Because the bug is in kernel context, a successful exploit gives full host compromise, not just access to the NFS service.
Exploitation status: As of November 26 there were no confirmed reports of in-the-wild exploitation, and the CVE wasn’t in CISA KEV. With the patch public and a detailed root-cause write-up out, expect a public PoC soon.
Affected and fixed versions
The upstream fix is titled “nfsd: preflight SEQUENCE replies before accepting a slot” (mainline commit 35ff1a7a7e38). Reported fixed stable releases:
| Branch | Fixed in |
|---|---|
| 5.10 | 5.10.275 |
| 5.15 | 5.15.226 |
| 6.1 | 6.1.193 (some sources dispute this backport) |
| 6.6 | 6.6.163 |
| 6.12 | 6.12.117 |
| 6.18 | 6.18.61 |
| 7.3 | 7.3.2 |
| mainline | 7.4-rc1 |
Distro status varies, and the reports are only a few days old:
- Debian 12: the default 6.1 kernel (6.1.192-2) was reported still vulnerable. The
linux-6.12backport is fixed in6.12.117-1~deb12u1. - Ubuntu 22.04 / 24.04: the Ubuntu security tracker listed supported kernels as vulnerable, with fixes still pending.
- AlmaLinux 8, Rocky Linux 8, Oracle Linux 8: reported to already ship fixed kernels.
- NAS and appliance vendors that embed nfsd will need their own firmware updates. Expect these to lag.
Impact
This is the worst kind of kernel bug for storage infrastructure: remote, pre-auth, and in a service that is often reachable across flat internal networks. Kubernetes clusters that use NFS-backed PersistentVolumes or in-cluster NFS provisioners often run nfsd on worker or storage nodes. From any pod with network reach to those nodes, the bug is a path from workload to node root. Internet-exposed 2049 is less common, but scans regularly find thousands of hosts.
Mitigation
- Patch and reboot. Install a vendor kernel whose changelog names CVE-2026-99362, then reboot. Live-patch coverage varies by vendor, so confirm before relying on it.
- Restrict TCP 2049 now. Block it at the perimeter. Internally, allow it only from known NFS clients. In Kubernetes, use NetworkPolicy or host firewall rules so that only nodes, not arbitrary pods, can reach NFS servers.
- Stopgap if you can’t patch yet: disable NFSv4.1 and 4.2 on nfsd, for example by setting
vers4.1=nandvers4.2=nin/etc/nfs.confunder[nfsd]and restartingnfs-server. Clients would then fall back to NFSv4.0 or v3. This breaks pNFS and session features, so test first. - Check exposure:
ss -tlnp | grep 2049andcat /proc/fs/nfsd/versionsshow whether a host serves the affected versions. - Hunt: look for unexpected nfsd oopses or KASAN slab-out-of-bounds splats in
dmesgand the journal, and for unusual new NFSv4.1 sessions from unfamiliar clients.
References
- OpenSec write-up: https://opensec.in/blog/nfs2root-cve-2026-99362
- OSV record: https://osv.dev/vulnerability/CVE-2026-99362
- OpenCVE: https://app.opencve.io/cve/CVE-2026-99362
- watchTowr FAQ: https://watchtowr.com/intelligence/nfs2root-linux-nfs-cve-2026-99362-faq/
- Ostorlab analysis: https://blog.ostorlab.co/linux-kernel-nfsd-preauth-memory-corruption-cve-2026-99362.html
- Ubuntu CVE tracker: https://ubuntu.com/security/CVE-2026-99362
- Debian tracker: https://security-tracker.debian.org/tracker/CVE-2026-99362