On 19 November 2026 the kernel’s CVE team published CVE-2026-99362, known as NFS2ROOT: a heap overflow in the in-kernel NFS server, rated CVSS 9.8. A client that can reach TCP port 2049 triggers it during NFSv4.1 session setup, before it has mounted anything or logged in.
The 9.8 is not inflated. OpenSec, who reported the bug, has published a video of an unauthenticated client getting a root shell on a Linux NFS server over port 2049 alone. Their exploit code is private, and there are no reports of attacks in the wild. Even so, treat this as a remote root bug and patch.
NFS2ROOT in short
| CVE-2026-99362 | |
|---|---|
| Component | NFSv4.1 SEQUENCE handling in fs/nfsd |
| Bug class | Heap out-of-bounds write into a session slot’s reply cache |
| Kconfig gate | CONFIG_NFSD and CONFIG_NFSD_V4 |
| Runtime gate | A running NFS server with NFSv4.1 or 4.2 enabled (the default) |
| Attacker | Any host that can reach TCP port 2049; no mount, no credentials |
| Introduced | Linux 3.16 (2014) |
| Fixed in | 5.10.275, 5.15.226, 6.1.193, 6.6.163, 6.12.117, 6.18.61, 7.3.2, 7.4-rc1 |
| Scores | CVSS 9.8 from the kernel CNA and SUSE (NVD has not analysed it yet) |
| Exploit | Remote root demonstrated on video by OpenSec; exploit code private; not in CISA KEV; no reported exploitation (26 November) |
| Found by | OpenSec (reported with a working exploit on 22 September) and, independently, Jérémy Jean of ANSSI, who wrote the upstream fix |
Every long-term branch has a release with the fix. Distribution kernels lag: Debian’s tracker shows trixie fixed (6.12.117-1) and bookworm’s default 6.1 kernel still vulnerable on 26 November.
What the bug is
An NFSv4.1 client opens a session, and each session slot keeps a copy of its last reply so a retried request can be answered again. The client decides how big that cache is, and it may choose zero bytes. A crafted request then makes the server believe a reply succeeded and copy the whole reply into that empty cache. According to OpenSec, that writes 61 bytes past the end of a kernel heap object, 40 of them chosen by the client.
Three details make it serious:
- No account, no mount. It happens during session setup, before any export is touched.
- Export options don’t help. Read-only,
root_squashand Kerberos (sec=krb5) all apply later than the bug. - Old and on by default. The code has been in the kernel since 2014, and NFSv4.1 and 4.2 are enabled by default.
From overflow to root
A heap overflow on its own often ends in a crash. What turns NFS2ROOT into a remote root is that the same bug also leaks: per OpenSec, the corrupted slot can be made to hand back several kilobytes of kernel memory, which reveals where the kernel is loaded. With that, the overflow can be aimed. OpenSec’s chain ends with the kernel running a shell as root when the attacker disconnects. Their video shows root and uid=0(root) printed on the victim’s console, from a client that only talks to port 2049.
OpenSec says its automated research harness built the exploit, and that the exploit stays private. That buys time, not safety: the fix is public, the mechanism is described, and a researcher working from the patch knows where to look.
Am I exposed?
You are exposed if all four are true:
| Condition | How to check |
|---|---|
| Kernel older than the fixed release of its branch, with no distribution backport | uname -r, your distribution’s tracker |
| The in-kernel NFS server is running | lsmod | grep -w nfsd |
| NFSv4.1 or 4.2 is enabled | cat /proc/fs/nfsd/versions shows +4.1 or +4.2 |
| Port 2049 is reachable by hosts you don’t trust | ss -ltn 'sport = :2049' plus your firewall rules |
A storage network that only trusted clients can reach narrows who can attack, but anyone on it, or anything compromised on it, can still reach the bug. Kernel hardening does not remove the overflow.
What to do
- Patch and reboot. 5.10.275, 5.15.226, 6.1.193, 6.6.163, 6.12.117, 6.18.61, 7.3.2 or later in the same branch, or the distribution update that lists CVE-2026-99362.
- If you can’t patch today, close port 2049 to everything except the clients that need it.
- Or turn off NFSv4.1 and 4.2 (
vers4.1=nandvers4.2=nin the[nfsd]section of/etc/nfs.conf, then restart the NFS server). This also turns off pNFS and some 4.2 features. - If the device doesn’t need to serve NFS, build the server out (
CONFIG_NFSD=n). - Look for attempts. OpenSec reports a kernel warning from
nfsd4_check_resp_sizeon every attempt, successful or not. Oopses withnfsd4_*frames and shells started by kernel workers on a file server are also worth a look.
30-second checklist
| Check | Result |
|---|---|
CONFIG_NFSD or CONFIG_NFSD_V4 not set | Not affected, code_not_present |
| nfsd built but never started on the product | Not affected, requires_configuration, if nothing can start it |
| nfsd running, port 2049 reachable only from a trusted storage network | Affected: patch promptly, the attacker pool is everything on that network |
| nfsd running, port 2049 reachable from untrusted networks | Affected: patch now; until then close 2049 or disable NFSv4.1 and 4.2 |
Doing this for your own kernel
Upload your kernel .config to KernelScan and you see whether NFS2ROOT, and every other kernel CVE, is actually built into your kernel: a product without CONFIG_NFSD gets it marked not affected automatically. With Security Factors you describe how the product is deployed, for example whether untrusted networks can reach it, and each remaining CVE is checked against its attack paths. The result is a CycloneDX VEX document you can import into Dependency-Track.
References: OpenSec: NFS2ROOT (CVE-2026-99362) (advisory and video), watchTowr FAQ, Debian security tracker, SUSE, mainline fix. Exploit details are OpenSec’s; we have not reproduced the exploit. Status as of 26 November 2026; NVD had not scored the CVE yet.