Skip to content
Hacker Posts
VulnerabilityCVE-2026-99362

NFS2ROOT: unauthenticated Linux kernel nfsd flaw (CVE-2026-99362)

CVE-2026-99362 is a pre-auth out-of-bounds write in the Linux kernel NFS server. An exposed port 2049 is enough. Patched kernels shipped Nov 19; CVSS up to 9.8.

Hacker Posts DeskPublished 4 min read

CVE-2026-99362, nicknamed NFS2ROOT, is an unauthenticated out-of-bounds write in the Linux kernel's in-kernel NFS server (nfsd). Red Hat describes it as a flaw where "a remote client can trigger an out-of-bounds write by sending crafted compound requests with SEQUENCE operations" — the server does not verify that a response fits within negotiated buffer limits before caching it. No account and no mounted share are required: a reachable TCP port 2049 is the whole precondition.

Severity runs high. cve.org scores it CVSS 9.8; Red Hat assigns 9.4 (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:H). The NVD entry does not carry its own score at writing.

What's affected

  • The in-kernel NFS server (nfsd), reached when a host exports NFSv4.1 or NFSv4.2 shares.
  • The defect dates back to Linux 3.16 (2014), so every supported stable branch was affected until this month's fixes.

Red Hat notes that default RHEL configurations do not run nfsd — exposure is limited to hosts that actually export NFS. The same logic holds broadly: if you don't run an NFS server, you aren't exposed through this path.

The bug

The in-kernel server keeps a per-session copy of its last reply (the NFSv4 session reply cache) so an interrupted request isn't replayed twice. The client negotiates the size of that buffer and can request zero bytes; the server then writes the reply without checking it fits. Per the researcher writeup at OpenSec, the overflow runs to 80 bytes, 61 of them outside the intended region, with attacker control over 40 — and it also leaks adjacent kernel memory. All of it happens before client identity is checked.

Exploitation status

  • No in-the-wild exploitation is reported, and no independent team has publicly reproduced the full chain.
  • OpenSec claims a five-step chain to a root shell — including a ~3.8 KB kernel-memory leak to defeat KASLR — built with its automated tooling. It published a short video showing uid=0(root) but has not released exploit code. OpenSec's disclosure timeline is disputed in Next's reporting. Read the root-shell claim as credible-but-unverified until code or a second team confirms it.

The flaw was reported by Jérémy Jean, a researcher at France's ANSSI, who also proposed the fix later reworked by the maintainers (upstream commit).

Patched versions

Fixed kernels shipped on November 19 and were backported to the supported stable branches: 5.10.275, 5.15.226, 6.1.193, 6.6.163, 6.12.117, 6.18.61, and 7.3.2 (7.4 is fixed in RC1). Distribution status varies — confirm against your vendor's tracker:

  • Debian: Trixie and later fixed; Bookworm's default 6.1.192-2 kernel remains vulnerable, the optional linux-6.12 backport is fixed.
  • Red Hat: RHEL 8 fixed November 26; RHEL 7, 9, and 10 still being addressed at writing.
  • Ubuntu and SUSE: most supported releases listed affected, updates rolling out.

Action checklist

  1. If you don't need NFS, stop and disable the server (systemctl disable --now nfs-server). This removes the exposure entirely.
  2. If you must run it, update to a fixed kernel from the list above, matched to your distribution, and reboot.
  3. Restrict TCP 2049 to trusted hosts and subnets with a host or network firewall until patched. The bug is pre-auth, so network reachability is the attack surface.
  4. Prioritize NAS appliances and Kubernetes nodes that export NFS — these are the exposed, often-forgotten nfsd instances.

Context

A pre-auth memory-corruption bug in a core kernel subsystem, latent since 2014, is the kind of finding that justifies the slow grind of kernel audit work — and here the finder was a national CERT's own researcher, not a bug-bounty sweep. We've tracked the steady cadence of kernel-level disclosures before, including a batch of six nfsd/kernel issues surfaced from public lists. The practical lesson repeats: the blast radius of an nfsd flaw is every storage node and orchestration host that quietly exports a share, so the patch question is really an inventory question.